Tag: code

Patch Some Code – Linux Tip

As you use a Linux computer you will run into a time or two where you will need to build a program from it’s source code. Sometimes this code will need to be patched to add some functionality you want, to fix a bug, or even to add in your personal touches. Linux comes with …

Read more

My Ruby Cookbook: #1 Textile Convertor

I just got a simple script working that will parse a text file that is marked up in “Textile”:http://textism.com/tools/textile/ and turn it into HTML(Hyper Text Markup Language). It is a simple “Ruby”:http://www.ruby-lang.org script that requires RubyGems and “RedCloth”:http://www.whytheluckystiff.net/ruby/redcloth/. Just run <typo:code> ruby textilize.rb myfile.txt another_file.txt </typo:code> and it will create a myfile.txt.html and another_file.txt.html. This …

Read more