snipt

Ctrl+h for KB shortcuts

Text only

Check 32 or 64 bit processor in Vista

1. Control Panel -> System.
2. Under System, view processor type and speed.
https://snipt.net/embed/ffc6144f33e0f284a688f14c29bac331/
/raw/ffc6144f33e0f284a688f14c29bac331/
ffc6144f33e0f284a688f14c29bac331
text
Text only
2
2019-07-22T07:16:18
True
False
False
/api/public/snipt/6331/
check-32-or-64-bit-processor-in-vista
<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>1. Control Panel -&gt; System. </span><span id="L-2"><a name="L-2"></a>2. Under System, view processor type and speed. </span></pre></div> </td></tr></table>
32or64, vista

Text only

vista winsock fix

netsh winsock reset catalog
https://snipt.net/embed/34efcc68887f6d1e522a33470b1c594c/
/raw/34efcc68887f6d1e522a33470b1c594c/
34efcc68887f6d1e522a33470b1c594c
text
Text only
1
2019-07-15T19:13:31
True
False
False
/api/public/snipt/4161/
vista-winsock-fix
<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>netsh winsock reset catalog </span></pre></div> </td></tr></table>
fix, network, vista, winsock

Text only

Diff Mac OS X Directories

1
2
3
4
5
6
7
Mac OS X diff directories:
diff -rq dirA dirB

Or, sorted and tidyer:

diff -qr dirA dirB | grep -v -e 'DS_Store' -e 'Thumbs' | 
sort > diffs.txt
https://snipt.net/embed/03f86222b33a87e4ad085fc60fb3bbe3/
/raw/03f86222b33a87e4ad085fc60fb3bbe3/
03f86222b33a87e4ad085fc60fb3bbe3
text
Text only
7
2019-07-22T11:02:53
True
False
False
/api/public/snipt/3097/
diff-mac-os-x-directories
<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> <a href="#L-7">7</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>Mac OS X diff directories: </span><span id="L-2"><a name="L-2"></a>diff -rq dirA dirB </span><span id="L-3"><a name="L-3"></a> </span><span id="L-4"><a name="L-4"></a>Or, sorted and tidyer: </span><span id="L-5"><a name="L-5"></a> </span><span id="L-6"><a name="L-6"></a>diff -qr dirA dirB | grep -v -e &#39;DS_Store&#39; -e &#39;Thumbs&#39; | </span><span id="L-7"><a name="L-7"></a>sort &gt; diffs.txt </span></pre></div> </td></tr></table>
diff, dir, macosx

Text only

Renew DHCP when button missing from Sys Pref

1
2
3
4
Mac OS X renew DHCP when renew dhcp button missing from system preferences panel:

sudo ipconfig set en0 BOOTP
sudo ipconfig set en0 DHCP.
https://snipt.net/embed/1bf0cf39a8d88028002964827e808063/
/raw/1bf0cf39a8d88028002964827e808063/
1bf0cf39a8d88028002964827e808063
text
Text only
4
2019-07-18T20:13:20
True
False
False
/api/public/snipt/2888/
renew-dhcp-when-button-missing-from-sys-pref
<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></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>Mac OS X renew DHCP when renew dhcp button missing from system preferences panel: </span><span id="L-2"><a name="L-2"></a> </span><span id="L-3"><a name="L-3"></a>sudo ipconfig set en0 BOOTP </span><span id="L-4"><a name="L-4"></a>sudo ipconfig set en0 DHCP. </span></pre></div> </td></tr></table>
commandline, dhcp, macosx

Text only

Run Synergy via SSH

1
2
3
4
5
6
run on server:
synergys -a 127.0.0.1 -c /path/to/synergy.conf

run on client:
ssh -N -f -L 24800:localhost:24800 [email protected]
synergyc localhost
https://snipt.net/embed/964b2705cf65282d5ba1c66d8f6ba628/
/raw/964b2705cf65282d5ba1c66d8f6ba628/
964b2705cf65282d5ba1c66d8f6ba628
text
Text only
6
2019-07-21T18:03:49
True
False
False
/api/public/snipt/2633/
run-synergy-via-ssh
<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>run on server: </span><span id="L-2"><a name="L-2"></a>synergys -a 127.0.0.1 -c /path/to/synergy.conf </span><span id="L-3"><a name="L-3"></a> </span><span id="L-4"><a name="L-4"></a>run on client: </span><span id="L-5"><a name="L-5"></a>ssh -N -f -L 24800:localhost:24800 [email protected] </span><span id="L-6"><a name="L-6"></a>synergyc localhost </span></pre></div> </td></tr></table>
client, server, ssh, synergy

Text only

SVN commit with file as log message

$ svn commit -F msg foo.c
https://snipt.net/embed/08fe2182471aa1780bb83e98a9dffef7/
/raw/08fe2182471aa1780bb83e98a9dffef7/
08fe2182471aa1780bb83e98a9dffef7
text
Text only
1
2019-07-21T21:08:03
True
False
False
/api/public/snipt/1861/
svn-commit-with-file-as-log-message
<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>$ svn commit -F msg foo.c </span></pre></div> </td></tr></table>
commit, log, svn