Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@marcogomes
Created April 2, 2009 14:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marcogomes/89223 to your computer and use it in GitHub Desktop.
Save marcogomes/89223 to your computer and use it in GitHub Desktop.
/*
Marco Gomes, São Paulo, 2009-04
Usar Photoshop pra fazer convite eh coisa de n00b!
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. You just DO WHAT THE FUCK YOU WANT TO.
WTFPL: http://sam.zoy.org/wtfpl/
*/
// cria um novo evento e define um shortcut
var NerdsOnBeer = new Event();
var nob = NerdsOnBeer;
// define o tipo
var nob.setType('generic nerd');
// define a data e hora, lembre-se que jan = 0!
nob.date = new Date(2009,03,04,20);
// AAAA,MM,DD,HH
// CONFIRME SUA PRESENÇA!
nob.confirmation = 'http://twtvite.com/g00v3w';
// cria e configura o obj bar
nob.bar = new Bar();
nob.bar.setName('El Malak');
nob.bar.setAddr({
rua: 'Alameda Santos'
, num: 805
, bairro: 'Jardim Paulista'
, cidade: 'Sao Paulo'
, uf: 'SP'
, cep: '01419-000'
, pais: 'br'
, mapuri: 'http://boo-box.com/tmp/nerdsonbeer-elmalak.jpg'
, ref: 'perto da /prainha/'
});
// chama todo mundo pro evento
nob.callEveryone();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment