snipt

Ctrl+h for KB shortcuts

Bash

Clear OS X Log to speed up Terminal loading.

sudo rm -rf /private/var/log/asl/*.asl
https://snipt.net/embed/ff9fe35b9cc1d6c543689f1ac02ca20c/
https://snipt.net/raw/ff9fe35b9cc1d6c543689f1ac02ca20c/
ff9fe35b9cc1d6c543689f1ac02ca20c
bash
Bash
1
2016-09-30T13:52:49
True
False
False
/api/public/snipt/29203/
clear-os-x-log-to-speed-up-terminal-loading
<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 id="L-1"><a name="L-1"></a>sudo rm -rf /private/var/log/asl/*.asl </span></pre></div> </td></tr></table>
"os x", bash, cmd, faster, log, mac, osx, speed, terminal

Text only

linux view hdd speed

hdparm -t /dev/sda
https://snipt.net/embed/356c93bf6a5dbdc3e22b35ca9cf38f0e/
https://snipt.net/raw/356c93bf6a5dbdc3e22b35ca9cf38f0e/
356c93bf6a5dbdc3e22b35ca9cf38f0e
text
Text only
1
2016-09-22T13:30:47
True
False
False
/api/public/snipt/10989/
linux-view-hdd-speed
<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 id="L-1"><a name="L-1"></a>hdparm -t /dev/sda </span></pre></div> </td></tr></table>
hdd, linux, speed

Bash

Optimize Mozilla Firefox *.sqlite files

for f in ~/.mozilla/firefox/*/*.sqlite; do sqlite3 $f ‘VACUUM;; done
https://snipt.net/embed/086ae512d5e11e34a428df615c9a7963/
https://snipt.net/raw/086ae512d5e11e34a428df615c9a7963/
086ae512d5e11e34a428df615c9a7963
bash
Bash
1
2016-09-30T15:00:30
True
False
False
/api/public/snipt/5087/
optimize-mozilla-firefox-sqlite-files
<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 id="L-1"><a name="L-1"></a><span class="k">for</span> f in ~/.mozilla/firefox/*/*.sqlite<span class="p">;</span> <span class="k">do</span> sqlite3 <span class="nv">$f</span> ‘VACUUM<span class="p">;</span>’<span class="p">;</span> <span class="k">done</span> </span></pre></div> </td></tr></table>
bash, firefox, mozilla, speed, sqlite, tweaks

Bash

network interface settings and speed

sudo ethtool eth0
https://snipt.net/embed/44c760eeaf28008f0d63495d423d8044/
https://snipt.net/raw/44c760eeaf28008f0d63495d423d8044/
44c760eeaf28008f0d63495d423d8044
bash
Bash
1
2016-09-30T08:27:27
True
False
False
/api/public/snipt/1255/
network-interface-settings-and-spped
<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 id="L-1"><a name="L-1"></a>sudo ethtool eth0 </span></pre></div> </td></tr></table>
linux, network, speed
Copyrighted, illegal, or inappropriate content? Email support@snipt.net.