-
Recent Posts
Recent Comments
- Mac OS X color showing ESC[whatever for git-diff colors (and more) (12)
- Gopala Krishna A: Thanks a lot!! This really proved helpful on opensuse 11.2
- Silly Avatar: Thanx for this blog entry. Was having this problem while ssh-ing to a linux vps w/Putty. Thought it was...
- Girish KS: Thanks for the post Nate and thanks pablitostar for your suggestion. I started using git few days back and...
- pablitostar: I found using the -r flag did fix git-diff, but it broke something else in less. Specifically, searching...
- Gopala Krishna A: Thanks a lot!! This really proved helpful on opensuse 11.2
- ActiveRecord from_xml (and from_json) part 2 (3)
- Billy Kimble: Thanks for the snippet of code — it has helped me out tremendously. Unfortunately it did not work...
- Mac OS X color showing ESC[whatever for git-diff colors (and more) (12)
Categories
- bookmarks (2)
- cascading (2)
- code (2)
- deployment (6)
- ec2 (3)
- erlang (2)
- gems (3)
- git (7)
- hadoop (3)
- java (1)
- merb (1)
- music (1)
- osx (2)
- poolparty (3)
- processing (1)
- programming (43)
- rails (11)
- ruby (21)
- scalability (5)
- shell (8)
- sysadmin (16)
- tips (13)
- Uncategorized (3)
- useless (1)
Archives
Pages
Blogroll
Monthly Archives: February 2009
Ruby’s #each_with_index for Erlang
Ruby has a great method for enumerations called #each_with_index. It’s a handy way to iterate over a list of elements and and know where you’re at while doing it.
Erlang has a group of highly optimized list operations in the lists module (Try erl -man lists to see them all). We’re going to be using those [...]
Posted in erlang, programming 2 Comments
PoolParty s3fs Plugin
Goal
A new plugin install and mount s3fs volume on an instance using PoolParty.
Getting it
git clone git://github.com/jashmenn/poolparty-s3fs-plugin.git
Usage
NOTICE You must have already created your S3 bucket. This plugin will not
create it for you.
cloud(:app)
...
s3fs(:bucket => "my-fun-bucket")
...
end
This will be mounted at /mnt/my-fun-bucket
You can mount multiple buckets and/or change the mount point:
s3fs do
[...]
Posted in deployment, ec2, git, ruby Leave a comment

what does this return? or ‘why i love ruby’