Tiago Scolari

bits for fun

s3kup: the s3 backup tool

2015-04-18 Code

I’ve created a tool creating backups on a s3 bucket, I called it s3kup. It’s written in GO and very straightforward to use. It’s somehow a rewrite of an old ruby gem I had for the same purpose.

It’s a command that can take any input from a shell pipeline and store it in a versioned way in a s3 bucket. s3kup has 3 basic commands: push, pull and list.

push

It will store your backup, e.g.:

Continue reading

Speed up your bundler = personal rubygems proxy with cloudfront

2013-10-25 Code

If you think your bundle install takes too long, or have a distributed team around the globe, this may help you.

It’s possible to have a cloudfront server pointing to rubygems, and using it as your gems source server. (If you are not aware of what cloudfront is give a look at it)

On this configuration, cloudfront will fetch requests from rubygems.org, and keep them cached on the CDN, so you should expect the first bundle install to take very close time of using rubygems.org, but the second one and forward should have some performance increase. You can also manually set the cache time there.

Continue reading

Automatic git bisect

2013-07-20 Code

There are some situations that you found your build broken and need to know at what revision the “brokeness” was introduced.

git bisect is a great tool for that, basically you tell git at which revision the build was good (assuming HEAD is broken), and it does a binary search for the revision where the bug was introduced.

Continue reading
Older posts