This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Know how your meetup.com group is growing through events! | |
# Get your API token here: https://secure.meetup.com/pt-BR/meetup_api/key/ | |
# You don't need to install nothing! It's 100% pure python | |
# python meetup-insights.py <org-name> <your api token> | |
from urllib import request,parse | |
from functools import reduce | |
import datetime | |
import sys | |
import json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ICÔNICOS | |
var LuisDeCamoesNome = 'Luís de Camões', | |
LuisDeCamoesAno = 'c. 1524-1580', | |
LuisDeCamoesLocal = 'Lisboa', | |
LuisDeCamoesObras = 'Os Lusíadas (1572), Sonetos (1595)', | |
LuisDeCamoesRel = 'Autores relacionados: Fernando Pessoa', | |
LuisDeCamoesResumo = 'Camões é o poeta português canônico. Os Lusíadas, em que canta os feitos heroicos de Portugal, é, ao lado das obras de Dante, Homero e Virgílio, um dos maiores poemas épicos da literatura (diz-se que ele teria salvado os originais a nado em um naufrágio). É célebre por alguns dos mais belos sonetos em português. Quem desconhece os versos “Amor é fogo que arde sem se ver?”'; | |
var EcaDeQueirozNome = 'Eça de Queiroz', | |
EcaDeQueirozAno = '1845-1900', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# script for optimizing images in a directory (recursive) | |
# pngcrush & jpegtran settings from: | |
# http://developer.yahoo.com/performance/rules.html#opt_images | |
# pngcrush | |
for png in `find $1 -iname "*.png"`; do | |
echo "crushing $png ..." | |
pngcrush -rem alla -reduce -brute "$png" temp.png |