August 2011
9 posts
Fuck HTML5 this is the future :-)
Probably this is an old news and probably every good Rubyist knows about this site. But either way for those like me that want to be on top of the latest news in our great community, I give you Rubyflow :-)
Middle Man is a static site generator and it’s really quite useful for you to create those sites for presenting business stuff :-P
This again is not a programming tip but it was something that happend to me today, and as I found that I wanted to share it. Today I was trying to get octopress working with github pages without luck, after reloading my rvm and trying to install latest vm from I got an error getting the dependencies.
This error was because rvm passing by default the opton -Werror-attribute which pass same option to all the native gems installed by it. So this was some sort of a bug and I had to change my local rbconfig.rb to get it fix, which I didn’t do because rubygems have a bug which I don’t know if it got solved but I reported it. So beware of this for your future rvm installations.
What I found today is what will be my new blogging platform for my programming journalism; it’s name is Octopress which is a set of modules on top of the fabulous blogging engine Jekyll which is what’s power Github Pages and works on top of Git.
Well this is not a programming tip but it’s a good minimal project to play around in the following days I will try to migrate this blog to Octopress and play around with it. I hope to start some contributions to the project as well and learn new things to keep posting on my daily tips.
After watching a video about doing something for 30 days I decided to give it a try, my goal for this month will be to learn something regarding programming languages in general for 30 days and making a post in here for accountability.
Today I did not make a lot of research due to some illness in my body, but at least I learned something this is a one liner for removing the last character from each line on a file and changing it for another character in this case I needed this at work and did not want to use an editor. The thing goes a llittle bit like this:
$ ruby -pe -i.bak ‘gsub(/$\n/, “,\n”)’ file.txt
Tomorrow I’ll try to do another thing with Ruby or any other language just to keep moving things forwards.