tip

tip

Amazon S3 lifecycle configuration

Bistri Team May 16, 2012 engineering, tip

Amazon S3 provides a great option to handle the ttl (time to live) of your files. Indeed you can set a lifecycle configuration to your bucket.

But the implementation of this part of the API is not very common around the open source projects that give access to S3. 

Because we needed it inside a Node.js module, we forked a github project called aws2js, and gave it support for lifecycle configuration.

See the pull request

Don’t hesitate to test it and bring us feedback!

Adding Source Code Highlighting into Tumblr

Bistri Team October 6, 2011 tip

Pretty, Simple, Sexy : Google’s Prettify

1. Add this code to your Tumblr Theme



  
 

2. Copy/Paste your code in a new Text Post

3. Click on the HTML button to edit the code of your Post

4. Add

 and 

around your code, and you are done