<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7569369</id><updated>2024-09-02T09:17:10.665+01:00</updated><category term="linux"/><category term="bash"/><category term="ubuntu"/><category term="ruby"/><category term="gems"/><category term="osx"/><category term="C++"/><category term="brew"/><category term="history"/><category term="ssh"/><category term="bundler"/><category term="debugging"/><category term="find"/><category term="flv"/><category term="g++"/><category term="gcc"/><category term="gdb"/><category term="gis"/><category term="git"/><category term="github"/><category term="google maps"/><category term="grep"/><category term="hard disk"/><category term="mapping"/><category term="mint"/><category term="mp3"/><category term="mp4"/><category term="music"/><category term="photos"/><category term="python"/><category term="rails"/><category term="rspec"/><category term="ruby-debug"/><category term="tdd"/><category term="video"/><category term="zip"/><title type='text'>Simple Tips for developers</title><subtitle type='html'>Tips for every day Linux use.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://ktec.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7569369/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://ktec.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/7569369/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/04968980018092642760</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>76</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7569369.post-4179692433669806192</id><published>2015-01-18T14:06:00.002+00:00</published><updated>2015-01-18T14:06:40.444+00:00</updated><title type='text'>Skipping Certificate Checks with wget</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;header class=&quot;entry-header&quot; style=&quot;background-color: white; color: #999999; font-size: 14px; line-height: 26.6000003814697px;&quot;&gt;&lt;h1 class=&quot;entry-title&quot; style=&quot;border: 0px; clear: both; color: #222222; font-size: 1.6rem; font-style: inherit; font-weight: inherit; margin: 0.4em 0px 0.2em; outline: 0px; padding: 10px 0px 0px; text-transform: uppercase; vertical-align: baseline; word-wrap: break-word;&quot;&gt;
&lt;span style=&quot;color: #999999; font-family: open_sansregular, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 26.6000003814697px; text-transform: none;&quot;&gt;Just a quick post - if you want to download a file using wget from a server that has an invalid ssl certificate (expired, not from a trusted issuer etc) and you&#39;re confident the server is correct then you can use the --no-check-certificate switch to make wget ignore the certificate error:&lt;/span&gt;&lt;/h1&gt;
&lt;div&gt;
&lt;pre class=&quot;prettyprint lang-bsh&quot; style=&quot;color: black; line-height: normal;&quot;&gt;$ wget --no-check-certificate http://downloadfile.com
&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/header&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://ktec.blogspot.com/feeds/4179692433669806192/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7569369/4179692433669806192' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7569369/posts/default/4179692433669806192'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7569369/posts/default/4179692433669806192'/><link rel='alternate' type='text/html' href='http://ktec.blogspot.com/2015/01/skipping-certificate-checks-with-wget.html' title='Skipping Certificate Checks with wget'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/04968980018092642760</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7569369.post-8789334060168648323</id><published>2012-10-22T17:52:00.001+01:00</published><updated>2012-10-22T17:53:10.963+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bash"/><category scheme="http://www.blogger.com/atom/ns#" term="brew"/><category scheme="http://www.blogger.com/atom/ns#" term="flv"/><category scheme="http://www.blogger.com/atom/ns#" term="mp4"/><category scheme="http://www.blogger.com/atom/ns#" term="osx"/><category scheme="http://www.blogger.com/atom/ns#" term="video"/><title type='text'>Convert flv to mp4 on mac for free using open source tools</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div style=&quot;font-family: arial; font-size: small;&quot;&gt;
I&#39;m not paying some rip off price to convert a bunch of flv&#39;s into mp4&#39;s so I can load them onto my ipad. The solution was actually pretty simple:&lt;/div&gt;
&lt;div style=&quot;font-family: arial; font-size: small;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: arial; font-size: small;&quot;&gt;
First off, installing the ffmpeg library you need to specify which compiler to use:&lt;/div&gt;
&lt;div style=&quot;font-family: arial; font-size: small;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: arial; font-size: small;&quot;&gt;
$ brew install ffmpeg --use-clang&lt;/div&gt;
&lt;div style=&quot;font-family: arial; font-size: small;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: arial; font-size: small;&quot;&gt;
Once you&#39;ve sorted that, just navigate to the directory containing your flvs, and type:&lt;/div&gt;
&lt;div style=&quot;font-family: arial; font-size: small;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: arial; font-size: x-small;&quot;&gt;$ for file in *.flv; do; /usr/local/bin/ffmpeg -i $file.flv -sameq -vcodec libx264 -ar 22050 $file.mp4; done&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: arial; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: arial; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: arial; font-size: x-small;&quot;&gt;Job done.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: arial; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: arial; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://ktec.blogspot.com/feeds/8789334060168648323/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7569369/8789334060168648323' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7569369/posts/default/8789334060168648323'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7569369/posts/default/8789334060168648323'/><link rel='alternate' type='text/html' href='http://ktec.blogspot.com/2012/10/convert-flv-to-mp4-on-mac-for-free.html' title='Convert flv to mp4 on mac for free using open source tools'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/04968980018092642760</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7569369.post-502396244129500806</id><published>2012-08-28T11:17:00.002+01:00</published><updated>2012-08-28T17:12:10.711+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="brew"/><category scheme="http://www.blogger.com/atom/ns#" term="gcc"/><category scheme="http://www.blogger.com/atom/ns#" term="osx"/><category scheme="http://www.blogger.com/atom/ns#" term="ruby"/><title type='text'>Install GNU GCC on OSX Mountain Lion the easy way using Homebrew</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
This is actually targeted towards our OSX friends, here&#39;s a problem I came up against recently setting up a new mac book air, running OS X Mountain Lion, ready for ruby on rails development.&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #333333; font-family: proxima-nova-1, proxima-nova-2, &#39;Helvetica Neue&#39;, Helvetica, sans-serif; font-size: 15px; line-height: 24px; margin-bottom: 12px; outline: 0px; padding: 0px; text-align: -webkit-auto; vertical-align: baseline;&quot;&gt;
If you need to install any Ruby that’s older than 1.9.3, such as 1.9.2, 1.8.7 or REE, you’ll need to install GCC 4.2. Apple does not ship the Command Line Tools with&amp;nbsp;&lt;code style=&quot;background-color: transparent; border: 0px; font-family: monaco, monospace; font-size: 12px; line-height: 18px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; white-space: pre; word-wrap: normal;&quot;&gt;gcc-4.2&lt;/code&gt;compiler anymore (you can check by running&amp;nbsp;&lt;code style=&quot;background-color: transparent; border: 0px; font-family: monaco, monospace; font-size: 12px; line-height: 18px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; white-space: pre; word-wrap: normal;&quot;&gt;which gcc-4.2&lt;/code&gt;), so you need to install it via Homebrew. By default, Homebrew doesn’t include any formula that ships with the OS in the main repository, so you’ll have to enable&amp;nbsp;&lt;a href=&quot;https://github.com/Homebrew/homebrew-dupes&quot; style=&quot;color: #ad141e; font-weight: 700; text-decoration: none;&quot;&gt;homebrew-dupes&lt;/a&gt;&amp;nbsp;repository by using&amp;nbsp;&lt;code style=&quot;background-color: transparent; border: 0px; font-family: monaco, monospace; font-size: 12px; line-height: 18px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; white-space: pre; word-wrap: normal;&quot;&gt;brew tap&lt;/code&gt;&lt;/div&gt;
&lt;pre style=&quot;background-color: #f7f7f7; border: 1px solid rgb(240, 240, 240); color: #333333; font-family: monaco, monospace; font-size: 12px; line-height: 18px; margin-bottom: 12px; outline: 0px; overflow-x: auto; padding: 15px; text-align: -webkit-auto; vertical-align: baseline; word-wrap: normal;&quot;&gt;&lt;code class=&quot;undefined&quot; style=&quot;background-color: transparent; border: 0px; display: block; font-family: monaco, monospace; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; word-wrap: normal;&quot;&gt;brew tap homebrew/dupes
brew install apple-gcc42
&lt;/code&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #333333; font-family: proxima-nova-1, proxima-nova-2, &#39;Helvetica Neue&#39;, Helvetica, sans-serif; font-size: 15px; line-height: 24px; margin-bottom: 12px; outline: 0px; padding: 0px; text-align: -webkit-auto; vertical-align: baseline;&quot;&gt;
Voila! Now you can compile any library that requires non-LLVM GCC.&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://ktec.blogspot.com/feeds/502396244129500806/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7569369/502396244129500806' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7569369/posts/default/502396244129500806'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7569369/posts/default/502396244129500806'/><link rel='alternate' type='text/html' href='http://ktec.blogspot.com/2012/08/install-gnu-gcc-on-osx-mountain-lion.html' title='Install GNU GCC on OSX Mountain Lion the easy way using Homebrew'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/04968980018092642760</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7569369.post-4214193605849382249</id><published>2012-08-26T13:10:00.002+01:00</published><updated>2012-08-28T11:19:52.865+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bash"/><category scheme="http://www.blogger.com/atom/ns#" term="hard disk"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="osx"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><title type='text'>How to format a hard drive so it works with Linux, Mac OSX and Windows</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
This is such a great tip, I&#39;m actually excited to share it. If you have an external hard drive its not unreasonable so suggest that you might want to connect it to more than one computer. Its also quite possible you&#39;ll want to read and write with more than one type of &lt;a href=&quot;http://www.ubuntu.com/&quot; target=&quot;_blank&quot;&gt;Operating System&lt;/a&gt;. You would think this would just be standard stuff, but its not. However, as is so often the case, linux makes it easy for you. Simply connect the drive and using disk utils or type (this only works with the device mounted):&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;prettyprint lang-bsh&quot;&gt;$ mount|grep ^&#39;/dev&#39;
&lt;/pre&gt;
&lt;br /&gt;
To list the devices and identify your chosen disk.
Then we need to install a small utility called udftools, as usual is as simple as:
&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;prettyprint lang-bsh&quot;&gt;$ sudo apt-get install udftools
&lt;/pre&gt;
&lt;br /&gt;
Then we&#39;re ready to format your hard disk, ready for use. Just type the following command:
&lt;br /&gt;
&lt;pre class=&quot;prettyprint lang-bsh&quot;&gt;$ sudo mkudffs --media-type=hd --blocksize=512 /dev/sdx
&lt;/pre&gt;
&lt;br /&gt;
(You need to replace /dev/sdx with your device id)
&lt;br /&gt;
Once thats done, you are free to mount your device in which ever OS you like and it should work as expected.
&lt;br /&gt;
Enjoy your day :)
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://ktec.blogspot.com/feeds/4214193605849382249/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7569369/4214193605849382249' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7569369/posts/default/4214193605849382249'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7569369/posts/default/4214193605849382249'/><link rel='alternate' type='text/html' href='http://ktec.blogspot.com/2012/08/how-to-format-hard-drive-so-it-works.html' title='How to format a hard drive so it works with Linux, Mac OSX and Windows'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/04968980018092642760</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7569369.post-2412920048038931036</id><published>2012-08-08T14:55:00.001+01:00</published><updated>2012-08-08T14:55:30.068+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="debugging"/><category scheme="http://www.blogger.com/atom/ns#" term="ruby"/><category scheme="http://www.blogger.com/atom/ns#" term="ruby-debug"/><title type='text'>Useful debugging tip: Printing arrays in a human readable format using ruby-debug</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
When using ruby-debug, sometimes you want to list the methods an object has.&lt;br /&gt;
When you just print out the array you&#39;ll get a big unreadable list like this:&lt;br /&gt;
&lt;br /&gt;(rdb:1) p subject.methods &lt;br /&gt;&lt;br /&gt;│[:call, :[], :===, :yield, :to_proc, :arity, :clone, :dup, :==, :eql?, :hash, :to_s, :lambda?, :b&lt;br /&gt;│inding, :curry, :source_location, :parameters, :bind, :psych_to_yaml, :to_yaml_properties, :to_ya&lt;br /&gt;..&lt;br /&gt;│ry, :`, :shared_examples, :shared_context, :share_examples_for, :shared_examples_for, :share_as, &lt;br /&gt;│ual?, :!, :!=, :instance_eval, :instance_exec, :__send__, :__id__]&lt;br /&gt;&lt;br /&gt;However, using &quot;ps&quot; generates a far more readable, alphabetically sorted list:&lt;br /&gt;&lt;br /&gt;(rdb:1) ps subject.methods&lt;br /&gt;&lt;br /&gt;│!&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gem&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; require_dependency&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;│!=&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; hash&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; require_or_load&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;│!~&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; html_safe?&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; respond_to?&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;│&amp;lt;=&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; in?&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; respond_to_missing?&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;...&lt;br /&gt;│freeze&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; quietly&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; with_options&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;│friendly_id?&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; require&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; with_warnings&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;│frozen?&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; require_association&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; yield&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Not something you&#39;ll need all the time, but definitely a good to know....&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ktec.blogspot.com/feeds/2412920048038931036/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7569369/2412920048038931036' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7569369/posts/default/2412920048038931036'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7569369/posts/default/2412920048038931036'/><link rel='alternate' type='text/html' href='http://ktec.blogspot.com/2012/08/useful-debugging-tip-printing-arrays-in.html' title='Useful debugging tip: Printing arrays in a human readable format using ruby-debug'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/04968980018092642760</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7569369.post-6698626355776094129</id><published>2012-07-25T16:23:00.000+01:00</published><updated>2012-07-25T16:23:28.437+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bash"/><category scheme="http://www.blogger.com/atom/ns#" term="history"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><title type='text'>Run Nyan Cat in your terminal</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
This needs no introduction, its just cos its cool...&lt;br /&gt;
&lt;br /&gt;
Open a terminal window and type:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;prettyprint lang-bsh&quot;&gt;
$ telnet miku.acm.uiuc.edu
&lt;/pre&gt;
&lt;br /&gt;
enjoy&lt;em&gt;....&lt;/em&gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ktec.blogspot.com/feeds/6698626355776094129/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7569369/6698626355776094129' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7569369/posts/default/6698626355776094129'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7569369/posts/default/6698626355776094129'/><link rel='alternate' type='text/html' href='http://ktec.blogspot.com/2012/07/run-nyan-cat-in-your-terminal.html' title='Run Nyan Cat in your terminal'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/04968980018092642760</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7569369.post-7031405884220707776</id><published>2012-07-05T08:25:00.001+01:00</published><updated>2012-07-05T08:36:08.552+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bash"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="mp3"/><category scheme="http://www.blogger.com/atom/ns#" term="music"/><category scheme="http://www.blogger.com/atom/ns#" term="python"/><title type='text'>How to easily sort your mp3&#39;s by genre</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Its not very often that I want to promote my own code, but there&#39;s something I&#39;ve found really useful in getting my mp3 library sorted just the way I want.&lt;br /&gt;
&lt;br /&gt;
But before I send you off to the code, let me first explain the itch that forced the scratch. I have lots of music files, some are used for easy listening, some are used for DJ&#39;ing with &lt;a href=&quot;http://mixxx.org/&quot; target=&quot;_blank&quot;&gt;the most amazing open source DJ software&lt;/a&gt;. The tracks for DJ&#39;ing are a different style so I keep them in a different folder. Before though, I had everything in one huge Music folder.&lt;br /&gt;
&lt;br /&gt;
What I needed was a way to sort all the files by genre so then I could pull out the dj tracks easily. I tried all sorts of apps but nothing quite did what I needed. So it was time to roll up my sleaves and roll my own.&amp;nbsp; Turns out it wasn&#39;t that tricky.&lt;br /&gt;
&lt;br /&gt;
I used python because its fast, and there&#39;s some good libraries out there to help with reading the mp3 meta data.&lt;br /&gt;
&lt;br /&gt;
The project started out just trying to sort a bunch of mp3&#39;s by genre, but as you&#39;ll see, I have added a few more scripts to help with things like rounding bpm, clearing track numbers from the title, printing duplicates, and various other tricks.&lt;br /&gt;
&lt;br /&gt;
The code is available here:&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://github.com/ktec/audioscripts&quot;&gt;https://github.com/ktec/audioscripts&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Please be warned, though, these scripts can damage your files, so make sure you back up your files before you start!!!!&lt;br /&gt;
&lt;br /&gt;
If you have suggestions or improvements, please feel free to &lt;a href=&quot;https://github.com/ktec/audioscripts/fork_select&quot; target=&quot;_blank&quot;&gt;fork the project&lt;/a&gt; and send me pull request.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ktec.blogspot.com/feeds/7031405884220707776/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7569369/7031405884220707776' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7569369/posts/default/7031405884220707776'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7569369/posts/default/7031405884220707776'/><link rel='alternate' type='text/html' href='http://ktec.blogspot.com/2012/07/sort-out-your-audio-file-library.html' title='How to easily sort your mp3&#39;s by genre'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/04968980018092642760</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7569369.post-6510810163454035922</id><published>2012-07-04T09:24:00.000+01:00</published><updated>2012-07-05T03:17:42.331+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bash"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><title type='text'>Convert a list of files to lowercase with one line command</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
If you&#39;ve got a bunch of files with names in mixed case, and you want them all neat and tidy with lowercase, this is way to do it: 
&lt;br /&gt;
&lt;pre class=&quot;prettyprint lang-bsh&quot;&gt;for x in $(ls); do mv $x $(echo $x  | tr &#39;[A-Z]&#39; &#39;[a-z]&#39;); done;
&lt;/pre&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ktec.blogspot.com/feeds/6510810163454035922/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7569369/6510810163454035922' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7569369/posts/default/6510810163454035922'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7569369/posts/default/6510810163454035922'/><link rel='alternate' type='text/html' href='http://ktec.blogspot.com/2012/07/convert-list-of-files-to-lowercase-with.html' title='Convert a list of files to lowercase with one line command'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/04968980018092642760</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7569369.post-4334053001050002361</id><published>2012-07-02T02:45:00.001+01:00</published><updated>2012-07-02T02:45:22.985+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="git"/><title type='text'>Learn to use git merge like a pro</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Its been a long time since I moved from svn over to using git as my source control of choice, and the benefits are huge, but I still remember those first few months trying to understand it.&lt;br /&gt;
&lt;br /&gt;
For a long time I&#39;ve been following the principal of branch per feature, or hack, but when it comes to merging I&#39;ve always just merged straight back in. Thats fine, but if you&#39;re like me, you commit every 5 minutes to ensure you have a clean backup - the problem with this is you master branch gets flooded with micro commits - and consequently the log also. And this also makes life harder in the future when you decided to pull a feature, or you want to allow another developer to pull the feature into their own branch. This is where squashing the merge into one commit really makes sense.&lt;br /&gt;
&lt;br /&gt;
Today I figured its about time I started squashing, so after a quick google I found this &lt;a href=&quot;http://365git.tumblr.com/post/4364212086/git-merge-squash&quot; target=&quot;_blank&quot;&gt;great resource&lt;/a&gt;. Its well worth adding to your feed reader.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ktec.blogspot.com/feeds/4334053001050002361/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7569369/4334053001050002361' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7569369/posts/default/4334053001050002361'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7569369/posts/default/4334053001050002361'/><link rel='alternate' type='text/html' href='http://ktec.blogspot.com/2012/07/learn-to-use-git-merge-like-pro.html' title='Learn to use git merge like a pro'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/04968980018092642760</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7569369.post-2543476535179179346</id><published>2012-06-27T05:56:00.001+01:00</published><updated>2012-07-02T03:52:22.865+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bash"/><category scheme="http://www.blogger.com/atom/ns#" term="grep"/><title type='text'>How to search for a word in all files recursively</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
It occurred to me today that I use this command all the time, but hadn&#39;t posted about it. Its only a short one, but so useful.&lt;br /&gt;
&lt;br /&gt;
Lets say you want to look through all files in the current directory recursively...grep comes to the rescue:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;prettyprint lang-bsh&quot;&gt;
$ grep -r &quot;Search Term Here&quot; .
&lt;/pre&gt;
&lt;br /&gt;
Is all you need!!! There&#39;s many more options to play with, but this is a great start for beginners.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ktec.blogspot.com/feeds/2543476535179179346/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7569369/2543476535179179346' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7569369/posts/default/2543476535179179346'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7569369/posts/default/2543476535179179346'/><link rel='alternate' type='text/html' href='http://ktec.blogspot.com/2012/06/how-to-search-for-word-in-all-files.html' title='How to search for a word in all files recursively'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/04968980018092642760</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7569369.post-5906247632078259148</id><published>2012-06-23T00:14:00.004+01:00</published><updated>2012-07-02T03:57:22.243+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bash"/><category scheme="http://www.blogger.com/atom/ns#" term="history"/><title type='text'>Where&#39;s my bash command history?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;br /&gt;
If you&#39;re like me, you use the terminal all day long, and sometimes forget those useful commands you use the history feature to remind yourself like this: &lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;prettyprint lang-bsh&quot;&gt;history | grep &quot;search term here&quot;
&lt;/pre&gt;
&lt;br /&gt;
Sometimes however, that command you worked out just isnt there anymore, but fear not, Bash keeps it’s own history in a file. You can view that file as stated before, or by opening 
&lt;br /&gt;
&lt;pre class=&quot;prettyprint lang-bsh&quot;&gt;~/.bash_history
&lt;/pre&gt;
&lt;br /&gt;
You can search through your bash_history by piping your history file into grep like so:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;prettyprint lang-bsh&quot;&gt;more ~/.bash_history | grep &quot;wget&quot;
&lt;/pre&gt;
&lt;br /&gt;
Chances are, you&#39;ll find your command. So whats going on here? Well if you pop open your ~/.bashrc file you&#39;ll find the following settings:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;prettyprint lang-bsh&quot;&gt;# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
HISTSIZE=1024
HISTFILESIZE=40960
&lt;/pre&gt;
&lt;br /&gt;
As you can see, the history is cropped, but the commands are stored in the file, so this means your shell opens quickly, and doesn&#39;t load that whole 40Mb file (mine is set really large so I can store everything - and I usually transfer this to new builds)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
So there you have it, despite what it might seem, all is not lost....&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ktec.blogspot.com/feeds/5906247632078259148/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7569369/5906247632078259148' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7569369/posts/default/5906247632078259148'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7569369/posts/default/5906247632078259148'/><link rel='alternate' type='text/html' href='http://ktec.blogspot.com/2012/06/wheres-my-bash-command-history.html' title='Where&#39;s my bash command history?'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/04968980018092642760</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7569369.post-5168096754919981221</id><published>2012-06-20T00:04:00.002+01:00</published><updated>2012-07-05T03:24:19.133+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bash"/><category scheme="http://www.blogger.com/atom/ns#" term="C++"/><category scheme="http://www.blogger.com/atom/ns#" term="gdb"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><title type='text'>segmentation fault error?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Find out yourself :-) This really helped me today....&lt;br /&gt;
&lt;br /&gt;
If you are using gcc, add -g flag when compiling, and then run it using gdb:&lt;br /&gt;
&lt;pre class=&quot;prettyprint lang-bsh&quot;&gt;
$ gdb your-executable
&lt;/pre&gt;
and then
&lt;br /&gt;
&lt;pre class=&quot;prettyprint lang-bsh&quot;&gt;
&amp;nbsp;&amp;gt; run
&lt;/pre&gt;
and then when it gives the seg-fault, this is where we can start debugging:
&lt;br /&gt;
&lt;pre class=&quot;prettyprint lang-bsh&quot;&gt;
&amp;nbsp;&amp;gt; backtrace
&lt;/pre&gt;
This will give you a good hint about what is wrong.
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ktec.blogspot.com/feeds/5168096754919981221/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7569369/5168096754919981221' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7569369/posts/default/5168096754919981221'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7569369/posts/default/5168096754919981221'/><link rel='alternate' type='text/html' href='http://ktec.blogspot.com/2012/06/segmentation-fault-error.html' title='segmentation fault error?'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/04968980018092642760</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7569369.post-3647581721300414146</id><published>2012-06-13T22:59:00.001+01:00</published><updated>2012-07-05T03:25:54.968+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bash"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="photos"/><title type='text'>Update the year on a bunch of photos from the command line</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Its an easy mistake to make, you reset your camera, and enter the date wrong - well maybe just part of the date - this is exactly what I did, I added 2013 instead of 2012. Now a bunch of my photos are sorted wrong and I want to fix it. Being linux of course there&#39;s an easy command line solution.&lt;br /&gt;
&lt;br /&gt;
Using a clever little utility called &lt;a href=&quot;http://www.sentex.net/%7Emwandel/jhead/&quot; target=&quot;_blank&quot;&gt;jhead&lt;/a&gt; makes it easy to manipulate the EXIF data for jpeg files. This is easy to install as always:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;prettyprint lang-bsh&quot;&gt;
$ sudo apt-get install jhead&lt;/pre&gt;
&lt;br /&gt;
Now we can update the header, we need a small bash script to run through all JPG&#39;s in the current directory and update the year, then update the filestamp and we&#39;re good to go:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;prettyprint lang-bsh&quot;&gt;
#~/bin/bash
for i in *.jpg
do
jhead -ds2012 $i
jhead -ft $i
done&lt;/pre&gt;
&lt;br /&gt;
Now just make it executable with:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;prettyprint lang-bsh&quot;&gt;
$ chmod +x ./update_exif_year.sh&lt;/pre&gt;
&lt;pre&gt;&lt;/pre&gt;
And now just run your new script and sit back and enjoy...&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;prettyprint lang-bsh&quot;&gt;
$ sh ./update_exif_year.sh&lt;/pre&gt;

I tend to keep little scripts like this in my local bin,&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;prettyprint lang-bsh&quot;&gt;
$ mv ./update_exif_year.sh ~/bin/&lt;/pre&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ktec.blogspot.com/feeds/3647581721300414146/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7569369/3647581721300414146' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7569369/posts/default/3647581721300414146'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7569369/posts/default/3647581721300414146'/><link rel='alternate' type='text/html' href='http://ktec.blogspot.com/2012/06/update-year-on-bunch-of-photos-from.html' title='Update the year on a bunch of photos from the command line'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/04968980018092642760</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7569369.post-9219383110792132335</id><published>2012-05-20T03:42:00.003+01:00</published><updated>2012-07-02T02:48:13.030+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="gis"/><category scheme="http://www.blogger.com/atom/ns#" term="google maps"/><category scheme="http://www.blogger.com/atom/ns#" term="mapping"/><title type='text'>Convert Google Maps Zoom level to traditional Map scale</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;br /&gt;
Ever wondered how to convert map scale to google zoom and vice versa? &lt;br /&gt;
I’ve made some calculations using the tilling scheme provided by google to calculate envelope’s in each zoom level.&lt;br /&gt;
(Remember that Google Maps use Mercator meters) &lt;br /&gt;
Here are my results:&lt;br /&gt;
&lt;br /&gt;
Zoom level 0&amp;nbsp;&amp;nbsp;&amp;nbsp;      1:20,088,000 meters&lt;br /&gt;
Zoom level 1&amp;nbsp;&amp;nbsp;&amp;nbsp;      1:10,044,000 meters&lt;br /&gt;
Zoom level 2&amp;nbsp;&amp;nbsp;&amp;nbsp;      1:5,022,000 meters&lt;br /&gt;
Zoom level 3&amp;nbsp;&amp;nbsp;&amp;nbsp;      1:2,511,000 meters&lt;br /&gt;
Zoom level 4&amp;nbsp;&amp;nbsp;&amp;nbsp;      1:1,255,500 meters&lt;br /&gt;
Zoom level 5&amp;nbsp;&amp;nbsp;&amp;nbsp;      1:627,750 meters&lt;br /&gt;
Zoom level 6&amp;nbsp;&amp;nbsp;&amp;nbsp;      1:313,875 meters&lt;br /&gt;
Zoom level 7&amp;nbsp;&amp;nbsp;&amp;nbsp;      1:156,938 meters&lt;br /&gt;
Zoom level 8&amp;nbsp;&amp;nbsp;&amp;nbsp;      1:78,469 meters&lt;br /&gt;
Zoom level 9&amp;nbsp;&amp;nbsp;&amp;nbsp;      1:39,234 meters&lt;br /&gt;
Zoom level 10&amp;nbsp;     1:19,617 meters&lt;br /&gt;
Zoom level 11&amp;nbsp;     1:9,809 meters&lt;br /&gt;
Zoom level 12&amp;nbsp;     1:4,909 meters&lt;br /&gt;
Zoom level 13&amp;nbsp;     1:2,452 meters&lt;br /&gt;
Zoom level 14&amp;nbsp;     1:1,226 meters&lt;br /&gt;
Zoom level 15&amp;nbsp;     1:613 meters&lt;br /&gt;
Zoom level 16&amp;nbsp;     1:307 meters&lt;br /&gt;
Zoom level 17&amp;nbsp;     1:153 meters&lt;br /&gt;
Zoom level 18&amp;nbsp;     1:77 meters&lt;br /&gt;
Zoom level 19&amp;nbsp;     1:38 meters&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ktec.blogspot.com/feeds/9219383110792132335/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7569369/9219383110792132335' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7569369/posts/default/9219383110792132335'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7569369/posts/default/9219383110792132335'/><link rel='alternate' type='text/html' href='http://ktec.blogspot.com/2012/05/convert-google-maps-zoom-level-to.html' title='Convert Google Maps Zoom level to traditional Map scale'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/04968980018092642760</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7569369.post-6122347108212657806</id><published>2012-04-23T02:43:00.002+01:00</published><updated>2012-07-05T04:22:26.198+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C++"/><category scheme="http://www.blogger.com/atom/ns#" term="g++"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><title type='text'>possibly undefined macro: AM_GCONF_SOURCE_2</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
When trying to generate the&amp;nbsp; GNU-style infrastructure for an open source project recently I was faced with this interesting error:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;prettyprint lang-bsh&quot;&gt;configure.ac:39: error: possibly undefined macro: AM_GLIB_GNU_GETTEXT
configure.ac:196: error: possibly undefined macro: AM_GCONF_SOURCE_2
autoreconf2.50: /usr/bin/autoconf failed with exit status: 1
&lt;/pre&gt;
&lt;br /&gt;
Fortunately the answer is easy, just install this:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;prettyprint lang-bsh&quot;&gt;$ sudo apt-get install libgconf2-dev
&lt;/pre&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ktec.blogspot.com/feeds/6122347108212657806/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7569369/6122347108212657806' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7569369/posts/default/6122347108212657806'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7569369/posts/default/6122347108212657806'/><link rel='alternate' type='text/html' href='http://ktec.blogspot.com/2012/04/possibly-undefined-macro-amgconfsource2.html' title='possibly undefined macro: AM_GCONF_SOURCE_2'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/04968980018092642760</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7569369.post-7338425085183228982</id><published>2012-04-19T14:01:00.003+01:00</published><updated>2012-07-05T03:28:57.580+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bash"/><category scheme="http://www.blogger.com/atom/ns#" term="find"/><category scheme="http://www.blogger.com/atom/ns#" term="zip"/><title type='text'>How can I extract a load of zip files in a directory?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Use the command line of course!!&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;prettyprint lang-bsh&quot;&gt;
$ find -name &quot;*.zip&quot; -exec unzip {} \;
&lt;/pre&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ktec.blogspot.com/feeds/7338425085183228982/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7569369/7338425085183228982' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7569369/posts/default/7338425085183228982'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7569369/posts/default/7338425085183228982'/><link rel='alternate' type='text/html' href='http://ktec.blogspot.com/2012/04/how-can-i-extract-load-of-zip-files-in.html' title='How can I extract a load of zip files in a directory?'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/04968980018092642760</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7569369.post-2450132219312786434</id><published>2012-04-15T14:42:00.003+01:00</published><updated>2012-07-05T03:38:35.193+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bash"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><title type='text'>How to kill defunct processes in linux</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Many of us have faced this questions so many times. May be many of us 
have solved this issue too. Here, in this topic I just want to help 
those who were not able to sort out this issue and find it hard to kill 
these processes. &lt;br /&gt;
&lt;br /&gt;
Sometimes when we run command&lt;br /&gt;
&lt;pre class=&quot;prettyprint lang-bsh&quot;&gt;$ ps ax | grep sh
&lt;/pre&gt;
&lt;br /&gt;
We get below output&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;prettyprint lang-bsh&quot;&gt;11771 ?        Zs     0:00 [sh] &lt;defunct&gt;
14305 pts/0    S+     0:00 grep sh
26038 ?        Zs     0:00 [sh] &lt;defunct&gt;
23023 pts/0    Ss     0:00 -bash
&lt;/defunct&gt;&lt;/defunct&gt;&lt;/pre&gt;
&lt;br /&gt;
and so on...&lt;br /&gt;
&lt;br /&gt;
In
 above output we see some &amp;lt;defunct&amp;gt;, which means the process is 
either completed its task or has been corrupted or killed, but its child
 processes are still running or these parent process is monitoring its 
child process, hence we see these entries. &lt;br /&gt;
&lt;br /&gt;
To kill this kind of process kill -9 PID don&#39;t work, we can try to kill with this command but it will show this again and again.&lt;br /&gt;
So we need to kill the parent process of this process.&lt;br /&gt;
For
 which we need to know, which is parent process of this defunct process.
 To know this we need to run below command which will show us which is 
the parent process of this process;&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;prettyprint lang-bsh&quot;&gt;$ ps -ef | grep defunct
&lt;/pre&gt;
&lt;br /&gt;
This will give output as below;&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;prettyprint lang-bsh&quot;&gt;root&amp;nbsp; &amp;nbsp; &amp;nbsp;11771 11764&amp;nbsp; 0 Mar11 ?&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 00:00:00 [sh] &amp;lt;defunct&amp;gt;
root&amp;nbsp; &amp;nbsp; &amp;nbsp;14440 23058&amp;nbsp; 0 23:14 pts/0&amp;nbsp; &amp;nbsp; 00:00:00 grep defunct
root&amp;nbsp; &amp;nbsp; &amp;nbsp;26038 26037&amp;nbsp; 0 14:51 ?&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 00:00:00 [sh] &amp;lt;defunct&amp;gt;
&lt;/pre&gt;
&lt;br /&gt;
In above output we can see 6 columns which are as follows;&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;prettyprint lang-bsh&quot;&gt;
UID       PID    PPID   C   STIME   TTY    TIME       CMD
root     11771    11764 0   Mar11   ?      00:00:00   [sh] &lt;defunct&gt;
root     14440    23058 0   23:14   pts/0  00:00:00   grep defunct
root     26038    26037 0   14:51   ?      00:00:00   [sh] &lt;defunct&gt;
&lt;/pre&gt;
&lt;br /&gt;
I&#39;ve adjusted above column to understand better.&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
So now we have got parent process id from above command. Now just kill the parent process id.&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;prettyprint lang-bsh&quot;&gt;$ kill -9 11764 26037
&lt;/pre&gt;
&lt;br /&gt;
And verify that now you are not getting any &amp;lt;defunct&amp;gt; process in out put of below command.&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;prettyprint lang-bsh&quot;&gt;$ ps ax | grep sh
&lt;/pre&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ktec.blogspot.com/feeds/2450132219312786434/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7569369/2450132219312786434' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7569369/posts/default/2450132219312786434'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7569369/posts/default/2450132219312786434'/><link rel='alternate' type='text/html' href='http://ktec.blogspot.com/2012/04/how-to-kill-defunct-processes-in-linux.html' title='How to kill defunct processes in linux'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/04968980018092642760</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7569369.post-3227665022616883246</id><published>2012-04-07T00:16:00.004+01:00</published><updated>2012-07-05T03:43:30.097+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ruby"/><title type='text'>An error occured while installing RedCloth (4.2.7) SOLVED</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Ok, so an error occurred, but how do you get around it?&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;/b&gt;You can solve this with issue by overriding the compiling &lt;tt&gt;CFLAGS&lt;/tt&gt; like this:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;prettyprint lang-bsh&quot;&gt;
$ gem install RedCloth -v 4.2.7 -- --with-cflags=\&quot;-O3 -pipe \
            -march=core2 -Wno-unused-but-set-variable\&quot;
&lt;/pre&gt;
&lt;br /&gt;
&lt;tt&gt;Note: &lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;-O3&lt;/tt&gt;: third optimization level (hard-core users). &lt;i&gt;You can use&lt;/i&gt; &lt;tt&gt;-O2&lt;/tt&gt; &lt;i&gt;instead&lt;/i&gt;.&lt;br /&gt;&lt;br /&gt;&lt;tt&gt;-march=core2&lt;/tt&gt;: my processor family. &lt;i&gt;You can use&lt;/i&gt; &lt;tt&gt;-march=native&lt;/tt&gt; &lt;i&gt;instead&lt;/i&gt;.&lt;br /&gt;&lt;br /&gt;&lt;tt&gt;-Wno-unused-but-set-variable&lt;/tt&gt;: ignoring unused but set variable warning.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ktec.blogspot.com/feeds/3227665022616883246/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7569369/3227665022616883246' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7569369/posts/default/3227665022616883246'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7569369/posts/default/3227665022616883246'/><link rel='alternate' type='text/html' href='http://ktec.blogspot.com/2012/04/error-occured-while-installing-redcloth.html' title='An error occured while installing RedCloth (4.2.7) SOLVED'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/04968980018092642760</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7569369.post-5034979902505435579</id><published>2012-04-03T12:30:00.001+01:00</published><updated>2012-04-03T12:30:43.147+01:00</updated><title type='text'>A complete list of AIM listed stock EPIC codes</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
SPA FDT RGO C21 TTR 3DD ATUK ABBY ABB ABC ABL ACC AXS ACM ACMG APL ACTA AEG ADA ADT AFMF ASW AMS APC ATG AFN AEC AFC AFF AOF AAAM AFCR ACU AFE AMEI AME AMI AGI AGTA ATE ACS AIM AIEA APG AISI AKR ALBA ABM ALO ADI AXM ALK ALLG APNO AGY APHA APH AGLD ALL APS ATPT ALR AN. ALT ANR AMBR AMER AFS AMO AMP AMC AEN AND ASY ABH ANGM AGL AAZ ANCR ANTP AEY AOR API ABTX ARBB ARCH AR. ARC ARDN ARGO AREO ARG AGQ AAU ADID ADIS AMR ARTA ART AST ASH ACHP ADH ACHL AGP PALM ASC ASTO ASTR ATH AHG ATC ATL AUG AUK AUL AURR AUR ACZ ALG AVCT AVA AVN AVR AVS AVIA AVG AVI AVM BPM BPC BLEY BML BTC BGO BNK BAO BQS BHL BCBS BCBW BCB BHR BEG BVM BZM BEM BMR BKY BEST BXP BZT BGTI BGBL BDT BILL BILN BIP BIOM BKSA BLCK BES BLNX BLU BSST BODI BDI BOOM BOR BLVN BRY BMTP BMTO BMT BJU BSP BRH BREE BRT BRK BKWB BRU BUR BRST BYOT CDN CMCL CNN TREE CAMB CAO CNMI CF. CPX CMIP CEL CPC CIU CAPE CLA CPUB CARE CTH CPT CDY CBOX CSH CMX CVH CAZA CAZD CBAY CB. CLTV CLL CCP CCPA CCPC CNKS CAML CEPS CFU CWR CGH CORE CORW CMH CPL CPLC CPLP CCT CHAR CCAP CHC CAE CLS CFC CGA CGOP CGOW CPEH CHNS CHWI CWO CTG CHH CHL CICR COP CCS CAP CEB CEBW CLEA CTN CLC CLF CPSP CZA CEO CBRA CGG CHRT CFX COL COMS CNC CNR CXM CON CDG CGM CFL CIC COO CDC CRA CORO COV CPS RIG CRW CRAW CRHL CRO TIDE CIG CMG CSB CRS CSC CSFG CSS CBX CUP CVSG CYAN CRX CSG DOO DAY DAN DTG DTC DTE DAV DWSN DCD DDD DL. DLC DEMG DSN DEO DESC DES DDE DWHT DWHA DHIR DCP DGB DIGI DSG DXR DME DISL DMP DODS DCI DPL DMG DOTD DBAY DPP DQE DRG DUPD DRV ETX EPO EBP EEP ELR EFD EBQ ECK EAH ECV ECR EDL EDD EGS EDR EIH EKF ELCO ELE EKT ECAP ECAW EMED EML EMIS EMR EME EO. EDA ENEG EGX ENGI ETQ EXXI EXXS EEE ENV ENVS ESR EVN EVNW ENRT ESO EQEO EQEW EHP PAL ERE EROS ERU ESG ESS ECDC EUA EIIB ENK EOG ECPC EGU EVT EVOL XPS FTS FRP FKL FOGL FSF FPM FDBK FRX FCR FFA FND FIF FDI FAN FDP FPO FKE FITB FLK FSG FBT FRM FTE FEP FEN FRR FML FCRM FUZ8 FIP FUM FFY GAH GAL GLR GON GTE GAS GBG GCM GBF GEM GNG GPK GTC GGG GLOK GBR GED GBP GBO GMA GOAL GOI GOO GDP GRL GHH GWMO GGP GCO GDG GKO GLIF GSL GFM NBT GTL GKP GPX GVC GWP HAT HAIK HALO HAL HMB HUW HMY HGR8 HDD HSP HAR HGV HVE HTI HTIA HCEG HLO HSM HVT HVTB HVTA HLS HEGY HCL HEP HER HSS HGM HTIG HRCO HMLH HDT HZM HTT HCP HUM HCM HYD HYR HYDG ISL IDG ICB IDA IDS IDOX IBPO IGAS ILA IKA ILX IGE ILI IMTK IMJ IME IDH IMM IHUK IPX IPEL IVOF IVON IVO IMD IRG IGC IGCW IHC IEL IRGP IND IDM IRC INDI INFO INFS IIP IIPW INFA IMAC INL INNO INC INS IFM IHP INB IGP ISG INTQ ITQ IMIC IGR INRE INVU IOF IOM IPNT IPP IPSA IPS IQE ISPH ISH IBB ITA IAE ITM JQV CRPR JHDA JHD JPLH JRIC JIM JLF JHL JJB JLH JSG JNY JSJS JSM JUB JLP JDG JIL JCR KBT KAH KLG KDR KBC KDDG KEA KED KEFI KLN KEN KENZ KIBO KWI KIO KGI KSI KYS KUBC LGN LKI LND LOGP LTHP LTHM LEAF LED LDP LDSG LEE LEG LGNG LGO LRL LID LSIC LSI LGT LCT LPX LIV LOQ LHD LOK LMT LRM LSC LCG LOND LONG LONR LZM LWT LCA LPH LPA LEF LEFW LUD LUP LXB WINK SAA MPE MOIL MMS MAI MJW MMF MSS MNGS BB43 MAN MFX MPLE MAR MAC MARL MCII MASA MTEC MTA MTW MXP MAX MXM MAYG MUBL MCRB MDM MDY MOG MVC MEDU MEDG MDC MSQ MDZ MDST MEDI MDW MEN MHG MERC MRG MES MTT MRX MTL MNC MET MRM MBH MSYS MST MSG MWH MIO MIRL MIN MIRA MLD MCAP TMMG MDG MOS MBT MBW MBO MWG MONI MM. MRN MORT MCM MTV MOGP MWE MUL MUR MWA MBE NBR NANO NASA NSN NARS NGR NPE NUS NBNK NCCL NEO NET NETD NPT NGH NWKI NEPI NWT NRR NFC NGG NXS NGP NICL URU HAWK NBL NTBC NCON NLD NMG NSH NORK NBB NGL NRRP NTA NBI NTBR NWIG NTOG NVTA NOP NUM NWF NYO OTE OAH OCL OBT OPF OHM OEX ODX OMG ONL OBP OPG OSG OPE OPAY ORA ORCP OCH OGN OPP ORM OMI OSU OTC OTV OTM OVG OXA OCG ONG OXS PACL PAX PHU PCA PMS PAF PPA PMR PANR PRG PAA PKG PPH PMG PSQ PGD PFP PTS PHO PTV PGL PNA PEN PPR PNG PGH PEG PTMN PDL PET MATD PCI PELE PTR PHRX PHRM PKP PSL PHSC PYC PGB PCL PINN PIP PTD PVT PPT PPTR PHC PIM PLA PPN PTEC PLE POS PMK PMEA PMEW POLR POL PTCM PMP PCGB PFLM POWR PRA PMA PPC PRES PRZ PACC PFO PRP PDC PCF PCFB PHD PBTY PIL PRO PGC PTH PROP PPIX PPIR PMHL PRDF PVF PRM PPS PROV PXS PVR PRX PGS PSPI PTO PUR PURE PDX QRES QIH QDG QFI QYM RGI RAB RSS RDP RAM RMM RQIH RRL RNSM RRF REM RUSP RCG RLE RGD REAL RC2 RMP RLH RRR REDT RDF RHL RHM RED RPT RGT RGM RGS GMX RENE RNWH REH WIND RSOX RIIG RST RTG RHEP RIC RBN RSI RKH ROM ROL RXP RTC RUBI RES RUR RWS SNT SBLM SAC SAF SAG SLE SND SAND SLG SLGB SAR SAVG SCLP SCPA SCEL SDI SSY SGZ SCO SEA SEE SER SRB SQZ SVO SVR SEV SVCA SHG SHRE SCAP SHLP SHOK SIAG STEC SGR SRX SGM SNS SLN SID SIM SNCL SXX SRSP SRE SSV SPL SKHG SKYW SLM SLNG STF SNAK SGO SPFL SRT SSP SOLO SOLG SOMA SOM SBD SPE SORB SOU SAL SPK SEGR SYG SDIC MCAU SRO SPMG SPSM SQS SQB SQBW SPPC SDM STAF STA SGI SVE SOG STEL STCM SEY SGG SAPO STL STM STT STR SNRP STI STV STVW STTM SUMM SKR SRES SC. STK SCE SUN SUH SWL SWJ SWP SLV SYM SNG SYNC SAM SYN SYS TAIH TTV TPF TND TAN TNG TNZ TAST TAU TAW TEG TJI TEF TCM TIL TAL TEX TCF THG TYM THAL THB TFL TQC THR TFW TIR TIK TMW TNCS TNCI TRX TSW TAM TAMW TXR TMT TMC TOL TLDH TOT TLY TTNA TTNM TOU TMZ TRP TOYE TRCS TRE TRAK TBI TSG TRT TVZ TRV TSTR TRIC TCN TRC TPJ TSTL TPS TRBO TVCH TWE TWEW TXO TYRU TYR UBC UKR UTN UFG ULT UEP UCP UCG UNG UVEL UEN URA UEM VPP VAL VCF VML VGM VELO VEL VMP VRP VVS VTU VIY VOG VNH VNI VPF VOF VNL VDN VIP VIR VOC VIS VGAS VLE VPHA VYKE WHI WALG WGB WAS WTH WATR WET WFC 2020 TWL WTI WEB WPR WEST WTN WHL WSG WTE WST WFCA WBN WORK WSI WKS WOR WSPR WREN WYG WYN WSP XCAP XEL XCT XGT XGTA XTR XXIC YCI YCO YGH YOU YNGA YNGN YUJ ZMNO ZIOC ZEN ZTR ZOX ZOO ZYT&lt;br /&gt;
&lt;br /&gt;
Have some fun with that lot!!!&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ktec.blogspot.com/feeds/5034979902505435579/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7569369/5034979902505435579' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7569369/posts/default/5034979902505435579'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7569369/posts/default/5034979902505435579'/><link rel='alternate' type='text/html' href='http://ktec.blogspot.com/2012/04/complete-list-of-all-aim-listed-stock.html' title='A complete list of AIM listed stock EPIC codes'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/04968980018092642760</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7569369.post-7260333359755010887</id><published>2012-04-03T12:25:00.000+01:00</published><updated>2012-07-05T03:19:51.750+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><title type='text'>Ever wonder what all the directories in linux are for? Well here&#39;s how to find out...</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Take a read through this and you&#39;ll be a wise ol&#39; owl by the end of it.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.pathname.com/fhs/pub/fhs-2.3.html&quot;&gt;http://www.pathname.com/fhs/pub/fhs-2.3.html&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ktec.blogspot.com/feeds/7260333359755010887/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7569369/7260333359755010887' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7569369/posts/default/7260333359755010887'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7569369/posts/default/7260333359755010887'/><link rel='alternate' type='text/html' href='http://ktec.blogspot.com/2012/04/ever-wonder-what-all-directories-in.html' title='Ever wonder what all the directories in linux are for? Well here&#39;s how to find out...'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/04968980018092642760</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7569369.post-7524433183788228076</id><published>2012-04-03T03:46:00.000+01:00</published><updated>2012-07-05T04:23:21.419+01:00</updated><title type='text'>Cant transfer music to my ipod with linux using Rhythmbox or Banshee</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
If you&#39;ve ever experienced the incredibly frustrating situation where your ipod show up on the desktop, but no matter what you try, you simply can&#39;t transfer files to it. Its enough to make you scream - and wonder why you ever thought buying an apple devise was a good idea.&lt;br /&gt;
&lt;br /&gt;
Well its good that you came here, because there IS a solution. And its not hard to implement.&lt;br /&gt;
&lt;br /&gt;
First off you need to establish the UUID&amp;nbsp; (Universally Unique IDentifier) of your device.&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;prettyprint lang-bsh&quot;&gt;ls -l /dev/disk/by-uuid&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
Once you have established your ipod&#39;s UUID, you can now add an entry to your systems fstab file, usually located here: /etc/fstab&lt;br /&gt;
&lt;br /&gt;
The format you want is this:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;prettyprint lang-bsh&quot;&gt;UUID=DEVICE_UUID_HERE      /media/iPod     auto  rw,user,noauto  0   0&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
*You want to use UUID because /dev/sdX is not constant and may change when pluging other devices.&lt;br /&gt;
&lt;br /&gt;
Then create the mount point:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;prettyprint lang-bsh&quot;&gt;mkdir /media/iPod&amp;nbsp;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
And finally remove the ipod and reconnect it and Voilà!&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ktec.blogspot.com/feeds/7524433183788228076/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7569369/7524433183788228076' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7569369/posts/default/7524433183788228076'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7569369/posts/default/7524433183788228076'/><link rel='alternate' type='text/html' href='http://ktec.blogspot.com/2012/04/cant-transfer-music-to-my-ipod-with.html' title='Cant transfer music to my ipod with linux using Rhythmbox or Banshee'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/04968980018092642760</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7569369.post-1422373511843468511</id><published>2012-03-18T08:22:00.001+00:00</published><updated>2012-07-05T03:20:16.852+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bash"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><title type='text'>More ways to find out what version of Linux you are using....</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
There are a lot of possible reasons why Ubuntu user may want to find
 out Ubuntu version installed on his or her computer. And this is not 
due to short-term memory or something. Many Ubuntu newbies just feel 
lost in all those Ubuntu codenames e.g. Lucid Lynx or Maverick Meerkat 
and version numbers like 10.04 LTS, 10.10 etc. There are se&lt;em&gt;veral ways to find out what Ubuntu version is installed on a computer/laptop. See them below in this post.&lt;/em&gt;&lt;br /&gt;

&lt;span id=&quot;more-569&quot;&gt;&lt;/span&gt;&lt;br /&gt;

&lt;br /&gt;
The easiest way to get Ubuntu version and codename is to open Ubuntu 
menu –&amp;gt; System –&amp;gt; About Ubuntu. It will show version number of 
running that is usually enough for newbies:&lt;br /&gt;

&lt;a href=&quot;http://www.ubuntuka.com/static.images/20100716_linux_for_human_beings.png&quot; rel=&quot;lightbox[569]&quot;&gt;&lt;img alt=&quot;Ubuntu version&quot; class=&quot;aligncenter size-medium wp-image-572&quot; height=&quot;219&quot; src=&quot;http://www.ubuntuka.com/static.images/20100716_linux_for_human_beings-300x219.png&quot; title=&quot;Ubuntu version&quot; width=&quot;300&quot; /&gt;&lt;/a&gt;&lt;br /&gt;

&lt;br /&gt;
&lt;b&gt;Find out Ubuntu version using Command Line&lt;/b&gt;&lt;br /&gt;

In order to use one of the following ways to identify Ubuntu version 
you have to open Terminal (go to Ubuntu main menu –&amp;gt; Accessories 
–&amp;gt; Terminal):&lt;br /&gt;


&lt;div class=&quot;wp_syntax&quot;&gt;
&lt;div class=&quot;code&quot;&gt;
&lt;pre class=&quot;bash&quot; style=&quot;font-family: monospace;&quot;&gt;&lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;bash&quot; style=&quot;font-family: monospace;&quot;&gt;&lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;cat&lt;/span&gt; &lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;/&lt;/span&gt;etc&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;/&lt;/span&gt;issue&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
or&lt;br /&gt;


&lt;div class=&quot;wp_syntax&quot;&gt;
&lt;div class=&quot;code&quot;&gt;
&lt;pre class=&quot;bash&quot; style=&quot;font-family: monospace;&quot;&gt;&lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;bash&quot; style=&quot;font-family: monospace;&quot;&gt;&lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;cat&lt;/span&gt; &lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;/&lt;/span&gt;etc&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;/&lt;/span&gt;issue.net&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
This will show Ubuntu version number but without codename:&lt;br /&gt;


&lt;div class=&quot;wp_syntax&quot;&gt;
&lt;div class=&quot;code&quot;&gt;
&lt;pre class=&quot;bash&quot; style=&quot;font-family: monospace;&quot;&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre class=&quot;bash&quot; style=&quot;font-family: monospace;&quot;&gt;Ubuntu 10.04.1 LTS&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
Here is another command for the same purpose:&lt;br /&gt;


&lt;div class=&quot;wp_syntax&quot;&gt;
&lt;div class=&quot;code&quot;&gt;
&lt;pre class=&quot;bash&quot; style=&quot;font-family: monospace;&quot;&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre class=&quot;bash&quot; style=&quot;font-family: monospace;&quot;&gt;lsb_release &lt;span style=&quot;color: #660033;&quot;&gt;-a&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
Sample output (taken at my Ubuntu Lucid Lynx):&lt;br /&gt;


&lt;div class=&quot;wp_syntax&quot;&gt;
&lt;div class=&quot;code&quot;&gt;
&lt;pre class=&quot;bash&quot; style=&quot;font-family: monospace;&quot;&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre class=&quot;bash&quot; style=&quot;font-family: monospace;&quot;&gt;Distributor ID: Ubuntu
Description: Ubuntu 10.04.1 LTS
Release: &lt;span style=&quot;color: black;&quot;&gt;10.04&lt;/span&gt;
Codename: lucid&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
This one shows complete information about version of Ubuntu you run at your computer including codename and release number.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ktec.blogspot.com/feeds/1422373511843468511/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7569369/1422373511843468511' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7569369/posts/default/1422373511843468511'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7569369/posts/default/1422373511843468511'/><link rel='alternate' type='text/html' href='http://ktec.blogspot.com/2012/03/more-ways-to-find-out-what-version-of.html' title='More ways to find out what version of Linux you are using....'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/04968980018092642760</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7569369.post-8050396072329329766</id><published>2012-03-09T09:35:00.001+00:00</published><updated>2012-07-05T03:20:36.283+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bash"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><title type='text'>Delete empty directories using linux</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Not sure how easy this is with Windows, but on Linux, if you want to delete all empty directories in the current path, just type this:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;bbcode_code&quot; style=&quot;height: 36px;&quot;&gt;find -depth -type d -empty -exec rmdir {} \;&lt;/pre&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ktec.blogspot.com/feeds/8050396072329329766/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7569369/8050396072329329766' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7569369/posts/default/8050396072329329766'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7569369/posts/default/8050396072329329766'/><link rel='alternate' type='text/html' href='http://ktec.blogspot.com/2012/03/delete-empty-directories-using-linux.html' title='Delete empty directories using linux'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/04968980018092642760</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7569369.post-6513651152018097342</id><published>2012-02-23T21:07:00.000+00:00</published><updated>2012-07-05T04:24:12.320+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bash"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><title type='text'>How to set your screen to go blank after X seconds on linux</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
So lets say you use your laptop at night, and you want to leave it on, but have the screen go blank, how to do you get it to do that? Really easy actually. Type this command into your terminal and the screen will go blank after 10 seconds. &lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;prettyprint lang-bsh&quot;&gt;
$ sudo xset s blank
$ sudo xset s 10
&lt;/pre&gt;
&lt;br /&gt;
Lots &lt;a href=&quot;http://www.shallowsky.com/linux/x-screen-blanking.html&quot; target=&quot;_blank&quot;&gt;more information about screen blanking here&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ktec.blogspot.com/feeds/6513651152018097342/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7569369/6513651152018097342' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7569369/posts/default/6513651152018097342'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7569369/posts/default/6513651152018097342'/><link rel='alternate' type='text/html' href='http://ktec.blogspot.com/2012/02/how-to-set-your-screen-to-go-blank.html' title='How to set your screen to go blank after X seconds on linux'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/04968980018092642760</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7569369.post-2410913612488276490</id><published>2012-02-23T02:27:00.000+00:00</published><updated>2012-07-05T04:25:02.325+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bash"/><category scheme="http://www.blogger.com/atom/ns#" term="gems"/><category scheme="http://www.blogger.com/atom/ns#" term="rails"/><category scheme="http://www.blogger.com/atom/ns#" term="ruby"/><title type='text'>Could not find a JavaScript runtime?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
If you get the &quot;Could not find a JavaScript runtime&quot; error when attempting to run a rails app using the foreman gem on ubuntu then its a simple fix:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;prettyprint lang-bsh&quot;&gt;
$ sudo apt-get install nodejs
&lt;/pre&gt;
&lt;br /&gt;
That will get you up and running...&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ktec.blogspot.com/feeds/2410913612488276490/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7569369/2410913612488276490' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7569369/posts/default/2410913612488276490'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7569369/posts/default/2410913612488276490'/><link rel='alternate' type='text/html' href='http://ktec.blogspot.com/2012/02/could-not-find-javascript-runtime.html' title='Could not find a JavaScript runtime?'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/04968980018092642760</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>