Skip to content

Instantly share code, notes, and snippets.

@rafaelcaricio
rafaelcaricio / find_file_s3.py
Created December 4, 2013 15:57
find file in s3
#!/usr/bin/env python
import os
import argparse
from boto.s3.connection import S3Connection
if __name__ == '__main__':
parser = argparse.ArgumentParser(description='Find filename on s3')
parser.add_argument('resource_name', metavar='resource_name', help='Part of the resource name.')
@rafaelcaricio
rafaelcaricio / show_image_exif.py
Created November 14, 2013 12:12
Simple script to show exif info stored in a image file.
#!/usr/bin/env python
import argparse
try:
from PIL import Image
from PIL.ExifTags import TAGS, GPSTAGS
except ImportError:
print "You need to install PIL. Please check: http://www.pythonware.com/products/pil/"
def decode_gps_info(exif):
@rafaelcaricio
rafaelcaricio / carta_a_presidente_dilma_rousseff.mkd
Last active December 25, 2015 14:19
Translation of the letter to President Dilma Rousseff from Maddog.

Olá, presidenta Rousseff... eu lhe avisei

Carta impressa: escrita por Maddog

Jon "maddog" Hall

Querida Presidenta Rousseff,

Eu entendo que a senhora esteja irritada com meu país, os Estados Unidos da América, porque uma de

/**
* Example of carrossel CSS only simplified
*/
/* this part is just look-and-feel */
.just-to-centralize-not-related-to-the-example {
display: inline-block;
margin-top: 20px;
text-align: center;
width: 100%;
}
@rafaelcaricio
rafaelcaricio / dabblet.css
Created February 20, 2013 14:59
Example of carrossel CSS only simplified
/**
* Example of carrossel CSS only simplified
*/
/* this part is just look-and-feel */
.just-to-centralize-not-related-to-the-example {
display: inline-block;
margin-top: 20px;
text-align: center;
width: 100%;
}
@rafaelcaricio
rafaelcaricio / dabblet.css
Created February 20, 2013 12:38
Example of carrossel CSS only simplified
/**
* Example of carrossel CSS only simplified
*/
/* this part is just look-and-feel */
.just-to-centralize-not-related-to-the-example {
display: inline-block;
margin-top: 20px;
text-align: center;
width: 100%;
}
@rafaelcaricio
rafaelcaricio / dabblet.css
Created February 20, 2013 12:37
Example of carrossel CSS only simplified
/**
* Example of carrossel CSS only simplified
*/
/* this part is just look-and-feel */
.just-to-centralize-not-related-to-the-example {
display: inline-block;
margin-top: 20px;
text-align: center;
width: 100%;
}
@rafaelcaricio
rafaelcaricio / dabblet.css
Created February 20, 2013 12:36
Example of carrossel CSS only simplified
/**
* Example of carrossel CSS only simplified
*/
/* this part is just look-and-feel */
.just-to-centralize-not-related-to-the-example {
display: inline-block;
margin-top: 20px;
text-align: center;
width: 100%;
}
@rafaelcaricio
rafaelcaricio / dabblet.css
Created February 20, 2013 12:36
Example of carrossel CSS only simplified
/**
* Example of carrossel CSS only simplified
*/
/* this part is just look-and-feel */
.just-to-centralize-not-related-to-the-example {
display: inline-block;
margin-top: 20px;
text-align: center;
width: 100%;
}
@rafaelcaricio
rafaelcaricio / dabblet.css
Created February 20, 2013 10:45
Example of carrossel CSS only simplified
/**
* Example of carrossel CSS only simplified
*/
/* this part is just look-and-feel */
.just-to-centralize-not-related-to-the-example {
display: inline-block;
margin-top: 20px;
text-align: center;
width: 100%;
}