Search 

Script para retweet 
Tuesday, January 26, 2010, 07:49
Posted by Administrator
Caros,

Ainda na diversão do twitter...

Um script para fazer retweet com base em um assunto qualquer, por exemplo ... Linux !!!

Como o script é "one-line" basta copiar (substituir o nome do usuário e a senha) e colar em uma shell (bash)

procura=linux; usuario=kl0nez:blablabla; for i in `lynx --source http://search.twitter.com/search.json?q=$procura | sed -e "s/{/\n/g"| egrep -v "(results|^$)" | sed -e 's/.*"id":\(.*\),"from_user.*$/\1/g'`; do grep $i /tmp/tweet.txt && curl -u $usuario -X POST http://api.twitter.com/1/statuses/retweet/$i.xml; echo $i >> /tmp/tweet.txt ; done

divirtam-se

:)

sds
Kl0nEz
add comment ( 5 views )   |  0 trackbacks   |  permalink   |   ( 3.2 / 13 )

Telesena no twitter 
Friday, January 22, 2010, 09:10
Posted by Administrator
Caros,

Ainda em fase de testes...

De hora em hora um novo "fortune" !!!!!


$ while true; do msg=`fortune` ; test `echo $msg | wc -c` -le 140 && echo "status=$msg" | lynx --auth=kl0nez:blablabla --post-data http://twitter.com/statuses/update.xml || continue ; sleep 3600 ; done


é isso... deixa em uma screen e pronto... :)

sds
Kl0nEz
add comment ( 5 views )   |  0 trackbacks   |  permalink   |   ( 2.9 / 14 )

twitter begins 
Friday, January 22, 2010, 02:54
Posted by Administrator
Caros,

Resistí bastante, mas acabei resolvendo testar essa coisa de twitter http://twitter.com/kl0nez

Apesar de ainda não achar nenhuma utilidade prática para ele, pelo menos, com a ajuda de alguns amigos meus, encontrei alguma diversão.

1 - Atualizar utilizando um contato de IM (XMPP)

https://www.tweet.im/

2 - Atualizar utilizando a API, com o curl, lynx e outros similares.

$ curl -u kl0nez:blablabla -d status="Novo Post" http://twitter.com/statuses/update.xml


$ echo 'status="Novo Post" | lynx ---post-data http://twitter.com/statuses/update.xml


http://ejungle.wordpress.com/2009/06/04 ... e-comando/

3 - Fazer um post do seu último bookmark do Delicious.

$ variavel=`lynx --source http://delicious.com/kl0nez?detail=1  | grep taggedlink | head -n 1| sed -e 's/.*href="\(.*\)" >\(.*\)<\/a>.*$/Delicious ->  \1 "\2"/g'`

$ curl -u kl0nez:blablabla-d status="$variavel" http://twitter.com/statuses/update.xml


4 - Fazer um post contendo informações de temperatura e humidade do seu local preferido (precisa do funcoes ZZ http://funcoeszz.net/ )

echo "status=`zztempo Brazil SBVT | egrep "(Temperature|Humidity)"`" | lynx --auth=kl0nez:blablabla --post-data http://twitter.com/statuses/update.xml


5 - Converter um url para tinyURL

$ curl -s -d URL=http://www.e-secure.com.br http://www.is.gd/create.php | grep id=\"short | sed -e 's/.*_url" value="\(.*\)" ons.*$/ \1 /g'


Bom, acho que é isso....

Se alguém conseguir encontrar uma utilidade para esse twitter ou tiver alguma dica de coisa útil para fazer com ele, por favor, me avise...

sds
Kl0nEz

add comment ( 204 views )   |  0 trackbacks   |  permalink   |   ( 2.9 / 14 )

Still Alive 
Wednesday, January 06, 2010, 04:32
Posted by Administrator
Minha singela homenagem ao game "Portal" da Valve, pelo excelente enredo, pela satifação ao joga-lo e pela alta qualidade dos créditos finais !!!!!

Vejam a história da música = http://en.wikipedia.org/wiki/Still_Alive
Dados sobre o game = http://en.wikipedia.org/wiki/Portal_%28video_game%29
Tradução da letra = http://msfinn.blogspot.com/2007/12/isto ... o-uma.html



Download da MP3 = Still Alive.mp3

This was a triumph.
I'm making a note here: HUGE SUCCESS.
It's hard to overstate my satisfaction.

Aperture Science:
We do what we must because we can.
For the good of all of us
Except the ones who are dead.

(Chorus 1)
But there's no sense crying over every mistake
You just keep on trying till you run out of cake
And the science gets done and you make a neat gun
For the people who are still alive.

I'm not even angry.
I'm being so sincere right now.
Even though you broke my heart and killed me.
And tore me to pieces.
And threw every piece into a fire.
As they burned it hurt because
I was so happy for you.

(Chorus 2)
Now these points of data make a beautiful line
And we're out of beta we're releasing on time.
So I'm GLaD I got burned think of all the things we learned
For the people who are still alive.

Go ahead and leave me.
I think I prefer to stay inside.
Maybe you'll find someone else to help you.
Maybe Black Mesa -
THAT WAS A JOKE. HA HA, FAT CHANCE.
Anyway, this cake is great:
It's so delicious and moist.

(Chorus 3)
Look at me still talking when there's science to do.
When I look out there it makes me GLaD I'm not you.
I've experiments to run there is research to be done
On the people who are still alive

And believe me I am still alive.
I'm doing science and I'm still alive.
I feel FANTASTIC and I'm still alive.
While you're dying I'll be still alive.
And when you're dead I will be still alive.

Still alive
Still alive

http://www.lyricsmode.com/lyrics/e/elle ... alive.html


1 comment ( 5 views )   |  0 trackbacks   |  permalink   |   ( 3 / 14 )

Atendimento humano no call center dos cartoes caixa 
Tuesday, January 05, 2010, 13:10
Posted by Administrator
Caros,

Para os felizardos (?) clientes do sistema de cartões de crédito da caixa econômica federal (CEF), quando há algum impedimento com o cartão, por exemplo, falta de pagamento (que foi o meu caso), fica impossível ser atendido por uma pessoa de carne e osso. Deixando você conversando com várias URAs inclusive uma URA indicando o 0800 ou o 4001 da outra.

Enfim, depois de navegar um pouco, resolvi "fazer de conta" que tinha pago a minha fatura para ver se conseguia ser atendido por alguém, e com muito penar, consegui a seguinte sequencia de escape de uma das URAs.

40014455 opção 2, vai pedir o número do cartão, mas aí você não digita o número, mas sim o código "7859" e ..... bingo ... será atendido por uma pessoa.

sucesso para voces...

sds
Kl0nEz
add comment ( 10 views )   |  0 trackbacks   |  permalink   |   ( 3 / 15 )


<<First <Back | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | Next> Last>>