<?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>Blog of Hamlesh &#187; Geekery</title>
	<atom:link href="http://www.hamleshmotah.com/index.php/category/geekery/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hamleshmotah.com</link>
	<description>Musings and thoughts of Hamlesh, a serial entrepreneur</description>
	<lastBuildDate>Fri, 04 Nov 2011 13:18:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>A look at my desk</title>
		<link>http://www.hamleshmotah.com/index.php/2011/09/28/a-look-at-my-desk/</link>
		<comments>http://www.hamleshmotah.com/index.php/2011/09/28/a-look-at-my-desk/#comments</comments>
		<pubDate>Wed, 28 Sep 2011 10:50:28 +0000</pubDate>
		<dc:creator>hamlesh</dc:creator>
				<category><![CDATA[Geekery]]></category>
		<category><![CDATA[Taking Stock]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.hamleshmotah.com/?p=9176</guid>
		<description><![CDATA[Whenever people visit my office or see my workspace, they are always amazed by the sheer number of screens.  The next question/statement is usually &#8220;what the heck do you need all those screens for&#8221;, or &#8220;you can&#8217;t look at more than one screen at a time&#8221;. I&#8217;m not going to go into the awesomeness of [...]]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter" src="http://media.tumblr.com/tumblr_lpevwsTVqa1qz8mh8.jpg" alt="" /></p>
<p>Whenever people visit my office or see my workspace, they are always amazed by the sheer number of screens.  The next question/statement is usually &#8220;what the heck do you need all those screens for&#8221;, or &#8220;you can&#8217;t look at more than one screen at a time&#8221;.</p>
<p>I&#8217;m not going to go into the awesomeness of multiple screens, but talk a little about how I have things setup.  To be honest, this is a reduction in screens for me, heres a pic from a <a href="http://www.flickr.com/photos/hamlesh/2447898483/" target="_blank">previous office setup</a> (theres actually another 3 screens on the left of me which you can&#8217;t see in that picture).</p>
<p>Anyway, the current setup, starting from the far left.</p>
<p>This is an XP machine, which I use mainly for Forex trading.  Although I prefer to work on OSX, and I know I could run this as a virtual machine, its just not the same experience, regardless of what any &#8220;tech gurus&#8221; might say &#8211; simply, they are disagreeing with me, and by default, wrong.  Kidding of course <img src='http://www.hamleshmotah.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>When I sit in in &#8220;trading mode&#8221; on this machine, MetaTrader takes up both screens.  When not actively trading, I leave <a href="http://woopra.com" target="_blank">woopra.com</a> up and running.  For those of you that haven&#8217;t seen woopra; its a real time website visitor analytics tool.  It displays visitor info/metrics in real time, including where in the world they are &#8211; which it maps (being a little boy inside, I find this very cool!).  At the time I&#8217;m writing this post, I can see there are 8 visitors viewing the <a href="http://zxv.me/jVjMPG" target="_blank">zovo.co</a> website, and which countries they are in, queue some sort of cheesy world domination music here.</p>
<p>The last screen on the XP machine runs Bloomberg TV, which occasionally gets muted, if you&#8217;ve ever watched Bloomberg TV, you&#8217;ll know why!  Another excellent web app is used here, check out <a href="http://zattoo.com/" target="_blank">zattoo.com</a>, which lets you watch live TV channels.  Unfortunately the BBC feeds have been pulled now, but Bloomberg TV is there (which save me getting a Freeview TV in here).</p>
<p>Coming round to my much loved Macbook, running an Apple LED display (mini DVI straight off the macbook), and a Samsung LED (BX2350), running on an ezCap USB to DVI adaptor.</p>
<p>I do most of my browsing, document editing, chatting, etc on here.  The macbook screen gets used mainly for instant messaging and viewing youtube/ted.com etc.  The Samsung LED (on the far right) has all of my social media feeds via, Twitter OSX app, and TweetDeck as well as NewsBar (lightweight, no nonsense RSS feed reader).</p>
<p>Tell me about your desk/workspace, and feel free to ask any questions.  Usually a mention to @hamlesh on twitter will get a quicker response.</p>
<p><span id="more-9176"></span>A few of my twitter followers were asking for a wider shot, so heres one I took a few days after originally writing this <img src='http://www.hamleshmotah.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><img class="aligncenter" src="http://28.media.tumblr.com/tumblr_lplzm2yPmp1qz94ewo1_500.jpg" alt="" width="500" height="375" /></p>
<div id="seo_alrp_related"><h2>Posts Related to A look at my desk</h2><ul><li><div class="seo_alrp_rl_content"><h3><a href="http://www.hamleshmotah.com/index.php/2009/03/31/why-i-think-the-desktop-is-dead/" rel="bookmark">Why I think the desktop is dead</a></h3><p>I have always been an advocate of having a desktop computer (be it mac or pc), rather than working on laptops.Â  Having multiple locations (mayfair, ...</p></div></li><li><div class="seo_alrp_rl_content"><h3><a href="http://www.hamleshmotah.com/index.php/2010/01/14/fix-quick-look-on-osx-not-working-black-box/" rel="bookmark">FIX: Quick look on OSX not working (black box)</a></h3><p>I've recently replaced the hard drive in my MacBook Pro with a higher capacity one (write up to follow).  After restoring from time machine I ...</p></div></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://www.hamleshmotah.com/index.php/2011/09/28/a-look-at-my-desk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I&#8217;m now IPv6 ready, are you?</title>
		<link>http://www.hamleshmotah.com/index.php/2011/09/28/im-now-ipv6-ready-are-you/</link>
		<comments>http://www.hamleshmotah.com/index.php/2011/09/28/im-now-ipv6-ready-are-you/#comments</comments>
		<pubDate>Wed, 28 Sep 2011 08:45:34 +0000</pubDate>
		<dc:creator>hamlesh</dc:creator>
				<category><![CDATA[Geekery]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tip]]></category>

		<guid isPermaLink="false">http://www.hamleshmotah.com/?p=9210</guid>
		<description><![CDATA[Cloudflare.com recently celebrated its 1st birthday, and to mark the special occasion it enabled its free ipv6 gateway. I have a number of my websites setup with @cloudflare, its free, and offers a lot of security and optimisation filtering.  Its dead easy to implement and theres very little maintenance to do.  I highly recommend you [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.cloudflare.com" target="_blank">Cloudflare.com</a> recently celebrated its 1st birthday, and to mark the special occasion it enabled its <a href="http://blog.cloudflare.com/introducing-cloudflares-automatic-ipv6-gatewa" target="_blank">free ipv6 gateway</a>.</p>
<p>I have a number of my websites setup with @cloudflare, its free, and offers a lot of security and optimisation filtering.  Its dead easy to implement and theres very little maintenance to do.  I highly recommend you check them out.</p>
<p>You can read more about the <a href="http://blog.cloudflare.com/introducing-cloudflares-automatic-ipv6-gatewa" target="_blank">free ipv6 gateway for cloudflare users</a> in their blog post.  Theres a really nice infographic on their post <img src='http://www.hamleshmotah.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Anyway, I&#8217;m now IPv6 ready &#8211; why aren&#8217;t you?</p>
<p><a href="http://cloudflare.ipv6-test.com/validate.php?url=www.hamleshmotah.com" target="_blank"><img class="alignnone" src="https://lh6.googleusercontent.com/-VfbXNIkixPs/ToKHo54EgpI/AAAAAAAACA4/AiIDVPrhTmI/button-ipv6-big.png" alt="" width="100" height="50" /></a></p>
<div id="seo_alrp_related"><h2>Posts Related to I'm now IPv6 ready, are you?</h2><ul><li><div class="seo_alrp_rl_content"><h3><a href="http://www.hamleshmotah.com/index.php/2006/12/09/akismet%e2%80%a6-no-more-blog-comment-spam/" rel="bookmark">Akismetâ€¦ no more blog comment spam!</a></h3><p>Comment spam is currently the new way that spammers have discovered to make us all want to torture them. Recently I was getting around 30 ...</p></div></li><li><div class="seo_alrp_rl_content"><h3><a href="http://www.hamleshmotah.com/index.php/2011/06/17/zovo-will-be-launching-soon/" rel="bookmark">zovo will be launching soon</a></h3><p>Lots of you may have seen a bit of a viral buzz being created for zovobackup, with your friends tweeting and FB walling about it. ...</p></div></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://www.hamleshmotah.com/index.php/2011/09/28/im-now-ipv6-ready-are-you/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A look at my server room (at home)</title>
		<link>http://www.hamleshmotah.com/index.php/2011/09/14/a-look-at-my-server-room-at-home/</link>
		<comments>http://www.hamleshmotah.com/index.php/2011/09/14/a-look-at-my-server-room-at-home/#comments</comments>
		<pubDate>Wed, 14 Sep 2011 10:50:04 +0000</pubDate>
		<dc:creator>hamlesh</dc:creator>
				<category><![CDATA[Geekery]]></category>
		<category><![CDATA[Taking Stock]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.hamleshmotah.com/?p=9179</guid>
		<description><![CDATA[Here&#8217;s a sneak peak at the server / comms room setup I have at home. It evolves over time with new servers being put in as part of my personal test lab, but every once in a while I shut everything down, pull everything out, including power/network cables and redeploy. An evolving server room will [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a sneak peak at the server / comms room setup I have at home. It evolves over time with new servers being put in as part of my personal test lab, but every once in a while I shut everything down, pull everything out, including power/network cables and redeploy. An evolving server room will always get messy over time, this is inevitable.</p>
<p>Be warned, this might be very geeky/techy for some of you, but I find it cool, and wanted to document/talk about it <img src='http://www.hamleshmotah.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p style="text-align: center;"><img class="size-full aligncenter" src="https://lh4.googleusercontent.com/-V5yeIyu8MAY/TnDU1jNpIqI/AAAAAAAAB_w/4VgrrkUynBM/s512/20110910-063848.jpg" alt="20110910-063848.jpg" width="480" height="640" /></p>
<p>Going from top down;</p>
<p><strong>Tv.drobo</strong></p>
<p>4 bay USB2 drobo unit, currently running 2x 2Tb and 2x 1Tb drives. It&#8217;s a first generation drobo, thus only supports USB2, and max 2Tb drives, hopefully drobo will release firmware to support larger drives in the future. Once 2Tb drives drop below the £50 mark per drive (inc vat and delivery), or when I run out of space, I&#8217;ll replace the 2x 1Tb drives. This unit holds all of my TV episodes and shows, hence it&#8217;s name.</p>
<p><strong>Dell PowerConnect</strong></p>
<p>24 port gigabit switch, not much more I can say, it&#8217;s managed and very good in a &#8220;non ISP&#8221; environment. Not sure if I&#8217;d use one in the data centre though, other than perhaps as a storage network switch (supports multiple bonded port groups, and jumbo frames, with a 10Gpbs backplane).</p>
<p><strong>Ironhide</strong></p>
<p>Netgear ReadyNAS, with 4x 250Gb drives, holds all of my music. The main reason I still use the ReadyNAS is that it has squeezebox server built in as part of it&#8217;s base operating system. I have two jogglers (little openpeak photo frame tablet things) around the house, running jolicloud, with squeezecentre on them. So this setup for music &#8220;just works&#8221;, which is all I care about; for music anyway, throughput isn&#8217;t critical. If I needed to I could bond the network interfaces, but there&#8217;s really no need for that!</p>
<p><strong>Allspark</strong></p>
<p>1Tb Lacie Etherdisk (4x 250Gb) running Debian, this spends most of it&#8217;s time powered down, I only fire it up when I need it. It&#8217;s on a separate storage VLAN, and I use it as an NFS based datastore when I need to move virtual machines between different vmware ESXi servers.</p>
<p><strong>Bonecrusher</strong></p>
<p>1Tb Lacie Etherdisk (4x 250Gb) running Debian. This runs hellanzb and hellavcr, which knows what TV shows I follow, and grabs them when they are available (in the formats I like, ie hidef). Not going to go into too much depth on how these are setup, google, or ask me on twitter (@hamlesh) and I&#8217;ll tell you <img src='http://www.hamleshmotah.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>Soundwave</strong></p>
<p>Dell Poweredge SC1425, my primary vmware ESXi server, running various things, perhaps I&#8217;ll do another post about the virtual machines at some point. There&#8217;s usually another SC1425 (ESXi) called Optimus underneath this server, but at the time this picture was taken Optimus is in the office.</p>
<p><strong>Sideswipe</strong></p>
<p>Dell Poweredge 1800, my primary storage control server, and the central point for media sharing across the network. It also has some internal storage, about 4Tb worth, used when I need to move large amounts of data around.</p>
<p><strong>Apple Xserve RAID</strong></p>
<p>Multiple arrays deployed on this, mirrored for documents storage, two large arrays for movie and software storage. The throughput of these units is really something else, I need to put up the disk bench stats at some point. Having 14 spindles and fibre channel access (4 Gbps) is really something else, but some could argue, it overkill for a home setup <img src='http://www.hamleshmotah.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>I would like to get a pic when the xserve is working really hard, as all the blue indicator lights on the front are really quite mesmerising <img src='http://www.hamleshmotah.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Cabling is currently relatively neat, I have serious OCD when it comes to cabling neatness, still need to velcro tie the cables <img src='http://www.hamleshmotah.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p style="text-align: center;"><img class="size-full aligncenter" src="https://lh6.googleusercontent.com/-38pDOyuFsWI/TnDU10xKC5I/AAAAAAAAB_0/SXKTZsCwmsY/s512/20110910-064326.jpg" alt="20110910-064326.jpg" width="480" height="640" /></p>
<p>The Xserve RAID is running fibre channel to the storage server (Sideswipe), which has bonded gigabit onto the network (bonded ports on the switch too obviously).</p>
<p>There are some other machines missing in these pics, all that are used for various virtualisation testing etc, but they are currently with clients doing proof on concept delivery, or being borrowed by friends.</p>
<p>Everything is running on an APC remote reboot unit, so I can power cycle anything remotely, or usually when I&#8217;m feeling too lazy to go downstairs. I&#8217;ll have to do another post on my power provision at some point too. Ive built a custom distribution unit which can be switched between the mains, or a little petrol generator thats sitting in the garden (just outside the comms room)&#8230; Yep I have power backup / generator capacity for all of this kit at home <img src='http://www.hamleshmotah.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>In total I probably have around 24Tb of storage running in this setup, all of which is backed up on zovo, who provide unlimited storage online backup. With everything running, this setup uses just under 4 amps (thanks to power metering on the APC power bar).</p>
<p>Anyway, hope this has been informative, why not comment and tell me about your setup?</p>
<div id="seo_alrp_related"><h2>Posts Related to A look at my server room (at home)</h2><ul><li><div class="seo_alrp_rl_content"><h3><a href="http://www.hamleshmotah.com/index.php/2007/07/05/datacenter-density-and-capacity-issues-solutions/" rel="bookmark">Datacenter density and capacity issues &#8211; solutions?</a></h3><p>All the successful managed server and data center space providers out there (like Berkeley IT) are suffering a shared problem. A shortage of density and ...</p></div></li><li><div class="seo_alrp_rl_content"><h3><a href="http://www.hamleshmotah.com/index.php/2010/03/30/clone-vm-under-esxi-using-ssh/" rel="bookmark">Clone VM under ESXi using SSH</a></h3><p>So, you've deployed VMware ESXi and successfully deployed your first VM.  Now you are looking for the "clone" function that used to feature in the ...</p></div></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://www.hamleshmotah.com/index.php/2011/09/14/a-look-at-my-server-room-at-home/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Our brains are really #amazing</title>
		<link>http://www.hamleshmotah.com/index.php/2011/09/10/our-brains-are-really-amazing/</link>
		<comments>http://www.hamleshmotah.com/index.php/2011/09/10/our-brains-are-really-amazing/#comments</comments>
		<pubDate>Sat, 10 Sep 2011 16:07:48 +0000</pubDate>
		<dc:creator>hamlesh</dc:creator>
				<category><![CDATA[Geekery]]></category>
		<category><![CDATA[Thoughts]]></category>

		<guid isPermaLink="false">http://www.hamleshmotah.com/index.php/2011/09/10/our-brains-are-really-amazing/</guid>
		<description><![CDATA[A friend of mine posted this on Facebook recently, I thought it was really silly, until I noticed that I was reading it faster as I read on. Give it a try, post a comment or tweet @hamlesh to let me know what you think 7H15 M355463 53RV35 70 PR0V3 H0W 0UR M1ND5 C4N D0 [...]]]></description>
			<content:encoded><![CDATA[<p>A friend of mine posted this on Facebook recently, I thought it was really silly, until I noticed that I was reading it faster as I read on.</p>
<p>Give it a try, post a comment or tweet @hamlesh to let me know what you think <img src='http://www.hamleshmotah.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>7H15 M355463 53RV35 70 PR0V3 H0W 0UR M1ND5 C4N D0 4M4Z1N6 7H1N65! 1MPR3551V3 7H1N65! 1N 7H3 8361NN1N6 17 W45 H4RD 8U7 N0W, 0N 7H15 L1N3 Y0UR M1ND 15 R34D1N6 17 4U70M471C4LLY W17H 0U7 3V3N 7H1NK1N6 480U7 17, 83 PR0UD! 0NLY C3R741N P30PL3 C4N R34D 7H15.</p>
<div id="seo_alrp_related"><h2>Posts Related to Our brains are really #amazing</h2><ul><li><div class="seo_alrp_rl_content"><h3><a href="http://www.hamleshmotah.com/index.php/2008/05/14/muto-animation-by-blu/" rel="bookmark">MUTO animation by Blu (amazing!)</a></h3><p>This is amazing! Disturbing, but amazing!</p></div></li><li><div class="seo_alrp_rl_content"><h3><a href="http://www.hamleshmotah.com/index.php/2010/02/13/yamaha-dragstar-650cc-joins-the-family/" rel="bookmark">Yamaha Dragstar 650cc joins the family</a></h3><p>If you follow me on twitter or we are friends on facebook, you would have no doubt noticed my childlike excitement of the last two ...</p></div></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://www.hamleshmotah.com/index.php/2011/09/10/our-brains-are-really-amazing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8220;Proper&#8221; retweet method is still misunderstood &#8211; help!</title>
		<link>http://www.hamleshmotah.com/index.php/2011/06/10/proper-retweet-method-is-still-misunderstood/</link>
		<comments>http://www.hamleshmotah.com/index.php/2011/06/10/proper-retweet-method-is-still-misunderstood/#comments</comments>
		<pubDate>Fri, 10 Jun 2011 10:24:45 +0000</pubDate>
		<dc:creator>hamlesh</dc:creator>
				<category><![CDATA[Geekery]]></category>
		<category><![CDATA[Social Networking]]></category>

		<guid isPermaLink="false">http://www.hamleshmotah.com/?p=8666</guid>
		<description><![CDATA[I&#8217;ve been trying to hack together some code to carry out proper retweets for a while, and I&#8217;m kinda stuck.  So I&#8217;m posting this as a request for some help, has anyone cracked this? Whats the problem? In the beginning a retweet on twitter was considered to be any tweet with &#8220;RT @hamlesh&#8221; in the [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been trying to hack together some code to carry out proper retweets for a while, and I&#8217;m kinda stuck.  So I&#8217;m posting this as a request for some help, has anyone cracked this?</p>
<p><strong>Whats the problem?</strong></p>
<p>In the beginning a retweet on twitter was considered to be any tweet with &#8220;RT <a href="http://twitter.com/hamlesh" target="_blank">@hamlesh</a>&#8221; in the tweet.  However a <em><strong>proper</strong></em> <strong>retweet</strong> (I don&#8217;t know what else to call it) is one using the twitter retweet function (which not all apps have &#8211; still)</p>
<p>The <a href="http://twitter.com/#!/hamlesh/status/79111918111031296" target="_blank">following tweet</a> should demonstrate what I am talking about.</p>
<p><img class="alignnone" src="https://lh3.googleusercontent.com/-nxFzR0Zoab0/TfHtQCFFJNI/AAAAAAAAB70/vVvBMkQ-s_8/Screen%252520shot%2525202011-06-10%252520at%25252011.07.33.png" alt="" width="566" height="296" /></p>
<p>You can see, these were retweeted &#8220;<em>properly</em>&#8221; &#8211; using the retweet button/method.</p>
<p>Now the <a href="http://twitter.com/#!/JasonJGale/status/79125104189120512" target="_blank">following tweet</a> by <a href="http://twitter.com/jasonjgale" target="_blank">JasonJGale</a></p>
<p><img class="alignnone" src="https://lh3.googleusercontent.com/-8XdUcNH1H7U/TfHtPNhxW2I/AAAAAAAAB7s/LM4bll33Ng0/Screen%252520shot%2525202011-06-10%252520at%25252011.06.58.png" alt="" width="584" height="588" /></p>
<p>Was <a href="https://twitter.com/#!/beckysocial/status/79127134454554624" target="_blank">retweeted</a> by <a href="http://twitter.com/beckysocial" target="_blank">BeckySocial</a>, using whats now dubbed the &#8220;mention&#8221; tweet functionality, as there are no &#8220;Retweeted by&#8230;&#8221; statistics.</p>
<p><img class="alignnone" src="https://lh3.googleusercontent.com/-F7QuxHcTVmc/TfHtPjmLsiI/AAAAAAAAB7w/FuB7wdianf4/Screen%252520shot%2525202011-06-10%252520at%25252011.07.10.png" alt="" width="570" height="617" /></p>
<p>Now what I want to know, how the heck do we trigger proper retweets so that the relevant META data is preserved &#8211; and furthermore is this possible through the open RSS feed data?  Simply affixing RT infront of a tweet is no longer enough.</p>
<p><em><span style="text-decoration: underline;"><strong>Can anyone help?</strong></span></em> &#8212; <a href="http://twitter.com/hamlesh" target="_blank">@hamlesh</a> on twitter if you&#8217;ve found a solution or can offer any guidance.</p>
<div id="seo_alrp_related"><h2>Posts Related to "Proper" retweet method is still misunderstood - help!</h2><ul><li><div class="seo_alrp_rl_content"><h3><a href="http://www.hamleshmotah.com/index.php/2011/02/13/remote-desktop-rdp-on-jolicloud/" rel="bookmark">Remote desktop RDP on Jolicloud</a></h3><p>I'm currently using Jolicloud all the time on my workhorse netbook - the one that I take to clients sites / abroad / datacenters when ...</p></div></li><li><div class="seo_alrp_rl_content"><h3><a href="http://www.hamleshmotah.com/index.php/2011/05/12/2032-apple-mac-osx-fonts-to-download-free/" rel="bookmark">2032 Apple Mac OSX fonts to download</a></h3><p>I've created a collection from around the internet of 2032 Apple Mac fonts, these will work on OSX.  Every once in a while i'll refresh ...</p></div></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://www.hamleshmotah.com/index.php/2011/06/10/proper-retweet-method-is-still-misunderstood/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Applescript to kill an application or process and restart</title>
		<link>http://www.hamleshmotah.com/index.php/2011/05/31/applescript-to-kill-an-application-or-process-and-restart/</link>
		<comments>http://www.hamleshmotah.com/index.php/2011/05/31/applescript-to-kill-an-application-or-process-and-restart/#comments</comments>
		<pubDate>Tue, 31 May 2011 10:25:43 +0000</pubDate>
		<dc:creator>hamlesh</dc:creator>
				<category><![CDATA[Geekery]]></category>

		<guid isPermaLink="false">http://www.hamleshmotah.com/?p=8654</guid>
		<description><![CDATA[Another bit of AppleScript hackery, this one will kill a defined application / process based on a defined schedule (every x hours) and restart the application / process after a slight delay. repeat delay 7200 set app_name to &#34;PROCESS NAME&#34; set the_pid to &#40;do shell script &#34;ps ax &#124; grep &#34; &#38;amp; &#40;quoted form of [...]]]></description>
			<content:encoded><![CDATA[<p>Another bit of AppleScript hackery, this one will kill a defined application / process based on a defined schedule (every x hours) and restart the application / process after a slight delay.</p>

<div class="wp_syntax"><div class="code"><pre class="applescript" style="font-family:monospace;"><span style="color: #ff0033; font-weight: bold;">repeat</span>
delay <span style="color: #000000;">7200</span>
<span style="color: #ff0033; font-weight: bold;">set</span> app_name <span style="color: #ff0033; font-weight: bold;">to</span> <span style="color: #009900;">&quot;PROCESS NAME&quot;</span>
<span style="color: #ff0033; font-weight: bold;">set</span> the_pid <span style="color: #ff0033; font-weight: bold;">to</span> <span style="color: #000000;">&#40;</span><span style="color: #0066ff;">do shell script</span> <span style="color: #009900;">&quot;ps ax | grep &quot;</span> <span style="color: #000000;">&amp;</span>amp; <span style="color: #000000;">&#40;</span><span style="color: #0066ff;">quoted form</span> <span style="color: #ff0033; font-weight: bold;">of</span> app_name<span style="color: #000000;">&#41;</span> <span style="color: #000000;">&amp;</span>amp; <span style="color: #009900;">&quot; | grep -v grep | awk '{print $1}'&quot;</span><span style="color: #000000;">&#41;</span>
<span style="color: #ff0033; font-weight: bold;">if</span> the_pid <span style="color: #ff0033; font-weight: bold;">is</span> <span style="color: #ff0033;">not</span> <span style="color: #009900;">&quot;&quot;</span> <span style="color: #ff0033; font-weight: bold;">then</span> <span style="color: #0066ff;">do shell script</span> <span style="color: #000000;">&#40;</span><span style="color: #009900;">&quot;kill -9 &quot;</span> <span style="color: #000000;">&amp;</span>amp; the_pid<span style="color: #000000;">&#41;</span>
delay <span style="color: #000000;">30</span>
<span style="color: #ff0033; font-weight: bold;">tell</span> <span style="color: #0066ff;">application</span> app_name <span style="color: #ff0033; font-weight: bold;">to</span> <span style="color: #0066ff;">activate</span>
<span style="color: #ff0033; font-weight: bold;">end</span> <span style="color: #ff0033; font-weight: bold;">repeat</span></pre></div></div>

<p>You can find the application / process name by looking in Activity Monitor app.</p>
<p>Tweak the first delay parameter (in seconds) to suit your needs &#8211; the above will kill and restart the application / process every 2 hours (with a 30 second delay in-between killing and restarting).</p>
<p><strong>Found this useful? Why not become a <a href="http://facebook.com/hamleshmotah" target="_blank">fan on facebook</a>, or say <a href="http://twitter.com/?status=Just wanted to shout out to @hamlesh - been reading his blog (http://hamleshmotah.com), some handy stuff there!" target="_blank">hello on twitter</a>?</strong></p>
<div id="seo_alrp_related"><h2>Posts Related to Applescript to kill an application or process and restart</h2><ul><li><div class="seo_alrp_rl_content"><h3><a href="http://www.hamleshmotah.com/index.php/2011/05/26/applescript-to-check-for-a-process-and-restart-it-heartbeat/" rel="bookmark">Applescript to check for a process and restart it (heartbeat)</a></h3><p>Recently had an issue where an application / process I would leave running on my macbook overnight would crash and stop running.  I needed a ...</p></div></li><li><div class="seo_alrp_rl_content"><h3><a href="http://www.hamleshmotah.com/index.php/2010/03/30/clone-vm-under-esxi-using-ssh/" rel="bookmark">Clone VM under ESXi using SSH</a></h3><p>So, you've deployed VMware ESXi and successfully deployed your first VM.  Now you are looking for the "clone" function that used to feature in the ...</p></div></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://www.hamleshmotah.com/index.php/2011/05/31/applescript-to-kill-an-application-or-process-and-restart/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Applescript to check for a process and restart it (heartbeat)</title>
		<link>http://www.hamleshmotah.com/index.php/2011/05/26/applescript-to-check-for-a-process-and-restart-it-heartbeat/</link>
		<comments>http://www.hamleshmotah.com/index.php/2011/05/26/applescript-to-check-for-a-process-and-restart-it-heartbeat/#comments</comments>
		<pubDate>Thu, 26 May 2011 16:17:46 +0000</pubDate>
		<dc:creator>hamlesh</dc:creator>
				<category><![CDATA[Geekery]]></category>

		<guid isPermaLink="false">http://www.hamleshmotah.com/?p=8651</guid>
		<description><![CDATA[Recently had an issue where an application / process I would leave running on my macbook overnight would crash and stop running.  I needed a way to automatically restart the application / process if it wasn&#8217;t running, having a never ending spooling loop wouldn&#8217;t work (and is a nasty way to do it). So I [...]]]></description>
			<content:encoded><![CDATA[<p>Recently had an issue where an application / process I would leave running on my macbook overnight would crash and stop running.  I needed a way to automatically restart the application / process if it wasn&#8217;t running, having a never ending spooling loop wouldn&#8217;t work (and is a nasty way to do it).</p>
<p>So I came up with the following AppleScript code.</p>
<p>Copy and paste into AppleScript Editor, make the changes you need, and save it as an &#8220;Application&#8221;.  Remember to tick &#8220;Stay Open&#8221; when you save it.  I&#8217;ve dropped, what i&#8217;ve called the &#8220;Heartbeat App&#8221; onto the dock and set it to start when the computer does.</p>

<div class="wp_syntax"><div class="code"><pre class="applescript" style="font-family:monospace;"><span style="color: #ff0033; font-weight: bold;">repeat</span>
delay <span style="color: #000000;">60</span>
<span style="color: #ff0033; font-weight: bold;">set</span> core_is_running <span style="color: #ff0033; font-weight: bold;">to</span> is_running<span style="color: #000000;">&#40;</span><span style="color: #009900;">&quot;NAME OF PROCESS OR APPLICATION&quot;</span><span style="color: #000000;">&#41;</span>
<span style="color: #ff0033; font-weight: bold;">if</span> core_is_running <span style="color: #ff0033; font-weight: bold;">is</span> <span style="color: #0066ff;">false</span> <span style="color: #ff0033; font-weight: bold;">then</span>
<span style="color: #ff0033; font-weight: bold;">tell</span> <span style="color: #0066ff;">application</span> <span style="color: #009900;">&quot;NAME OF PROCESS OR APPLICATION&quot;</span> <span style="color: #ff0033; font-weight: bold;">to</span> <span style="color: #0066ff;">activate</span>
<span style="color: #ff0033; font-weight: bold;">set</span> core_is_running <span style="color: #ff0033; font-weight: bold;">to</span> is_running<span style="color: #000000;">&#40;</span><span style="color: #009900;">&quot;NAME OF PROCESS OR APPLICATION&quot;</span><span style="color: #000000;">&#41;</span>
<span style="color: #ff0033; font-weight: bold;">end</span> <span style="color: #ff0033; font-weight: bold;">if</span>
<span style="color: #ff0033; font-weight: bold;">end</span> <span style="color: #ff0033; font-weight: bold;">repeat</span>
<span style="color: #ff0033; font-weight: bold;">on</span> is_running<span style="color: #000000;">&#40;</span>appName<span style="color: #000000;">&#41;</span>
<span style="color: #ff0033; font-weight: bold;">tell</span> <span style="color: #0066ff;">application</span> <span style="color: #009900;">&quot;System Events&quot;</span> <span style="color: #ff0033; font-weight: bold;">to</span> <span style="color: #000000;">&#40;</span><span style="color: #0066ff;">name</span> <span style="color: #ff0033; font-weight: bold;">of</span> processes<span style="color: #000000;">&#41;</span> <span style="color: #ff0033;">contains</span> appName
<span style="color: #ff0033; font-weight: bold;">end</span> is_running</pre></div></div>

<p><em><strong>delay 60</strong></em> is the time interval in seconds you&#8217;d like the heartbeat app to check for the application or process.</p>
<p>To find out the NAME OF PROCESS OR APPLICATION, simply run the application / process, then look under <em>Process Name</em> in <em>Activity Monitor</em>.</p>
<p>You could also adapt this to run an application / process every x amount of time if you so wished.</p>
<p><strong>Comments, becoming a <a href="http://facebook.com/hamleshmotah" target="_blank">fan on facebook</a>, and saying <a href="http://twitter.com/?status=Just wanted to shout out to @hamlesh - been reading his blog (http://hamleshmotah.com), some handy stuff there!" target="_blank">hello on twitter</a>, always appreciated <img src='http://www.hamleshmotah.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </strong></p>
<div id="seo_alrp_related"><h2>Posts Related to Applescript to check for a process and restart it (heartbeat)</h2><ul><li><div class="seo_alrp_rl_content"><h3><a href="http://www.hamleshmotah.com/index.php/2011/05/31/applescript-to-kill-an-application-or-process-and-restart/" rel="bookmark">Applescript to kill an application or process and restart</a></h3><p>Another bit of AppleScript hackery, this one will kill a defined application / process based on a defined schedule (every x hours) and restart the ...</p></div></li><li><div class="seo_alrp_rl_content"><h3><a href="http://www.hamleshmotah.com/index.php/2010/03/30/clone-vm-under-esxi-using-ssh/" rel="bookmark">Clone VM under ESXi using SSH</a></h3><p>So, you've deployed VMware ESXi and successfully deployed your first VM.  Now you are looking for the "clone" function that used to feature in the ...</p></div></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://www.hamleshmotah.com/index.php/2011/05/26/applescript-to-check-for-a-process-and-restart-it-heartbeat/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Equinix commits to use 50% renewable energy in Paris data centres &#8211; Not 100% true</title>
		<link>http://www.hamleshmotah.com/index.php/2011/05/16/equinix-commits-to-use-50-renewable-energy-in-paris-data-centres-not-100-true/</link>
		<comments>http://www.hamleshmotah.com/index.php/2011/05/16/equinix-commits-to-use-50-renewable-energy-in-paris-data-centres-not-100-true/#comments</comments>
		<pubDate>Mon, 16 May 2011 07:41:02 +0000</pubDate>
		<dc:creator>hamlesh</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[Geekery]]></category>

		<guid isPermaLink="false">http://www.hamleshmotah.com/?p=8643</guid>
		<description><![CDATA[I thought i&#8217;d post a quick comment on something that broke on the wires this morning / last night. Equinix Commits to Use 50 Percent Renewable Energy in Paris Data Centers [Equinix press release] Fundamentally, what Equinix (EQIX) have done is purchase 45,000 of EDF’s Certificats Equilibre (CEs). Taken directly from the press release; For [...]]]></description>
			<content:encoded><![CDATA[<p>I thought i&#8217;d post a quick <a href="http://datacentres.com/News/Default.aspx?id=10975" target="_blank">comment on something</a> that broke on the wires this morning / last night.</p>
<ul>
<li><a href="http://www.equinix.com/news/press/eu/2011/Equinix-Commits-to-Use-50-Percent-Renewable-Energy-in-Paris-Data-Centers/" target="_blank">Equinix Commits to Use 50 Percent Renewable Energy in Paris Data Centers</a> [Equinix press release]</li>
</ul>
<p>Fundamentally, what Equinix (<a href="http://www.google.com/finance?q=NASDAQ%3AEQIX" target="_blank">EQIX</a>) have done is purchase 45,000 of EDF’s Certificats Equilibre (CEs).</p>
<p>Taken directly from the press release;</p>
<p style="padding-left: 30px;"><em>For every ‘Certificats Equilibre’ purchased, EDF injects one MWh of power from renewable sources into its network.</em></p>
<p>The key point here is &#8220;<strong><em>into its network</em></strong>&#8221; &#8211; this doesn&#8217;t mean EQIX&#8217;s network, it means EDF&#8217;s network/grid.</p>
<p>Therefore this does not mean that 50% of the power used by the EQIX datacenter is renewable, it means that the power provider used by EQIX, in this case EDF, has 45GWh of power on-stream from renewable sources.</p>
<p>Granted the Paris EQIX facility uses about 90GWh of power, and so 45GWh of that is coming from a provider who has 45GWh of power on-stream from renewable sources.  This is not what the press release claim is though, bad wording.</p>
<p>A more accurate headline &#8220;<em>EDF commits 45GWh of power from renewable sources thanks to Equinix</em>&#8220;.</p>
<p>Doesn&#8217;t quite have the same punch, but much more accurate.</p>
<div id="seo_alrp_related"><h2>Posts Related to Equinix commits to use 50% renewable energy in Paris data centres - Not 100% true</h2><ul><li><div class="seo_alrp_rl_content"><h3><a href="http://www.hamleshmotah.com/index.php/2007/07/16/ibm-project-big-green-dc-power-crisis/" rel="bookmark">IBM Project Big Green &#8211; DC power `crisis`</a></h3><p>IBM has built a data center in the virtual world of Second Life. It's part of the company's Big Green energy saving initiative designed to ...</p></div></li><li><div class="seo_alrp_rl_content"><h3><a href="http://www.hamleshmotah.com/index.php/2007/09/21/how-and-why-to-power-nap/" rel="bookmark">How and Why to Power Nap</a></h3><p>Few skills are as useful for a Friday afternoon as the rewarding power nap. The Ririan Project introduces 10 benefits to power napping and details ...</p></div></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://www.hamleshmotah.com/index.php/2011/05/16/equinix-commits-to-use-50-renewable-energy-in-paris-data-centres-not-100-true/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>2032 Apple Mac OSX fonts to download</title>
		<link>http://www.hamleshmotah.com/index.php/2011/05/12/2032-apple-mac-osx-fonts-to-download-free/</link>
		<comments>http://www.hamleshmotah.com/index.php/2011/05/12/2032-apple-mac-osx-fonts-to-download-free/#comments</comments>
		<pubDate>Thu, 12 May 2011 18:48:33 +0000</pubDate>
		<dc:creator>hamlesh</dc:creator>
				<category><![CDATA[Geekery]]></category>

		<guid isPermaLink="false">http://www.hamleshmotah.com/?p=8635</guid>
		<description><![CDATA[I&#8217;ve created a collection from around the internet of 2032 Apple Mac fonts, these will work on OSX.  Every once in a while i&#8217;ll refresh the collection, so you should search on here for newer posts similar to this one. For now, heres the download link: http://www.mediafire.com/?869f9bj1399bsc0 (55.29 Mb) You&#8217;ll need a password to download, [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve created a collection from around the internet of <strong>2032 Apple Mac fonts</strong>, these will work on OSX.  Every once in a while i&#8217;ll refresh the collection, so you should search on <a href="http://www.hamleshmotah.com/?s=fonts">here</a> for newer posts similar to this one.</p>
<p>For now, heres the download link: <a href="http://www.mediafire.com/?869f9bj1399bsc0" target="_blank">http://www.mediafire.com/?869f9bj1399bsc0</a> (55.29 Mb)</p>
<p>You&#8217;ll need a password to download, which is really simple to obtain;</p>
<p><strong>Pay with a tweet</strong></p>
<p>1. Follow <a href="http://twitter.com/hamlesh" target="_blank">@hamlesh on twitter</a></p>
<p>2. Click <a href="http://twitter.com/?status=@hamlesh%20love%20your%20blog%20-%20http://hamleshmotah.com%20-%20can%20I%20have%20the%20password%20for%20the%20mac%20font%20download%20via%20DM?%20I'm%20following%20you%20:)" target="_blank">here to pay with a tweet</a></p>
<p>3. I&#8217;ll reply via DM to you with the password</p>
<p><strong>Via Paypal</strong></p>
<p>1. Click <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&amp;hosted_button_id=U63W6SUJFTV4C" target="_blank">here to pay via PayPal</a> (its only £1)</p>
<p>2. I&#8217;ll reply via email with the password</p>
<p><em>My replies aren&#8217;t automated, so bare that in mind.</em></p>
<p>To install the fonts in one go, once you&#8217;ve extracted the zip file, copy them to your &#8220;<em>~/Library/Fonts&#8221;</em> folder in your &#8220;<em>home directory</em>&#8220;.</p>
<div id="seo_alrp_related"><h2>Posts Related to 2032 Apple Mac OSX fonts to download</h2><ul><li><div class="seo_alrp_rl_content"><h3><a href="http://www.hamleshmotah.com/index.php/2006/10/02/massive-font-compilation-published-5548-fonts/" rel="bookmark">Massive Font Compilation Published &#8211; 5548 fonts!</a></h3><p>I have just posted a massive 5548 fonts to the downloads section.Ã‚Â  Its in one big (160Mb) zip file, all I ask is that people ...</p></div></li><li><div class="seo_alrp_rl_content"><h3><a href="http://www.hamleshmotah.com/index.php/2011/02/13/remote-desktop-rdp-on-jolicloud/" rel="bookmark">Remote desktop RDP on Jolicloud</a></h3><p>I'm currently using Jolicloud all the time on my workhorse netbook - the one that I take to clients sites / abroad / datacenters when ...</p></div></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://www.hamleshmotah.com/index.php/2011/05/12/2032-apple-mac-osx-fonts-to-download-free/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remote desktop RDP on Jolicloud</title>
		<link>http://www.hamleshmotah.com/index.php/2011/02/13/remote-desktop-rdp-on-jolicloud/</link>
		<comments>http://www.hamleshmotah.com/index.php/2011/02/13/remote-desktop-rdp-on-jolicloud/#comments</comments>
		<pubDate>Sun, 13 Feb 2011 08:41:24 +0000</pubDate>
		<dc:creator>hamlesh</dc:creator>
				<category><![CDATA[Geekery]]></category>

		<guid isPermaLink="false">http://www.hamleshmotah.com/?p=8628</guid>
		<description><![CDATA[I&#8217;m currently using Jolicloud all the time on my workhorse netbook &#8211; the one that I take to clients sites / abroad / datacenters when consulting / doing bits of work. One annoying thing is the lack of a remote Windows Desktop Client. Searching the web shows this is a common problem, so heres how [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m currently using Jolicloud all the time on my workhorse netbook &#8211; the one that I take to clients sites / abroad / datacenters when consulting / doing bits of work.  One annoying thing is the lack of a remote Windows Desktop Client.  Searching the web shows this is a common problem, so heres how you install MS RDP.</p>
<ol>
<li>Press ALT + F1 at the same time</li>
<li>Terminal window opens</li>
<li>Type &#8220;sudo apt-get install tsclient&#8221; &#8211; you&#8217;ll get asked for your password</li>
<li>Apt-get fetches the relevant packages and does the install</li>
<li>To run the tsclient, simply open the terminal and type &#8220;tsclient&#8221;</li>
</ol>
<p>Done <img src='http://www.hamleshmotah.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I need to work out how to add a custom icon to the dashboard, <a href="http://twitter.com/hamlesh">tweet me</a> if you know how &#8211; i&#8217;ve not bothered to work that out yet.</p>
<div id="seo_alrp_related"><h2>Posts Related to Remote desktop RDP on Jolicloud</h2><ul><li><div class="seo_alrp_rl_content"><h3><a href="http://www.hamleshmotah.com/index.php/2007/10/10/pandora-and-desktop-client/" rel="bookmark">Pandora (and desktop client)</a></h3><p>Pandora is a fantastic website and concept, a radio station that plays music based on the mood you are in. You start out by specifying ...</p></div></li><li><div class="seo_alrp_rl_content"><h3><a href="http://www.hamleshmotah.com/index.php/2010/01/14/fix-quick-look-on-osx-not-working-black-box/" rel="bookmark">FIX: Quick look on OSX not working (black box)</a></h3><p>I've recently replaced the hard drive in my MacBook Pro with a higher capacity one (write up to follow).  After restoring from time machine I ...</p></div></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://www.hamleshmotah.com/index.php/2011/02/13/remote-desktop-rdp-on-jolicloud/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

