Skip to content

Instantly share code, notes, and snippets.

url
http://feeds.feedburner.com/peelmeagrape
http://feeds.feedburner.com/ozonesoft
http://www.davidjrice.co.uk/xml/atom/feedburner.xml
http://feeds.feedburner.com/pabcas
http://paulmwatson.com/journal/feed/atom/
http://ozone.wordpress.com/feed/
http://tonybyrne.blogspot.com/feeds/posts/default
http://fintanp.wordpress.com/feed/
url
http://feeds.feedburner.com/peelmeagrape
http://feeds.feedburner.com/ozonesoft
http://www.davidjrice.co.uk/xml/atom/feedburner.xml
http://feeds.feedburner.com/pabcas
http://paulmwatson.com/journal/feed/atom/
http://ozone.wordpress.com/feed/
http://tonybyrne.blogspot.com/feeds/posts/default
http://fintanp.wordpress.com/feed/
url
http://feeds.feedburner.com/peelmeagrape
http://feeds.feedburner.com/ozonesoft
http://www.davidjrice.co.uk/xml/atom/feedburner.xml
http://feeds.feedburner.com/pabcas
http://paulmwatson.com/journal/feed/atom/
http://ozone.wordpress.com/feed/
http://tonybyrne.blogspot.com/feeds/posts/default
http://fintanp.wordpress.com/feed/
http://www.theirishpenguin.com/category/rubyireland/feed/
http://www.bkenny.com/blog/feed/
http://www.hennessynet.com/blog/?feed=rss2
http://roundcrisis.wordpress.com/feed/
http://feeds.feedburner.com/gavinjoyce
http://feeds.feedburner.com/peelmeagrape
http://feeds.feedburner.com/ozonesoft
http://www.davidjrice.co.uk/xml/atom/feedburner.xml
http://feeds.feedburner.com/pabcas
http://paulmwatson.com/journal/feed/atom/
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789a
# a simple/configurable rake task that generates some random fake data for the app (using faker) at various sizes
# NOTE: requires the faker or ffaker gem
# sudo gem install faker - http://faker.rubyforge.org
# OR
# sudo gem install ffaker - http://github.com/EmmanuelOga/ffaker
require 'faker'
class Fakeout
@theirishpenguin
theirishpenguin / The Ruby Ireland Shorts Pre-April.txt
Created April 3, 2011 15:11
Week Starting Mon 15th Feb 2011
* Declan shares a gotcha conerning Shams and Machinist 2 - Machinist 2 doesn't use it any more! http://www.theirishpenguin.com/2011/02/16/machinist-2-and-the-undefined-method-foo-for-shammodule-error/
* Good news for Netbeans users, JRuby is working on a deal to keep Rails support in Netbeans via a plugin. http://markmail.org/message/r7fliknkieg7fnwq
* I've been a long time TextMate user, but the lack of window splits and a terminal have always grated. This week I had a little time to look at the state of the art for editors for Rails development. I looked at RubyMine (too slow), Emacs (too hard to setup and slow), Sublime (incomplete), Coda (not deep enough), and BBEdit (didn't click with me). Finally, I revisited Vim (MacVim). It seems to have a loyal following and after I spent the time going through the Vimtutor, I am now a convert. As an editor, Vim rocks. The power of the text navigation and manipulation alone were worth switching for, but add in Rails.vim (http://rails.vim.tpope.net/) and a ready
Thanks for your reply. It was a set of Sony headphones where one earphone stopped working the other day so I popped in to see ...
... what was required to get an exchange. I was told that a simple exchange was only possible within the first 28 days or if I had purchased a special warranty. I will try to track down the receipt and call into the store again if the purchasing of the special warranty is not crucial.
Thanks,
Declan
@theirishpenguin
theirishpenguin / enhanced_logger.rb
Created January 1, 2012 20:44
Override Logging messages in Rails
# drop this into config/initializers/enhanced_logger.rb
raise 'Check logger workaround if Rails version has changed' unless
Rails::version == "3.0.7"
# Overrides /path/to/gems/activesupport-3.0.7/lib/active_support/buffered_logger.rb
module ActiveSupport
class BufferedLogger
def add(severity, message = nil, progname = nil, &block)
return if @level > severity
@theirishpenguin
theirishpenguin / psgrep
Created January 11, 2012 10:13
psgrep Bash function for no-nonsense ps output
# Drop this into your .bash_aliases or .bashrc
# Usage:
# psgrep some_substring_of_the_process_command
psgrep() { ps -ea -o pid,cmd|grep -v grep|grep $1 ;}