Twitsh

NOTA: Actualmente este script no funciona, debido al cambio de politica de autenticacion de twitter. Prontamente, cuando implemente OAuth, volveré a actualizar el script.

Version actual:0.2

Como usuario de fluxbox y, para facilitarme el uso de twitter (a pesar de usar twitbin), cree un script que si bien no es solamente para fluxbox, es muy util con fluxboxo con algún otro gestor de ventanas que nos permita configurar hotkeys.

Si bien no podre con este script ver los updates de mis contactos, si podre actualizar mis acciones de una manera sencilla sin tener que abrir el navegador web para poder actualizar desde la web o desde twitbin y sin usar ningún cliente para twitter. Es un script sencillo que, configurandolo bien, podra ser muy util.

Para dejarlo funcionando de lujo en fluxbox, la instalacion y configuración paso a paso.
Descargar el script desde ACA
Es necesario que creemos un fichero de configuracion en el home del usuario que hara uso de este script. Este script se encuentra en el paquete que descargaron, deben copiarlo a su home como $HOME/.twitshrc

cp twitshrc $HOME/.twitshrc

En resumen, los pasos a seguir son:

[zerial@blackwater ~]$ wget https://blog.zerial.org/files/twitsh-0.2.tar.gz
–17:56:13– https://blog.zerial.org/files/twitsh-0.2.tar.gz
=> `twitsh-0.2.tar.gz’
Resolviendo blog.zerial.org… 200.29.4.70
Connecting to blog.zerial.org|200.29.4.70|:80… conectado.
Petición HTTP enviada, esperando respuesta… 200 OK
Longitud: 675 [application/x-gzip]

100%[============================================================================>] 675 –.–K/s

17:56:13 (40.89 MB/s) – `twitsh-0.2.tar.gz’ saved [675/675]

[zerial@blackwater ~]$ tar zxvf twitsh-0.2.tar.gz
twitsh/
twitsh/twitshrc
twitsh/twitter.sh
[zerial@blackwater ~]$ cd twitsh
[zerial@blackwater ~]$ cd twitsh
[zerial@blackwater twitsh]$ ls
twitshrc twitter.sh
[zerial@blackwater twitsh]$ cp twitshrc $HOME/.twitshrc
[zerial@blackwater twitsh]$ su
Contraseña:
[root@blackwater twitsh]# cp twitter.sh /usr/bin/twitsh
[root@blackwater twitsh]# chmod +x /usr/bin/twitsh

Configuramos el fichero $HOME/.twitshrc
Con eso dejamos instalado y listo para usar el script.
Ahora, para hacerlo más simpático junto a fluxbox, editamos el fichero “keys” de flubox, que esta en el directorio .fluxbox de tu home.
Editamos con nuestro editor preferido;

vim $HOME/.fluxbox/keys

Vamos al final y agregamos la linea:

Mod1 s :ExecCommand /usr/bin/twitsh

Mod1 corresponde a la tecla ALT, la letra que lo sige (la s) nos indica que al presionar ALT+S ejecutará dicho comando. Eso lo pueden modificar a su gusto.

Teniendo todo esto hecho, basta con presionar ALT+S y aparecera el dialogo para poder escribir en twitter.

twitsh_01.jpg

10 comentarios

  1. Y cuando lo actualizas? D:

  2. Zerial

    agosto 1, 2011 a las 1:31 pm

    Ya lo actualice! ahora se llama simple-pytweet! 😛

  3. Interesante lo que haces, espero aprender mas sobre esto.

  4. Muy buena iniciativa, felicidades y sigue adelante
    saludos

  5. Excelente trabajo, para mejorar hay que poner en evidencia the chilean way… Sl2

  6. Hola viejo amigo Zerial te acuerdas de mi? soy Dreamlinux del canal #debian-es te mando un gran abrazo y un feliz año nuevo estimado espero nos podamos contactar hace mucho tiempo que no conversamos tengo hartas cosas que contarte o para hachar la talla de cosas triviales. cuidese mucho nos vemos!!!

    y recuerda.. Piratea el planeta!!! 😉

  7. naturally like your web-site but you need to test the spelling on several of your posts. Several of them are rife with spelling issues and I to find it very bothersome to inform the truth on the other hand I’ll certainly come again again.

  8. Five Benefits of Garcinia Cambogia

    Garcinia cambogia is one of many hottest weight loss products nowadays. The organic supplement is generating swells in the diet industry, because of a support from a few nutrition professionals. They illustrate the supplement as “a revolutionary fat buster” and “a discovery in normal weight loss.”

    Garcinia cambogia could be the modest, bad berry of a exotic shrub that’s native to Indonesia. The berry is cultivated for kitchen purposes in India, Asia and Africa. Ayurvedic medication employs the extract for numerous remedies including weight loss, tummy ulcers and intestinal dilemmas. Listed below are five more wonderful benefits of Garcinia cambogia.

    Garcinia Cambogia is just a Fat Blocker

    Hydroxycitric acid (HCA), a citric acid result, could be the major active component in Garcinia cambogia extract. HCA hindrances fat by conquering the initiatives of citrate lyase, a crucial metabolic molecule. This can be among the factors that Garcinia is really successful as a weight loss product.

    Under typical situations, citrate lyase turns surplus sugars and sugars into fatty acids, cholesterol and triglycerides. What the body can’t use for power, the body stores as fat. Most of the people store this fat in the waist, sides, thighs and buttocks.

    By interrupting the metabolic rate, hydroxycitric acid slows the conversion of carbohydrates into fats. It allows ceases fat storage. That is one of the primary great things about where to buy garcinia cambogia
    .

    Garcinia Cambogia can be an Appetite Suppressant

    A second important aspect of hydroxycitric acid is its ability to control the hunger. It does this in several approaches, by escalating serotonin amounts in the body. Serotonin is an significant head chemical that works as a neurotransmitter. It is accountable for several regulatory functions that impact hunger and feeling.

    Elevated quantities of serotonin encourage weight loss by stopping the hunger and mister desires. This quality is yet another important technique that Garcinia cambogia facilitates weight loss.

    Lifted serotonin quantities furthermore boost disposition, and many anti-depressants mimic the results of serotonin. Individuals are less inclined to flip to food as a coping mechanism, as depression lifts and anxiety fades. This makes Garcinia cambogia specially ideal for emotional eaters.

    Garcinia Cambogia Enhances K-calorie burning

    Among the best benefits of Garcinia cambogia will be the capability produce a more effective metabolism. The fat burning capacity is really a sequence of chemical reactions that keep carefully the human anatomy in a consistent state of disproportion. HCA helps you to make the process more effective and balance these tendencies.

    Because of this, your body employs more energy than it takes in. That causes it to engage the fat stores for fuel. Garcinia cambogia lessens fat and keeps surplus weight down so http://yourleanbody.com/buy-pure-garcinia-cambogia-extract/
    .

    Garcinia Cambogia Decreases Bloodstream Cholesterol

    It stop fat creation and storage, as HCA ceases the citrate lyase chemical from changing carbs in to fats. At the same time, it reduces the quantity of lipids within the blood stream. It increases the production of good cholesterol and lessens production of terrible cholesterol.

    As well as maintaining cholesterol under control, Garcinia cambogia likewise lowers blood pressure. Both cholesterol and blood stress impact mood, heart health and quality of life.

    Garcinia Cambogia Boosts Defense Purpose

    Eventually, Garcinia cambogia enhances immune protection system working. Studies suggest the complement may improve the body’s response to attacks, condition and condition. This is due mainly to the high concentration of vitamin C in Garcinia cambogia
    fruit. The herbal product may also shorten the period of disease such as the influenza and common cold.

  9. 2004 NBA All-Star Week-end Slam Dunk Contest détermination se tiendra à Los Angeles au Staples terrain mis en scène 15 Février clair ruban bleu avis histoire, jouissons une partie de l’ ancien NBA Slam royal de présence.
    http://www.scitotalfitness.com/wp-includes/images/fun/jordan-retro-5.html

Deja un comentario

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *

Esto sitio usa Akismet para reducir el spam. Aprende cómo se procesan los datos de tus comentarios.