snipt

Ctrl+h for KB shortcuts

Bash

Turn off Leopard's 3d dock

defaults write com.apple.dock no-glass -boolean YES
killall Dock
https://snipt.net/embed/1bc04b0279b54987a149abd44c72f42d/
/raw/1bc04b0279b54987a149abd44c72f42d/
1bc04b0279b54987a149abd44c72f42d
bash
Bash
2
2019-08-21T03:18:04
True
False
False
/api/public/snipt/1534/
turn-off-leopards-3d-dock
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>defaults write com.apple.dock no-glass -boolean YES </span><span id="L-2"><a name="L-2"></a>killall Dock </span></pre></div> </td></tr></table>
"os x", bash, configuration, mac

Bash

Compile and install Ruby 1.9.1 on Mac OS X Leopard (create binaries with suffix, e.g. ruby19, irb19; coexists peacefully with other ruby installations)

1
2
3
4
5
6
curl ftp://ftp.ruby-lang.org/pub/ruby/ruby-1.9.1-rc1.tar.bz2 -o ruby-1.9.1-rc1.tar.bz2
tar xjf ruby-1.9.1-rc1.tar.bz2
cd ruby-1.9.1-rc1/
autoconf
./configure --program-suffix=19
make && sudo make install
https://snipt.net/embed/6a9aa8f136dce57be67e32793887803b/
/raw/6a9aa8f136dce57be67e32793887803b/
6a9aa8f136dce57be67e32793887803b
bash
Bash
7
2019-08-20T10:02:13
True
False
False
/api/public/snipt/1421/
compile-and-install-ruby-191-on-mac-os-x-leopard
<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> <a href="#L-4">4</a> <a href="#L-5">5</a> <a href="#L-6">6</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>curl ftp://ftp.ruby-lang.org/pub/ruby/ruby-1.9.1-rc1.tar.bz2 -o ruby-1.9.1-rc1.tar.bz2 </span><span id="L-2"><a name="L-2"></a>tar xjf ruby-1.9.1-rc1.tar.bz2 </span><span id="L-3"><a name="L-3"></a><span class="nb">cd</span> ruby-1.9.1-rc1/ </span><span id="L-4"><a name="L-4"></a>autoconf </span><span id="L-5"><a name="L-5"></a>./configure --program-suffix<span class="o">=</span>19 </span><span id="L-6"><a name="L-6"></a>make <span class="o">&amp;&amp;</span> sudo make install </span></pre></div> </td></tr></table>
bash, ruby

Bash

Text filter for Twitterrific

defaults write com.iconfactory.Twitterrific tweetTextFilter -string 'blip\.fm'
https://snipt.net/embed/7b6aeb0adf17d5f9402362465c5e3db5/
/raw/7b6aeb0adf17d5f9402362465c5e3db5/
7b6aeb0adf17d5f9402362465c5e3db5
bash
Bash
1
2019-08-15T03:15:20
True
False
False
/api/public/snipt/1265/
text-filter-for-twitterrific
<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>defaults write com.iconfactory.Twitterrific tweetTextFilter -string <span class="s1">&#39;blip\.fm&#39;</span> </span></pre></div> </td></tr></table>
"os x", bash, configuration, filter, mac, twitter, twitterrific