<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Codedrop™ Weblog &#187; OS</title>
	<atom:link href="http://www.codedrop.ca/blog/archives/category/os/feed" rel="self" type="application/rss+xml" />
	<link>http://www.codedrop.ca/blog</link>
	<description>Drop'n some code and other tech tidbits...</description>
	<lastBuildDate>Sun, 01 Jan 2012 07:48:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>Enable ssh on your D-LINK DNS-323</title>
		<link>http://www.codedrop.ca/blog/archives/236</link>
		<comments>http://www.codedrop.ca/blog/archives/236#comments</comments>
		<pubDate>Tue, 30 Nov 2010 05:22:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[DNS-323]]></category>

		<guid isPermaLink="false">http://www.codedrop.ca/blog/archives/236</guid>
		<description><![CDATA[Found this great article on how to enable ssh a DNS-323. The D-LINK DNS-323 runs Linux, which makes it hackable&#8230; this means good things&#8230; First Step – Installing fun_plug Installing fun_plug is simple. Download the fun_plug tar.gz file here and copy it to “volume_1” root (IE: dns-323/Volume_1/). Also download the “fun_plug” file (non tar-gz) and copy it to [...]]]></description>
			<content:encoded><![CDATA[<p>Found this great article on how to enable ssh a DNS-323. The D-LINK DNS-323 runs Linux, which makes it hackable&#8230; this means good things&#8230;</p>
<h3 style="border: 1px solid #dedbd1; margin: 0px 0px 15px; padding: 10px 18px 5px; color: #363636; font-size: 14px; font-weight: bold; background-color: #f5f4f0; text-align: left; height: 20px;">First Step – Installing fun_plug</h3>
<p style="border-width: 0px; margin: 0px; padding: 0px 0px 10px; line-height: 20px ! important; text-align: left; font-size: 12px;">Installing fun_plug is simple. Download the fun_plug <strong style="border-width: 0px; margin: 0px; padding: 0px;">tar.gz</strong> file <strong style="border-width: 0px; margin: 0px; padding: 0px;"><a style="border-width: 0px; margin: 0px; padding: 0px; color: #0095d3; text-decoration: none;" href="http://www.inreto.de/dns323/fun-plug/" target="_blank">here</a></strong> and copy it to “<em style="border-width: 0px; margin: 0px; padding: 0px;">volume_1</em>” root (IE: dns-323/Volume_1/). Also download the “<em style="border-width: 0px; margin: 0px; padding: 0px;">fun_plug</em>” file (non tar-gz) and copy it to the same location.</p>
<p style="border-width: 0px; margin: 0px; padding: 0px 0px 10px; line-height: 20px ! important; text-align: left; font-size: 12px;"><strong style="border-width: 0px; margin: 0px; padding: 0px;">Reboot</strong> (From admin click on “tools” and then “system”) the DNS-323 and  on reboot  this file should expand and create a new directory: ffp. It also <strong style="border-width: 0px; margin: 0px; padding: 0px;">starts</strong> a telnet server (there is that out of the way).  In addition, the tarball contains these other packages:</p>
<ul style="border-width: 0px; margin: 0px 0px 15px; padding: 0px; font-size: 12px; line-height: 20px;">
<li style="border-width: 0px; margin: 0px 0px 0px 15px; padding: 3px 0px; list-style-type: circle ! important; list-style-position: inside ! important;">Lighttpd Web Server</li>
<li style="border-width: 0px; margin: 0px 0px 0px 15px; padding: 3px 0px; list-style-type: circle ! important; list-style-position: inside ! important;">OpenSSH Secure Shell</li>
<li style="border-width: 0px; margin: 0px 0px 0px 15px; padding: 3px 0px; list-style-type: circle ! important; list-style-position: inside ! important;">Mediatomb UPnP Media Server</li>
<li style="border-width: 0px; margin: 0px 0px 0px 15px; padding: 3px 0px; list-style-type: circle ! important; list-style-position: inside ! important;">NTP Network Time Daemon</li>
<li style="border-width: 0px; margin: 0px 0px 0px 15px; padding: 3px 0px; list-style-type: circle ! important; list-style-position: inside ! important;">UNFS3 User-Space NFS Server</li>
<li style="border-width: 0px; margin: 0px 0px 0px 15px; padding: 3px 0px; list-style-type: circle ! important; list-style-position: inside ! important;">NFS-Utils NFS Server (requires kernel support)</li>
<li style="border-width: 0px; margin: 0px 0px 0px 15px; padding: 3px 0px; list-style-type: circle ! important; list-style-position: inside ! important;">RSync File Transfer Utility</li>
</ul>
<h3 style="border: 1px solid #dedbd1; margin: 0px 0px 15px; padding: 10px 18px 5px; color: #363636; font-size: 14px; font-weight: bold; background-color: #f5f4f0; text-align: left; height: 20px;"><strong style="border-width: 0px; margin: 0px; padding: 0px;">Second Step – Enable SSH</strong></h3>
<p style="border-width: 0px; margin: 0px; padding: 0px 0px 10px; line-height: 20px ! important; text-align: left; font-size: 12px;">If all goes well you should be able to telnet into your d-link:</p>
<p style="border-width: 0px; margin: 5px 0px; padding: 5px 0px; line-height: 20px; text-align: left; font-size: 12px;">Last login: Sat Feb 28 19:32:18 on console<br style="border-width: 0px; margin: 0px; padding: 0px;" /> localhost:~ jordan$ telnet 192.168.0.198<br style="border-width: 0px; margin: 0px; padding: 0px;" /> Trying 192.168.0.198…<br style="border-width: 0px; margin: 0px; padding: 0px;" /> Connected to 192.168.0.198.<br style="border-width: 0px; margin: 0px; padding: 0px;" /> Escape character is ‘^]’.<br style="border-width: 0px; margin: 0px; padding: 0px;" /> / #</p>
<p style="border-width: 0px; margin: 0px; padding: 0px 0px 10px; line-height: 20px ! important; text-align: left; font-size: 12px;">Notice it asks for no username or password? No good. This is a big security  hole and we need to disable this and enable SSH. Since it is part of the tarball package fun_plug we only need to enable it.</p>
<p style="border-width: 0px; margin: 0px; padding: 0px 0px 10px; line-height: 20px ! important; text-align: left; font-size: 12px;">At the telnet prompt type:</p>
<ol style="border-width: 0px; margin: 0px 0px 15px; padding: 0px; font-size: 12px; line-height: 20px;">
<li style="border-width: 0px; margin: 0px; padding: 3px 0px; list-style-type: decimal ! important; list-style-position: inside ! important; font-size: 12px;"><strong style="border-width: 0px; margin: 0px; padding: 0px;">pwconv </strong><strong style="border-width: 0px; margin: 0px; padding: 0px;"><br style="border-width: 0px; margin: 0px; padding: 0px;" /> </strong></li>
<li style="border-width: 0px; margin: 0px; padding: 3px 0px; list-style-type: decimal ! important; list-style-position: inside ! important; font-size: 12px;"><strong style="border-width: 0px; margin: 0px; padding: 0px;">passwd </strong>- (this changes root password, enter twice)</li>
<li style="border-width: 0px; margin: 0px; padding: 3px 0px; list-style-type: decimal ! important; list-style-position: inside ! important; font-size: 12px;"><strong style="border-width: 0px; margin: 0px; padding: 0px;">usermod -s /ffp/bin/sh root</strong> – (this will change the default shell of the user. Current shell for root is ASH)</li>
<li style="border-width: 0px; margin: 0px; padding: 3px 0px; list-style-type: decimal ! important; list-style-position: inside ! important; font-size: 12px;"><strong style="border-width: 0px; margin: 0px; padding: 0px;">login </strong>- (test to make sure you can login)</li>
<li style="border-width: 0px; margin: 0px; padding: 3px 0px; list-style-type: decimal ! important; list-style-position: inside ! important; font-size: 12px;"><strong style="border-width: 0px; margin: 0px; padding: 0px;">store-passwd.sh</strong></li>
<li style="border-width: 0px; margin: 0px; padding: 3px 0px; list-style-type: decimal ! important; list-style-position: inside ! important; font-size: 12px;"><strong style="border-width: 0px; margin: 0px; padding: 0px;">chmod 766 /ffp/start/sshd.sh</strong> – (this allows everyone to read/execute the SSH startup script. It will also allow it to startup on boot).</li>
<li style="border-width: 0px; margin: 0px; padding: 3px 0px; list-style-type: decimal ! important; list-style-position: inside ! important; font-size: 12px;"><strong style="border-width: 0px; margin: 0px; padding: 0px;"> sh /ffp/start/sshd.sh start</strong> – (start the SSH service)</li>
</ol>
<p style="border-width: 0px; margin: 0px; padding: 0px 0px 10px; line-height: 20px ! important; text-align: left; font-size: 12px;">You should be able to SSH in. Try it now:</p>
<p style="border-width: 0px; margin: 5px 0px; padding: 5px 0px; line-height: 20px; text-align: left; font-size: 12px;">localhost:~ jordan$ ssh root@192.168.0.198<br style="border-width: 0px; margin: 0px; padding: 0px;" /> root@192.168.0.198’s password:<br style="border-width: 0px; margin: 0px; padding: 0px;" /> root@dlink-583ECB:~#</p>
<p style="border-width: 0px; margin: 0px; padding: 0px 0px 10px; line-height: 20px ! important; text-align: left; font-size: 12px;">If you can, disable telnet by executing:</p>
<ol style="border-width: 0px; margin: 0px 0px 15px; padding: 0px; font-size: 12px; line-height: 20px;">
<li style="border-width: 0px; margin: 0px; padding: 3px 0px; list-style-type: decimal ! important; list-style-position: inside ! important; font-size: 12px;"><strong style="border-width: 0px; margin: 0px; padding: 0px;">/ffp/start/telnetd.sh stop<br style="border-width: 0px; margin: 0px; padding: 0px;" /> </strong></li>
<li style="border-width: 0px; margin: 0px; padding: 3px 0px; list-style-type: decimal ! important; list-style-position: inside ! important; font-size: 12px;"><strong style="border-width: 0px; margin: 0px; padding: 0px;">chmod 644 /ffp/start/telnetd.sh</strong></li>
</ol>
<p><strong>Installing Transmission</strong></p>
<ol><em></em></p>
<li>ssh as root</li>
<li>Type the command “cd /mnt/HD_a2” and hit &lt;Enter&gt;<br />
<em>The prompt should change to “/mnt/HD_a2 #”</em></li>
<li>Type the command “wget http://kylek.is-a-geek.org:31337/files/curl-7.18.1.tgz” and hit &lt;Enter&gt;</li>
<li>Type the command “wget http://kylek.is-a-geek.org:31337/files/Transmission-2.04-1.tgz” and hit &lt;Enter&gt;</li>
<li>Type the command “funpkg -i curl-7.18.1.tgz” and hit &lt;Enter&gt;</li>
<li>Type the command “funpkg -i Transmission-2.04-1.tgz” and hit &lt;Enter&gt;</li>
<li>Type the command “chmod a+x /ffp/start/transmission.sh;sh /ffp/start/transmission.sh start”<br />
<em>There would be a message like starting transmission</em></li>
<li>Type the command “sh /ffp/start/transmission.sh stop” and hit &lt;Enter&gt;<br />
<em>There would be a message like stopping transmission</em></li>
<li>Do not close the command prompt.</li>
</ol>
<p><strong>Updating the whitelist</strong></p>
<p>In this section we would be adding your local lan IP range (A.B.C.*)  to the whitelist. Assuming your NAS’s IP is 192.168.1.101, A.B.C.* would  simply mean 192.168.1.* where the last group of number becomes asterix  (*).</p>
<ol>
<li>Go back to the command prompt</li>
<li>Type the command “vi /mnt/HD_a2/.transmission-daemon/settings.json” and hit &lt;Enter&gt;</li>
<li>Edit the line with “rpc-whitelist”</li>
<li>Type the following “,A.B.C.*”<br />
<em>The entire line would read something like<br />
“rpc-whitelist”: “127.0.0.1,192.168.1.*”,<br />
</em></li>
</ol>
<p><strong>Starting Transmission</strong></p>
<ol>
<li>Type the command “sh /ffp/start/transmission.sh start”<br />
<em>There would be a message like starting transmission</em></li>
</ol>
<p>Give it sometime for transmission to startup before proceeding to the next section.</p>
<p><strong>Setting the download directory</strong></p>
<ol>
<li>Type the command “su nobody -c “mkdir -p /mnt/HD_a2/transmission-downloads”“</li>
<li>Type the command “transmission-remote 127.0.0.1 -w /mnt/HD_a2/transmission-downloads”<br />
<em>There would be a message like success</em></li>
</ol>
<p>It’s done! Direct your Internet browser to <strong>http://A.B.C.D:9091</strong> for the transmission web user interface.</p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" src="http://img.zemanta.com/pixy.gif?x-id=55f62387-b7d3-8cb1-9b96-79454f732b1e" alt="" /></div>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/home/?status=Enable+ssh+on+your+D-LINK+DNS-323+http%3A%2F%2Ftinyurl.com%2F5r5zung" title="Post to Twitter"><img class="nothumb" src="http://www.codedrop.ca/blog/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://twitter.com/home/?status=Enable+ssh+on+your+D-LINK+DNS-323+http%3A%2F%2Ftinyurl.com%2F5r5zung" title="Post to Twitter">Tweet This Post</a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.codedrop.ca/blog/archives/236/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Crontab Reference</title>
		<link>http://www.codedrop.ca/blog/archives/233</link>
		<comments>http://www.codedrop.ca/blog/archives/233#comments</comments>
		<pubDate>Wed, 29 Sep 2010 15:58:54 +0000</pubDate>
		<dc:creator>groll</dc:creator>
				<category><![CDATA[Build Automation]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.codedrop.ca/blog/archives/233</guid>
		<description><![CDATA[I continually forget the format for a crontab entry&#8230; here&#8217;s a quick reference for those of you who do too! Tweet This Post]]></description>
			<content:encoded><![CDATA[<p>I continually forget the format for a crontab entry&#8230; here&#8217;s a quick reference for those of you who do too!</p>
<p><img style="max-width: 800px;" src="http://blog.linuxvin.com/wp-content/uploads/2010/07/crontab-syntax-300x121.gif" /></p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" alt="" src="http://img.zemanta.com/pixy.gif?x-id=29a30767-9dc6-8500-a169-40c2834a6a03" /></div>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/home/?status=Crontab+Reference+http%3A%2F%2Ftinyurl.com%2F3zrywxb" title="Post to Twitter"><img class="nothumb" src="http://www.codedrop.ca/blog/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://twitter.com/home/?status=Crontab+Reference+http%3A%2F%2Ftinyurl.com%2F3zrywxb" title="Post to Twitter">Tweet This Post</a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.codedrop.ca/blog/archives/233/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Use your DNS-323 for Time Machine backups.</title>
		<link>http://www.codedrop.ca/blog/archives/212</link>
		<comments>http://www.codedrop.ca/blog/archives/212#comments</comments>
		<pubDate>Wed, 13 Jan 2010 06:14:22 +0000</pubDate>
		<dc:creator>groll</dc:creator>
				<category><![CDATA[Mac OSX]]></category>
		<category><![CDATA[DNS-323]]></category>
		<category><![CDATA[Time Machine]]></category>

		<guid isPermaLink="false">http://www.codedrop.ca/blog/?p=212</guid>
		<description><![CDATA[If you don&#8217;t want to have to fork over the $$ to buy a time capsule want to make use of your existing DNS-323 hardware for backing up your Mac, here&#8217;s the steps to take. 1) Modify system preferences by executing this line in a terminal. defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1 This will allow you [...]]]></description>
			<content:encoded><![CDATA[<p>If you don&#8217;t want to have to fork over the $$ to buy a time capsule want to make use of your existing DNS-323 hardware for backing up your Mac, here&#8217;s the steps to take.</p>
<p>1) Modify system preferences by executing this line in a terminal.<br />
<code><br />
defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1<br />
</code></p>
<p>This will allow you to select the DNS as a backup device when you configure Time Machine.</p>
<p>2) You need to manually create a disk image that Time Machine can understand.  The naming convention of this image is key.  The name consists of the computers name and mac address of the local eno device without colons.  (<computer’s name>_<string>.sparsebundle).  Easiest way to find out the proper name is to attempt a backup after completing step 1 above.  While this is attempting to run, use finder to browse the Volume (Volume_1 in my case) and write down the name of the file its trying to create.  The filename will contain .tmp before the .sparebundle.  Drop this from the filename and you have the complete name you need to use.</p>
<p>ie:  gataca_0021413a0cce.tmp.sparsebundle -> gataca_0021413a0cce.sparsebundle</p>
<p>Open disk utility and create a new disk image on your local drive (you cannot create the image directly on the NFS drive) with the following options:</p>
<p>Format: Spare Bundle Disk Image<br />
Partiions: No Partition Map<br />
Encryption: None<br />
Format: Mac OSX Extended Partition (Journaled)<br />
Size &#8211; Maximum Size.. I choose Custom 250GB</p>
<p>After the image is created&#8230; manually copy it over to the root of your NFS volume.</p>
<p>3) Kick off the time machine backup and voila!</p>
<p>Now.. be prepared for the caveats of this solution mentioned <a href="http://www.flokru.org/2008/03/15/time-machine-backups-on-network-shares-2-possible-problems/">here</a>.</p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/home/?status=Use+your+DNS-323+for+Time+Machine+backups.+http%3A%2F%2Ftinyurl.com%2F63mn4r7" title="Post to Twitter"><img class="nothumb" src="http://www.codedrop.ca/blog/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://twitter.com/home/?status=Use+your+DNS-323+for+Time+Machine+backups.+http%3A%2F%2Ftinyurl.com%2F63mn4r7" title="Post to Twitter">Tweet This Post</a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.codedrop.ca/blog/archives/212/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RHEL terminal closes after a period of inactivity.</title>
		<link>http://www.codedrop.ca/blog/archives/129</link>
		<comments>http://www.codedrop.ca/blog/archives/129#comments</comments>
		<pubDate>Wed, 26 Aug 2009 16:27:36 +0000</pubDate>
		<dc:creator>groll</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.codedrop.ca/blog/archives/129</guid>
		<description><![CDATA[After weeks of frustration with my RHEL terminal windows closing themselves after a small interval of inactivity, (go for lunch and my terminals were closed)&#8230; I finally found out the solution to prevent this &#8216;default&#8217; behaviour that comes in RHEL. The /etc/profile was the culprit.&#160; Simply remove the following lines or update them to a [...]]]></description>
			<content:encoded><![CDATA[<p>After weeks of frustration with my RHEL terminal windows closing themselves after a small interval of inactivity, (go for lunch and my terminals were closed)&#8230; I finally found out the solution to prevent this &#8216;default&#8217; behaviour that comes in RHEL.</p>
<p>The /etc/profile was the culprit.&nbsp; Simply remove the following lines or update them to a much more respectable time interval and restart your X windows.</p>
<p>TMOUT=3600<br />export TMOUT</p>
<p>Thats one I&#8217;ll not forget as its sure a pain when your in development mode with all your terminals set where you want them&#8230;. turn away for an hour and find them all closed!</p>
<p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" alt="" src="http://img.zemanta.com/pixy.gif?x-id=c2761770-58d1-8aa4-afcc-3ae3e7a20a41" /></div>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/home/?status=RHEL+terminal+closes+after+a+period+of+inactivity.+http%3A%2F%2Ftinyurl.com%2F4f8lyfs" title="Post to Twitter"><img class="nothumb" src="http://www.codedrop.ca/blog/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://twitter.com/home/?status=RHEL+terminal+closes+after+a+period+of+inactivity.+http%3A%2F%2Ftinyurl.com%2F4f8lyfs" title="Post to Twitter">Tweet This Post</a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.codedrop.ca/blog/archives/129/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IE Developer Toolbar, Firebug like tools for IE</title>
		<link>http://www.codedrop.ca/blog/archives/86</link>
		<comments>http://www.codedrop.ca/blog/archives/86#comments</comments>
		<pubDate>Fri, 03 Apr 2009 20:46:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[firebug]]></category>
		<category><![CDATA[ie]]></category>
		<category><![CDATA[toolbar]]></category>

		<guid isPermaLink="false">http://www.codedrop.ca/blog/archives/86</guid>
		<description><![CDATA[You don&#8217;t have to be much of a Techy to know about the power Firebug brings to the Firefox browser.&#160; I&#8217;ve often been frustrated but the lack thereof of such support in IE&#8230; until now.&#160; The Internet Explorer (IE) Developer Toolbar has been around for quite some time now, but in my ignorance I had [...]]]></description>
			<content:encoded><![CDATA[<p>You don&#8217;t have to be much of a Techy to know about the power Firebug brings to the Firefox browser.&nbsp; I&#8217;ve often been frustrated but the lack thereof of such support in IE&#8230; until now.&nbsp; The <a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=E59C3964-672D-4511-BB3E-2D5E1DB91038&amp;displaylang=en">Internet Explorer (IE) Developer Toolbar</a> has been around for quite some time now, but in my ignorance I had lost track of it&#8230;&nbsp; so here it is again for the world to use&#8230; Like Firebug it brings in a panel bar from which you can quickly navigate page elements, highlight divs, tables, etc&#8230;</p>
<p><img style="max-width: 800px; width: 400px;" src="http://www.codedrop.ca/blog/wp-content/uploads/2009/04/picture-9.png" /> </p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" src="http://img.zemanta.com/pixy.gif?x-id=cf7e4cc8-bbd4-8126-b495-d0ef5395bce7" /></div>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/home/?status=IE+Developer+Toolbar%2C+Firebug+like+tools+for+IE+http%3A%2F%2Ftinyurl.com%2F3z35wm9" title="Post to Twitter"><img class="nothumb" src="http://www.codedrop.ca/blog/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://twitter.com/home/?status=IE+Developer+Toolbar%2C+Firebug+like+tools+for+IE+http%3A%2F%2Ftinyurl.com%2F3z35wm9" title="Post to Twitter">Tweet This Post</a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.codedrop.ca/blog/archives/86/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Safari 4 Hidden Preferences</title>
		<link>http://www.codedrop.ca/blog/archives/70</link>
		<comments>http://www.codedrop.ca/blog/archives/70#comments</comments>
		<pubDate>Fri, 06 Mar 2009 15:40:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Mac OSX]]></category>
		<category><![CDATA[Safari]]></category>

		<guid isPermaLink="false">http://www.codedrop.ca/blog/archives/70</guid>
		<description><![CDATA[I recently started using Safari 4 and found in incredibly disorienting having new tabs appear at the very top of the window frame.  To my suprise there&#8217;s a hidden setting that can change the location of the tab bar to something you might be more familiar with.  Check out this blog for a complete listing [...]]]></description>
			<content:encoded><![CDATA[<p>I recently started using Safari 4 and found in incredibly disorienting having new tabs appear at the very top of the window frame.  To my suprise there&#8217;s a hidden setting that can change the location of the tab bar to something you might be more familiar with.  Check out this <a href="http://swedishcampground.com/safari-4-hidden-preferences">blog</a> for a complete listing of hidden preferences.</p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" src="http://img.zemanta.com/pixy.gif?x-id=a6daf120-7f5b-4db9-a996-7dab7277428e" alt="" /></div>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/home/?status=Safari+4+Hidden+Preferences+http%3A%2F%2Ftinyurl.com%2F3asm5ss" title="Post to Twitter"><img class="nothumb" src="http://www.codedrop.ca/blog/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://twitter.com/home/?status=Safari+4+Hidden+Preferences+http%3A%2F%2Ftinyurl.com%2F3asm5ss" title="Post to Twitter">Tweet This Post</a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.codedrop.ca/blog/archives/70/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Keyboard Shortcuts For MacOSX (screen capture)</title>
		<link>http://www.codedrop.ca/blog/archives/57</link>
		<comments>http://www.codedrop.ca/blog/archives/57#comments</comments>
		<pubDate>Tue, 23 Dec 2008 16:31:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Mac OSX]]></category>

		<guid isPermaLink="false">http://www.codedrop.ca/blog/?p=57</guid>
		<description><![CDATA[Here&#8217;s a neat shortcut for doing selectable screen captures on a Mac:&#160;⌘⇧4 (Command &#8211; Shift &#8211; 4) &#8211; will change your cursor and allow you to select a region on the screen to capture. After highlighting the region release the mouse button and voila!.. a new image file will be saved to your desktop of [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a neat shortcut for doing selectable screen captures on a Mac:<br />&nbsp;<br /><b>⌘⇧4</b> (Command &#8211; Shift &#8211; 4) &#8211; will change your cursor and allow you to select a region on the screen to capture.  After highlighting the region release the mouse button and voila!.. a new image file will be saved to your desktop of the selected region. <br /><b>⌘⇧3 </b>(Command &#8211; Shift &#8211; 3) &#8211; will take a screen capture of your entire desktop.</p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/home/?status=Keyboard+Shortcuts+For+MacOSX+%28screen+capture%29+http%3A%2F%2Ftinyurl.com%2F3p4jfus" title="Post to Twitter"><img class="nothumb" src="http://www.codedrop.ca/blog/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://twitter.com/home/?status=Keyboard+Shortcuts+For+MacOSX+%28screen+capture%29+http%3A%2F%2Ftinyurl.com%2F3p4jfus" title="Post to Twitter">Tweet This Post</a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.codedrop.ca/blog/archives/57/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to install a specific software version using Mac Ports</title>
		<link>http://www.codedrop.ca/blog/archives/56</link>
		<comments>http://www.codedrop.ca/blog/archives/56#comments</comments>
		<pubDate>Tue, 09 Dec 2008 03:22:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Mac OSX]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://www.codedrop.ca/blog/?p=56</guid>
		<description><![CDATA[MacPorts is the preferred way of installing, managing, and upgrading ports of some the software I have on my Mac.&#160; Unfortunately mac ports does not let you specify a version.&#160; To mediate this you can create a local repository that is checked out to a specific version and install from there. This example is how [...]]]></description>
			<content:encoded><![CDATA[<p>MacPorts is the preferred way of installing, managing, and upgrading ports of some the software I have on my Mac.&nbsp; Unfortunately mac ports does not let you specify a version.&nbsp; To mediate this you can create a local repository that is checked out to a specific version and install from there.</p>
<p>This example is how to install ruby version 1.8.5-p12. </p>
<p><b>1) Find out the svn revision number of the Portfile by looking in:</b></p>
<p>http://trac.macosforge.org/projects/macports/log/trunk/dports/lang/ruby/Portfile</p>
<p>In my case it is 21127.</p>
<p><b>2) Set up a local port repository. In the file /opt/local/etc/macports/sources.conf, add this line before the rsync line:</b>
<p>file:///Users/Shared/dports and create that directory.</p>
<p><b>3) Install the port into your local repository.</b>
<p><typo:code>cd /Users/Shared/dports &amp;&amp; svn co –revision 21127<br />http://svn.macports.org/repository/macports/trunk/dports/lang/ruby/<br />lang/ruby/</typo:code></p>
<p><b>4) Run portindex so that ports now finds your new (old) version of ruby.</b>
<p><typo:code>portindex /Users/Shared/dports</typo:code></p>
<p><b>5) Now you should be able to see ruby @1.8.5-p12 in addition to @1.8.6 by running:</b></p>
<p><typo:code>port list</typo:code></p>
<p><b>6) Install Ruby</b>
<p><typo:code>sudo port install ruby @1.8.5-p12</typo:code></p>
<p>You should be up and running now, so to check, run:
<p><typo:code>ruby -v</typo:code></p>
<p>You will see something like this:
<p><typo:code>ruby 1.8.5 (2006-12-25 patchlevel 12) [i686-darwin8.10.1]</typo:code></p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/home/?status=How+to+install+a+specific+software+version+using+Mac+Ports+http%3A%2F%2Ftinyurl.com%2F4ck65jq" title="Post to Twitter"><img class="nothumb" src="http://www.codedrop.ca/blog/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://twitter.com/home/?status=How+to+install+a+specific+software+version+using+Mac+Ports+http%3A%2F%2Ftinyurl.com%2F4ck65jq" title="Post to Twitter">Tweet This Post</a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.codedrop.ca/blog/archives/56/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mac OSX Script To Toggle Hidden Files</title>
		<link>http://www.codedrop.ca/blog/archives/55</link>
		<comments>http://www.codedrop.ca/blog/archives/55#comments</comments>
		<pubDate>Mon, 24 Nov 2008 20:20:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Mac OSX]]></category>
		<category><![CDATA[OS]]></category>

		<guid isPermaLink="false">http://www.codedrop.ca/blog/?p=55</guid>
		<description><![CDATA[Working in a Mac environment I often find myself needing access to the system directories that are typically hidden by Finder.  I recently stumbled across the following script that I find quite useful for toggling back / forth between standard and full views. Open ScriptEditor and save the following script: try set dotVisible to do [...]]]></description>
			<content:encoded><![CDATA[<p>Working in a Mac environment I often find myself needing access to the system directories that are typically hidden by Finder.  I recently stumbled across the following script that I find quite useful for toggling back / forth between standard and full views.</p>
<p>Open ScriptEditor and save the following script:</p>
<p><font color="#330000"><small><font face="Courier New">try<br />
set dotVisible to do shell script &#8220;defaults read com.apple.finder AppleShowAllFiles&#8221;</p>
<p>on error errorMessage number errorNumber<br />
set dotVisible to 0<br />
end try</font></small></font></p>
<p><font color="#330000"><small><font face="Courier New">if dotVisible = &#8220;0&#8243; then<br />
do shell script &#8220;defaults write com.apple.finder AppleShowAllFiles 1&#8243;<br />
else<br />
do shell script &#8220;defaults write com.apple.finder AppleShowAllFiles 0&#8243;<br />
end if</font></small></font></p>
<p><font color="#330000"><small><font face="Courier New">tell application &#8220;Finder&#8221; to quit<br />
delay 1</font></small></font></p>
<p><font color="#330000"><small><font face="Courier New">tell application &#8220;Finder&#8221; to activate<br />
if dotVisible = &#8220;0&#8243; then<br />
say &#8220;VISIBLE&#8221;<br />
else<br />
say &#8220;HIDDEN&#8221;<br />
end if</font></small></font></p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/home/?status=Mac+OSX+Script+To+Toggle+Hidden+Files+http%3A%2F%2Ftinyurl.com%2F3f6jjyt" title="Post to Twitter"><img class="nothumb" src="http://www.codedrop.ca/blog/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://twitter.com/home/?status=Mac+OSX+Script+To+Toggle+Hidden+Files+http%3A%2F%2Ftinyurl.com%2F3f6jjyt" title="Post to Twitter">Tweet This Post</a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.codedrop.ca/blog/archives/55/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to rename a vm (.vmdk) file for VMWare Server 1.0.4</title>
		<link>http://www.codedrop.ca/blog/archives/51</link>
		<comments>http://www.codedrop.ca/blog/archives/51#comments</comments>
		<pubDate>Thu, 28 Aug 2008 17:20:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[VMWare]]></category>

		<guid isPermaLink="false">http://www.codedrop.ca/blog/?p=51</guid>
		<description><![CDATA[In Vmware server 1.04, you can use the following process to rename the vmdk files: 1. Copy folder, rename vmx file 2. Edit machine, change hostname 3. Rename vdmk 4. Edit settings and add disk you just renamed as existing disk (remove old one) 5. Start vm and check it works (don’t forget to use [...]]]></description>
			<content:encoded><![CDATA[<p>In Vmware server 1.04, you can use the following process to rename the vmdk files:</p>
<p>1. Copy folder, rename vmx file<br />
2. Edit machine, change hostname<br />
3. Rename vdmk<br />
4. Edit settings and add disk you just renamed as existing disk (remove old one)<br />
5. Start vm and check it works (don’t forget to use newsid)</p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/home/?status=How+to+rename+a+vm+%28.vmdk%29+file+for+VMWare+Server+1.0.4+http%3A%2F%2Ftinyurl.com%2F4mymbhf" title="Post to Twitter"><img class="nothumb" src="http://www.codedrop.ca/blog/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://twitter.com/home/?status=How+to+rename+a+vm+%28.vmdk%29+file+for+VMWare+Server+1.0.4+http%3A%2F%2Ftinyurl.com%2F4mymbhf" title="Post to Twitter">Tweet This Post</a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.codedrop.ca/blog/archives/51/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

