rcrowley + ruby   96

Treasure Data Blog | Fluentd: the missing log collector
A LogStash-like log aggregation tool that compares itself favorably to Scribe and Flume.
logging  ruby  fluentd 
8 weeks ago by rcrowley
seamusabshere/unix_utils - GitHub
Or, you know, write a shell script? Fuck.
ruby  unix 
march 2012 by rcrowley
braintree/curator - GitHub
Nicely abstracted Riak-backed ORM.
rails  ruby  riak  curator  orm 
february 2012 by rcrowley
Null Objects and Falsiness | Virtuous Code
The best thing about Django's auth subsystem is that non-logged-in users have a User subclass dedicated to them so you don't have to check for None.

This article goes through the ins and outs of this pattern in Ruby.
ruby  nullobject  designpatterns  polymorphism 
january 2012 by rcrowley
rubygems/rubygems-mirror - GitHub
A more official tool for mirroring RubyGems.
rubygems  ruby  packaging 
january 2012 by rcrowley
lib/veewee/scancode.rb at master from jedi4ever/veewee - GitHub
Ruby code from VeeWee that generates keyboard scancodes. Useful for programmatically controlling VirtualBox.
keyboard  scancode  ruby  veewee  virtualbox 
january 2012 by rcrowley
Monitoring Wonderland Survey - Metrics - API - Gateways
An awesomely comprehensive listing of monitoring interoperability tools.
monitoring  metrics  graphite  ganglia  munin  collectd  opentsdb  ruby  python 
january 2012 by rcrowley
Hosting your own rubygem server » 2beards
Just in case. Mirroring packages is an oft-overlooked part of operating a large infrastructure.
ruby  rubygems  mirroring  packaging 
january 2012 by rcrowley
paulasmuth/fnordmetric - GitHub
Event grapher that performs not just predetermined mathematical transforms on input but arbitrary Ruby functions.
monitoring  logging  metrics  redis  ruby  eventmachine  fnordmetric 
january 2012 by rcrowley
ripienaar/graphite-graph-dsl - GitHub
Ruby code for describing a Graphite graph. So far, this appears to be used to drive Nagios checks based on data collected by Graphite.
graphite  nagios  ruby 
december 2011 by rcrowley
github/rack-statsd - GitHub
Stats from Rack apps. This can definitely be extended to do more, a la codahale/metrics and friends.

Perhaps the biggest revelation in reading the source, however, is that you can change a Ruby process' title by setting $0.
metrics  rack  statsd  ruby 
december 2011 by rcrowley
d11wtq/whittle - GitHub
Sweet LALR parser example written in Ruby. I'm confused about its lexer, though.
ruby  parsing  lalr 
december 2011 by rcrowley
lusis/discotheque - GitHub
(Dumping GitHub watches into Pinboard.)

AWS node discovery tools.
aws  ruby  discovery  ops 
october 2011 by rcrowley
mdp/gibberish - GitHub
(Dumping GitHub watches into Pinboard.)

Ruby encryption APIs.
ruby  openssl  ssl  encryption 
october 2011 by rcrowley
jordansissel/rvm-packaging - GitHub
(Dumping GitHub watches into Pinboard.)

RVM-like packaging for Ruby using FPM.
rvm  fpm  ruby  packaging 
october 2011 by rcrowley
tmm1/rbtrace - GitHub
(Dumping GitHub watches into Pinboard.)

strace for Ruby.
strace  rbtrace  ruby 
october 2011 by rcrowley
bensie/sshkey - GitHub
(Dumping GitHub watches into Pinboard.)

Ruby classes for SSH key pairs. Used in my Extending Puppet talk.
ruby  ssh  openssh  openssl 
october 2011 by rcrowley
drbrain/strace_me - GitHub
(Dumping GitHub watches into Pinboard.)

Hook to strace a particular block of Ruby code.
strace  ruby 
october 2011 by rcrowley
maca/arguments - GitHub
(Dumping GitHub watches into Pinboard.)

Python-style keyword arguments for Ruby 1.8/1.9.
ruby  python 
october 2011 by rcrowley
martinbtt/net-http-spy - GitHub
(Dumping GitHub watches into Pinboard.)
ruby  http 
october 2011 by rcrowley
Thread dumping signal implemented in Ruby code? No problem! — Gist
This is a way better Ruby debugging trick than firing up GDB and raising an exception.
ruby  debugging 
september 2011 by rcrowley
Foreman
Run Heroku-style Procfile web apps locally and (win!) generate Upstart configs.
heroku  foreman  procfile  ruby 
june 2011 by rcrowley
[ruby-core:36440] Changes for Ruby in Debian (and Ubuntu)
Regarding using Debian alternatives for /usr/bin/ruby: smart move but one that's going to cause issues as the owner of /usr/bin/ruby changes.

Regarding /usr/local/bin/gem: this is terrible and stupid. System packages use --prefix=/usr. It's a slippery slope to go back on this now.

Regarding continued stupidity with the ruby1.9.1 and libruby1.9.1 packages: there's plenty of blame to go around but these should be ruby1.9 and libruby1.9, damn the consequences.
ruby  debian  ubuntu  packaging 
june 2011 by rcrowley
SlimGems: A Compatible & Stable RubyGems Fork
The SlimGems project. A well-run fork of RubyGems. Here's hoping it becomes the primary branch soon.
rubygems  slimgems  ruby  packaging 
june 2011 by rcrowley
SlimGems, a drop-in replacement for RubyGems (gnuu.org)
"I’d like to believe that major infrastructure projects like RubyGems need to follow different rules when it comes to API agility." "We want to create a responsible process surrounding development of new features and refactorings."

This is how you run a package manager project.
rubygems  slimgems  ruby  packaging 
june 2011 by rcrowley
Debugging Ruby
Aman's tour of Ruby debugging strategies. I like gdb.rb a lot more than firing up regular gdb and saying call rb_raise(rb_eException, "BOOM") to get a stack trace.
ruby  debug 
september 2010 by rcrowley
The Lowdown on Routes in Rails 3 | Engine Yard Ruby on Rails Blog
Better than before. Still more magical than narwhals riding unicorns.
ruby  rails 
april 2010 by rcrowley
Net::SSH Software Suite
More up-to-date Net::SSH docs than Google surfaces.
ruby  net-ssh  ssh 
april 2010 by rcrowley
Introducing Phat, an Asynchronous Rails app
Some great work on concurrency in a Rack app.
ruby  rack  rails  eventmachine 
april 2010 by rcrowley
http://innig.net/software/ruby/closures-in-ruby.rb
Detailed exploration into the differences between the seven closure-like facilities in Ruby. For my money, it seems the take-away is to always use Kernel#lambda for truly portable closures.
ruby  lambda  closures 
march 2010 by rcrowley
Oniguruma
Ruby and Facebook's HipHop PHP both use this regular expression library, rumored to be based on the Thompson NFA (http://swtch.com/~rsc/regexp/regexp1.html).
regex  oniguruma  hiphop  php  ruby 
february 2010 by rcrowley
Programming Ruby: The Pragmatic Programmer's Guide
When I fully understand this, I'll be very smart:

module_eval <<-"end_eval"
alias_method :__#{id.to_i}__, #{id.inspect}
def #{id.id2name}(*args, &block)
def self.#{id.id2name}(*args, &block)
@__#{id.to_i}__
end
@__#{id.to_i}__ = __#{id.to_i}__(*args, &block)
end
end_eval
ruby  metaprogramming 
october 2009 by rcrowley
« earlier      

related tags

activerecord  ajax  apache  api  async  aws  book  c  c++  capistrano  christmas  ci  closures  collectd  curator  date  db  debian  debug  debugging  designpatterns  discovery  distro  docs  email  encryption  event  eventmachine  events  fluentd  fnordmetric  foreman  fpm  fsm  ganglia  gdb  gem  generator  google  graphite  heroku  hiphop  howto  http  imap  irb  javascript  jenkins  json  keyboard  lalr  lambda  linux  log  logging  md5  memcached  merb  metaprogramming  metrics  middleware  mirroring  mongrel  monitoring  munin  nagios  net-ssh  nullobject  oniguruma  openssh  openssl  opentsdb  ops  oreilly  orm  packaging  parser  parsing  perl  php  polymorphism  procfile  production  programming  python  rack  ragel  rails  rainbows  rake  rbtrace  redis  reference  regex  riak  ror  ruby  rubygems  rvm  scancode  search  session  sinatra  slimgems  soap  sort  ssh  ssl  statsd  strace  svn  test  time  timestamp  ubuntu  unicorn  unix  veewee  vim  virtualbox  waferbaby  web  wsdl 

Copy this bookmark:



description:


tags: