code needs smileys J-_-L
index | fresh | irbtools | zucker | pws | github | ruby on ubuntu | euler
19.01.12
3 comments

pws: The ruby-powered command-line password manager

  • stores your passwords in a file on your disk
  • encrypts the file with a master password
  • is designed for every-day-use
  • is written in 234 lines of understandable Ruby code… Read it!
  • is tested with 222 Cucumber steps […]
09.01.12

Access the system clipboard with JRuby

This is my first jruby code (written for the clipboard gem) and I was quite surprised that you only need one-liners ;) […]

07.12.11
3 comments

RubyBuntu -6- gedit 3! wtf? set it up for ruby/web development :)

So you’ve installed (or upgraded to) ubuntu 11.10 and everything looks great… Except – uh!, lots of gedit plugins are only compatible with gedit 2! But don’t be sad.. or angry.. This guide points out, how to, nevertheless, create a solid foundation that allows you getting prodcutive with gedit! […]

05.12.11
3 comments

Fixing a little anchor permalinks vs. pagination issue (using javascript and jekyll)

I am using the Jekyll blog generator for some projects (still not sure if I really like it..) and came across the following requirement the other day:

  • The blog should only have an index page, no (visible) sub-posts
  • This index page should use pagination
  • There should be the ability to link to a specific blog post

The problem was: I wanted to use anchor links (http://some.url/#post-identifier), but – because of the pagination – blog posts “change” their index page (e.g. in jekyll, they move from /#example to /page2/#example). […]

28.11.11

Why you should switch to 1.9: Three Ruby 1.8 bugs

Ruby 1.8 dies in June 2012. This post shows some small examples, why this is good ;) […]

24.10.11
3 comments

Pass multiple blocks to methods using named procs

codebrawl · gem · gist · hints · ruby · ruby1-9

My codebrawl entry (gist) got the 5th place (out of 20). Want to use it in real life :) […]

18.08.11
5 comments

RubyBuntu -5- Modernize your gedit Ruby language specs!

How to get the following for your gedit:

  • Up-to-date Ruby syntax highlighting
  • Proper highlighting for .js.erb or .yml.erb files
  • Gemfile.lock highlighting
    […]
15.07.11 16.07.11

Three little tips for slimmer Rails migrations

gem · hints · one-liners · plugin · rails · rails2 · rails3 · ruby

Rails migrations are easy to understand and easy to write. However, you can save some unnecessary key strokes by applying these three tips :) […]

29.06.11

Building yet another terminal colors gem: term-ansicolor meets rainbow

irb · ruby

There are plenty terminal color gems out there. Now, there is one more. Why? […]

01.06.11

eurucamp: Tweak your Ruby consoles - 2011 edition