snipt

Ctrl+h for KB shortcuts

Bash

Remove old compress files from git & project

1
2
3
ls -t1 compressed/css.min.*.css | tail -n+6 | xargs -r git rm #last 5

git commit -v -m "removed old compressed js/css"
https://snipt.net/embed/75fef8ec4b9fc8f0230c0aa5a41cc2ab/
/raw/75fef8ec4b9fc8f0230c0aa5a41cc2ab/
75fef8ec4b9fc8f0230c0aa5a41cc2ab
bash
Bash
5
2019-08-22T22:58:12
True
False
False
Sep 16, 2013 at 05:13 AM
/api/public/snipt/81176/
remove-old-compress-files-from-git-project
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a> <a href="#L-3">3</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>ls -t1 compressed/css.min.*.css <span class="p">|</span> tail -n+6 <span class="p">|</span> xargs -r git rm <span class="c1">#last 5</span> </span><span id="L-2"><a name="L-2"></a> </span><span id="L-3"><a name="L-3"></a>git commit -v -m <span class="s2">&quot;removed old compressed js/css&quot;</span> </span></pre></div> </td></tr></table>
deploy

CSS

CSS animation webkit/chrome flicker at scale

1
2
3
	/** see bug flickering http://stackoverflow.com/questions/2946748/iphone-webkit-css-animations-cause-flicker */
	-webkit-perspective: 1000;
	-webkit-backface-visibility: hidden;
https://snipt.net/embed/be7850aad3acafd5aadc04be5e9cb2c9/
/raw/be7850aad3acafd5aadc04be5e9cb2c9/
be7850aad3acafd5aadc04be5e9cb2c9
css
CSS
4
2019-08-22T22:58:35
True
False
False
Jul 17, 2013 at 10:03 AM
/api/public/snipt/68210/
css-animation-webkitchrome-flicker-at-scale
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a> <a href="#L-3">3</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a> <span class="c">/** see bug flickering http://stackoverflow.com/questions/2946748/iphone-webkit-css-animations-cause-flicker */</span> </span><span id="L-2"><a name="L-2"></a> <span class="nt">-webkit-perspective</span><span class="o">:</span> <span class="nt">1000</span><span class="o">;</span> </span><span id="L-3"><a name="L-3"></a> <span class="nt">-webkit-backface-visibility</span><span class="o">:</span> <span class="nt">hidden</span><span class="o">;</span> </span></pre></div> </td></tr></table>
flicker

Text only

Database of usefull algorithms interesting

http://www.keithschwarz.com/interesting/
https://snipt.net/embed/bb49339c161c1374b36fd4f60818618f/
/raw/bb49339c161c1374b36fd4f60818618f/
bb49339c161c1374b36fd4f60818618f
text
Text only
1
2019-08-22T22:58:58
True
False
False
Jul 15, 2013 at 01:28 PM
/api/public/snipt/67830/
database-of-usefull-algorithms-interesting
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>http://www.keithschwarz.com/interesting/ </span></pre></div> </td></tr></table>