Feb
24
2009
blaxter
Esta pequeña gran utilidad, j, te permite saltar a directorios donde hayas estado anteriormente.
Simplemente incluye en tu .bashrc:
source /path/to/j.sh
A partir de ese momento j irá aprendiendo en qué directorios estás y cuánto tiempo estás en ellos, para que posteriormente al ejecutar $ j something, hará un cd al directorio más usado que sea =~ /something/. Por ejemplo:
:~$ j red
:~/devel/redmine$
Quizá pueda parecer una tontería, pero después de usarlo te aseguro que no opinarás lo mismo.
9 comments | tags: bash, j, tools | posted in Linux
Feb
14
2009
blaxter
I used to be a user of this badges for last.fm, I really like the one telling you how many songs per week you listen. A few weeks ago the author no longer maintains this badges and a lot of people got an image of "not longer available", but the author also give you the code, so this morning I fork it in my github, and make some minor changes for adapting it to my hosting (and my habits).
So here we have a running and functional Last.fm automagic Badges, enjoy it:
Copy/paste the above BBcode to your profile settings.
8 comments | posted in Miscelanea
Feb
10
2009
blaxter
- How many prolog programmers does it take to change a light bulb?
- No
That's because:
?- change_bulb(prolog_programmer, X)
no.
Obviously.
no comments | posted in LOL, Programación
Feb
8
2009
blaxter
No queda mucho para comience, el 29 de marzo en Melbourne, la nueva temporada de Formula 1. Una temporada con importantes y radicales cambios técnicos en los coches (como kers y neumaticos slicks). Red Bull Racing ha hecho un vídeo en el que Sebastian Vettel nos explica todos estos cambios, imprescindible verlo:
En resumen, nos lo vamos a pasar pipa.
9 comments | tags: F1, kers, red bull | posted in F1
Feb
4
2009
blaxter
Quien dice spotify, podría decir ed2k o el protocolo que vuesa merced guste. El proceso siempre es el mismo:
- Abrir about:config en firefox
- Añadir par de booleanos (valores lógicos):
- network.protocol-handler.external.spotify a true
- network.protocol-handler.warn-external.spotify a false
- Añadir una cadena network.protocol-handler.app.spotify con valor /usr/bin/spotify
- Crear un ejecutable (en este caso en /usr/bin/spotify y teniendo en cuenta dónde lo instalamos anteriormente)
#!/bin/sh
exec wine "C:\Program Files\Spotify\spotify.exe" /uri "$@"
15 comments | tags: firefox, spotify, tips | posted in Software
Top Commenters