Archive for December, 2011:
filed in Linux, Mac OS X, Unix on Dec.29, 2011
& – This causes the application to run in the background. You will get a new shell prompt after issuing this command. nohup and disown – Both of these prevent SIGHUP (hangup) signals so the application isn’t killed when the terminal session is closed. nohup does this when the job starts. disown can be used [...]
Tags: &, bsd, disown, linux, mac, nohup, OS X, unix
filed in Tutorials on Dec.29, 2011
By now most users should have the new Google bar, however if you don’t follow these instructions. If you are using Google Chrome right click on any whitespace on a Google page and select “Inspect Element”. Click on the Console tab and paste the following text and press enter. document.cookie=”PREF=ID=03fd476a699d6487:U=88e8716486ff1e5d:FF=0:LD=en: CR=2:TM=1322688084:LM=1322688085:S=McEsyvcXKMiVfGds; path=/; domain=.google.com”; window.location.reload(); [...]
Tags: google, google bar, google chrome
filed in C/C++, Programming on Dec.20, 2011
A really interesting in-depth question was posted over at stackoverflow.com asking why 1 loop seems to be so much slower than 2 loops. The discussion on the page goes into great and interesting detail on what’s going on behind the scenes and why there is such a decrease in speed between 1 and 2+ loops. [...]
Tags: C#, efficiency, loop, loops, Programming
filed in Unix on Dec.16, 2011
Now here’s a really interesting feature article on Unix history and how it came to be. It’s quite amazing how successful a piece of software has become and how it came to influence the world of computing in the past (roughly) 40 years. “They say that when one door closes on you, another opens. People [...]
Tags: history, unix
filed in Operating Systems, Tutorials on Dec.16, 2011
Lately I’ve been struggling with really terrible performance on my VirtualBox virtual machines. I’ve begun to do a bit of research on improving the performance of my VMs and so far the most helpful tip was to switch the VM disk image to SATA instead of IDE. Check out the following link for a detailed [...]
Tags: performance, virtualbox
filed in C/C++, Programming on Dec.09, 2011
Really interesting article from Rob Pike, a member of the Unix team and Plan 9. Here’s a short excerpt from the article: “Kernighan and Plauger’s The Elements of Programming Style was an important and rightly influential book. But sometimes I feel its concise rules were taken as a cookbook approach to good style instead of [...]
Tags: C#, Programming, rob pike
filed in Linux on Dec.08, 2011
(click for a larger view)
Tags: distribution, distro, history, linux, timeline