Black and White Thoughts

month

August 2011

9 posts

Using Frameworks Doesn’t Mean You Don’t Have To Know What You’re Doing → davybrion.com
Aug 24, 20112 notes
#web
Welcome to HTML11 Labs → html11.org

Fuck HTML5 this is the future :-)

Aug 17, 20110 notes
#randomness
Programming Tip #8: Rubyflow → rubyflow.com

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 :-)

Aug 15, 20110 notes
#ruby 30dayhabit
Programming Tip #5: Middle Man → middlemanapp.com

Middle Man is a static site generator and it’s really quite useful for you to create those sites for presenting business stuff :-P

Aug 09, 20110 notes
#ruby 30dayhabit
Play
Aug 04, 20111 note
#ruby 30dayhabit
Programming Tip #3: Compilation errors with rvm

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.

Aug 03, 2011-1 notes
#ruby #30dayhabit
Programming Tip #2: Blogging Platform

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. 

Aug 02, 20111 note
#ruby #blogging #30dayhabit
Aug 02, 2011545 notes
#photography
Programming Tip #1: Ruby one liner

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.

Aug 01, 2011-1 notes
#ruby #30dayhabit
Next page →
2012 2013
  • January 45
  • February 34
  • March 33
  • April 37
  • May 33
  • June 7
  • July
  • August
  • September
  • October
  • November
  • December
2011 2012 2013
  • January 17
  • February 2
  • March 2
  • April 31
  • May 64
  • June 20
  • July 9
  • August 8
  • September
  • October 12
  • November 1
  • December 21
2010 2011 2012
  • January 1
  • February
  • March
  • April
  • May 2
  • June 5
  • July 5
  • August 9
  • September 5
  • October 16
  • November 10
  • December 8
2009 2010 2011
  • January 17
  • February 9
  • March 14
  • April 3
  • May 4
  • June 1
  • July
  • August
  • September
  • October
  • November
  • December 9
2008 2009 2010
  • January 9
  • February 2
  • March 4
  • April 5
  • May 15
  • June 4
  • July 31
  • August 2
  • September 8
  • October 5
  • November 7
  • December 58
2007 2008 2009
  • January 16
  • February 67
  • March 8
  • April 19
  • May 17
  • June 16
  • July 8
  • August 2
  • September 2
  • October 4
  • November
  • December 8
2007 2008
  • January
  • February
  • March 34
  • April 10
  • May 14
  • June 29
  • July 16
  • August 27
  • September 21
  • October 17
  • November 5
  • December 10