Posted: novembro 29th, 2006 | Author: coredump | Filed under: Linux e Open Source | Tags: linux, nerdagem
Novell decide cancelar o projeto Hula:
http://linux.slashdot.org/article.pl?sid=06/11/28/1958210&from=rss
Lembra? Aquele que era pra ser um concorrente do MS Exchange?
Agora sim as coisas começam a fazer sentido.
Technorati Tags: microsoft, novell, hula
1 Comment »
Posted: novembro 28th, 2006 | Author: coredump | Filed under: Pessoal | Tags: nerdagem, receitas
Então. Um amigo meu teve uma dúvida com relação ao tipo de ovo mexido que o V de V de Vingança faz para o café da manhã da personagem da Natalie Portman. Uma simples procura no google revela umas 3 receitas de Egg in a Basket.
Coisa simples¹: Muita manteiga dos dois lados de um pão de forma e numa frigideira anti-aderente. Faça a basket no meio do pão usando um copo. Eu usei um daqueles copos pequeninos de cachaça, mas da próxima vez devo tentar um americano, se couber. Deixa tostar um pouco de cada lado, quebra o ovo dentro do miolinho, coloca sal e algum tempero que você imagine/goste na hora. Quando endurecer um pouco a parte debaixo, vire. Repita isso algumas vezes até chegar no ponto de torrada/ovo frito que você gosta.
Pra ninguém dizer que eu não fiz (clique, clique! tem mais fotos!):

Egg in a Basket!
bon apetit, ou algo que o valha! Fica gostoso e é rápido de fazer. Vai para a categoria comida engraçadinha-rápida.
intel
¹: Adaptando de uma receita teoricamente inglesa para o Brasil e para o que eu tinha a mão na hora. Eu acho que não é bem pão de forma, mas ficou bom
Technorati Tags: v for vendetta, egg in a basket, recipes, breakfast
4 Comments »
Posted: novembro 25th, 2006 | Author: coredump | Filed under: Programação
Move along. Nothing to see here.
1 Comment »
Posted: novembro 21st, 2006 | Author: coredump | Filed under: Linux e Open Source, Programação | Tags: javascript, turbogears
So, I was trying to make the Turbogears AutoComplete Widget work like the address field from gmail or hotmail. Basically to continue searching after a comma to add values. My javascript is not that good and I felt a little bad on messing with the default widgets, so I did something on the search controller to mimic this behavior. This is the complete controller I use with the Widget:
def complete(self, tagname):
tags = ['linux', 'security', 'love', 'politics', 'sex', 'religion',
'esports', 'programming', 'scifi', 'theories', 'spaced tag']
old_tagname = None
if ‘,’ in tagname:
new_tagname = tagname.replace(‘ ‘, ”).split(‘,’)
tagname = new_tagname.pop().strip()
old_tagname = ‘, ‘.join(new_tagname)
if tagname == ”:
return dict(tag = [])
reslist = []
for tag in tags:
if tag.startswith(tagname):
if old_tagname:
tag = old_tagname + ‘, ‘ + tag
reslist.append(tag)
return dict(tag = reslist)
@expose()
def default(self, *w, **kw):
raise redirect(“/”)
Yes, it’s kinda ugly but it works. In Brazil this is called gambiarra. I’ll elaborate a little more after, there’re too many variables and I’m sure I can make something more compact. Right now I just need this working
cya.Technorati Tags: turbogears, autocomplete, widgets, hacking
No Comments »
Posted: novembro 20th, 2006 | Author: coredump | Filed under: Cybermundo, Pessoal, TV | Tags: Música, opinião
Era para ter postado isso ainda no dia 20/11/2006, mas só agora consegui parar aqui na frente. De quando em vez é bom lembrar:
The Revolution Will Not Be Televised
You will not be able to stay home, brother.
You will not be able to plug in, turn on and cop out.
You will not be able to lose yourself on skag and skip,
Skip out for beer during commercials,
Because the revolution will not be televised.
The revolution will not be televised.
The revolution will not be brought to you by Xerox
In 4 parts without commercial interruptions.
The revolution will not show you pictures of Nixon
blowing a bugle and leading a charge by John
Mitchell, General Abrams and Spiro Agnew to eat
hog maws confiscated from a Harlem sanctuary.
The revolution will not be televised.
The revolution will not be brought to you by the
Schaefer Award Theatre and will not star Natalie
Woods and Steve McQueen or Bullwinkle and Julia.
The revolution will not give your mouth sex appeal.
The revolution will not get rid of the nubs.
The revolution will not make you look five pounds
thinner, because the revolution will not be televised, Brother.
There will be no pictures of you and Willie May
pushing that shopping cart down the block on the dead run,
or trying to slide that color television into a stolen ambulance.
NBC will not be able predict the winner at 8:32
or report from 29 districts.
The revolution will not be televised.
There will be no pictures of pigs shooting down
brothers in the instant replay.
There will be no pictures of pigs shooting down
brothers in the instant replay.
There will be no pictures of Whitney Young being
run out of Harlem on a rail with a brand new process.
There will be no slow motion or still life of Roy
Wilkens strolling through Watts in a Red, Black and
Green liberation jumpsuit that he had been saving
For just the proper occasion.
Green Acres, The Beverly Hillbillies, and Hooterville
Junction will no longer be so damned relevant, and
women will not care if Dick finally gets down with
Jane on Search for Tomorrow because Black people
will be in the street looking for a brighter day.
The revolution will not be televised.
There will be no highlights on the eleven o'clock
news and no pictures of hairy armed women
liberationists and Jackie Onassis blowing her nose.
The theme song will not be written by Jim Webb,
Francis Scott Key, nor sung by Glen Campbell, Tom
Jones, Johnny Cash, Englebert Humperdink, or the Rare Earth.
The revolution will not be televised.
The revolution will not be right back after a message
bbout a white tornado, white lightning, or white people.
You will not have to worry about a dove in your
bedroom, a tiger in your tank, or the giant in your toilet bowl.
The revolution will not go better with Coke.
The revolution will not fight the germs that may cause bad breath.
The revolution will put you in the driver's seat.
The revolution will not be televised, will not be televised,
will not be televised, will not be televised.
The revolution will be no re-run brothers;
The revolution will be live.
Gill Scott me permita o aparte: The revolution will be online.
Technorati Tags: revolution
No Comments »
Comentários