Ir a contenido

Página 2 de 5712345sig.Última »

Change trash IMAP folder in Mozilla Thunderbird (Icedove in Debian)


  1. Exit icedove (thunderbird)
  2. Insert a line like the code attached next into “prefs.js”, with the correct server# and correct name for the Trash folder:
  3. Start icedove (thunderbird)

enrgar@jack-sparrow:~$ emacs .mozilla-thunderbird/0w697id6.default/prefs.js

user_pref(“mail.server.server6.trash_folder_name”, “[Gmail]/Trash”);

References and links
Etiquetas: , , , , ,
Te interesará:

Speed up Gnome


This can do a bit of magic on your desktop.

enrgar@jack-sparrow:~$ GTK-update-icon-cache -f /usr/share/icons/THEMENAME/

Links and references
Etiquetas: , , ,
Te interesará:

Compact a VirtualBox Window$ Guest on Debian


If you run Window$ as a virtual machine in a dynamically expanding storage within Debian/Linux using VirtualBox, maybe you’re interested in compact the VDI to save space.

First, you need to download the SDelete application from the Sysinternals web site and extract the zip file in your Window$ drive.
From a command prompt (Start/Run and type ‘cmd‘ to open a command prompt) move to the directory which contains the “sdelete.exe” file and type the followind command:

scdelete -c C:

Shutdown your Windows Guest Machine after fill with zeros the free space in the disk with the previous command and type the following commands from a terminal replacing “MACHINE.vdi” with the name of your VDI:

enrgar@jack-sparrow:~$ VBoxManage modifyhd –compact MACHINE.vdi

Adding as mental note.

Links
Etiquetas: , , , , ,
Te interesará:

Recovering files with errors skipping media errors (whatever media is CD, DVD, HD…)


This quick tip will not fix any phisical error in any file, but will help to copy it somewhere else.
(In Debian this commands comes in coreutils package)

user@debian-machine:~$ dd if=/path/to/file/origin of=/path/to/file/destiny cond=noerrors

Why this should work

Multimedia programs usually have problems playing files which present some kind of error accesing the media where the file is stored.
Although some of the bits lost could barely represent a frame of a film, the other BIG part is still there but the multimedia program stops or whatever. So, if we “move” the file from media this problems could disapear and we can still play and enjoy our lovely film.

PD: I wonder why I didn’t publish this before. I searched for it in the blog some days ago. Today, trying to release a bunch of draft post, I found it, weha!!

Etiquetas: , , , , , , ,
Te interesará:

Jump over private corporate proxy with Firefox (or git, or any SOCKS ready app) through a SSH tunnel


Thanks a lot to text producers. I’ve just copied it here to promote them.

Making the SSH tunnel

Option 1: SSH and direct connect (SOCKS5) : The following line will start the SSH client and connect to username@remote_machine.com. Port 8080 on localhost (127.0.0.1) will listen for requests and send them to the remote machine. The remote machine will then send the packets out as if they originated from itself. The SSH options are in the man page of SSH, but to summarize them in order: Compression, SSH2 only, Quite, Force pseudo-tty allocation, Redirect stdin from /dev/null, and Place the SSH client into “master” mode for connection sharing.

SSH -C2qTnN -D 8080 username@remote_machine.com

Option 2: SSH to squid proxy (HTTP/SSL Proxy) : The following line will also start the SSH client and connect to username@remote_machine.com. Port 8080 on localhost (127.0.0.1) on the current machine will listen for requests and SSH tunnel them to the remote machine. On the remote machine SSH will forward the packets to localhost port 2020. If squid is listening on localhost port 2020 on the remote machine then all requests sent though the SSH tunnel will then be forwarded to squid. You can use squid to block ads and speed up web access. If you need assistance with squid, check out the Calomel.org Squid “how to” page.

SSH -C2qTnN -L 8080:localhost:2020 username@remote_machine.com

Using GIT through a SOCKS proxy

user@debian-machine:~$ cat /somepath/bin/proxy-wrapper
#!/bin/bash
# on Debian systems you will need netcat-openbsd package in order this options to work
nc -xPROXYMACHINE:PORT -X5 $*
user@debian-machine:~$ export GIT_PROXY_COMMAND=”/somepath/bin/proxy-wrapper”
user@debian-machine:~$ git clone git://git.debian.org/git/debian-eeepc/eeepc-acpi-scripts.git
Initialized empty Git repository in /blableblubla/codigo/git/eeepc-acpi-scripts/.git/
remote: Counting objects: 1050, done.
remote: Compressing objects: 100% (554/554), done.
remote: Total 1050 (delta 572), reused 848 (delta 475)
Receiving objects: 100% (1050/1050), 115.39 KiB | 37 KiB/s, done.
Resolving deltas: 100% (572/572), done.

Links and references
Etiquetas: , , , , , , ,
Te interesará:

Charlas técnicas. Compartir el conocimiento es genial.


Imposible encontrar otra entrada con mayor calidad por palabra.

Academic Earth
Google Tech Talks

Para mí estos 2 enlaces tienen un valor difícil de calcular.
Sí, me encanta aprender, saber. Soy muy curioso.

PD: De momento recomiendo “Greg Kroah Hartman on the LINUX Kernel” y “The Clean Code Talks — Unit Testing”

Etiquetas: , , , , ,
Te interesará:

Debian Eeepc 901: Mount SD card as part of root filesystem (like /var)


Back again? Time will answer.

Beginning September I couldn’t wait any longer and I decided to buy an eeepc 901. As one of those mobility and digital-ubiquity believers I am. Of course this acquisition will worth an article.
But what I want to explain right now is that today I’ve finally fixed one of those horrible errors that gets your frustration arise because you don’t find a good (google) search pattern or any valid solution.

My main problem

Previous acquisition phase there is always a documentation phase. There I found that Solid States Disk (SSD), in their firsts versions suffer from a write limit.
As I’m skeptical and ignorant in this hardware topic I “believe and panic” about it.

Solving the problem

Solving the write limit problem had a easy solution, a SD card where most often written/modified files will live. That means putting /var on that card-disk. That’s easy, just a simple move and link.
But what you don’t expect is that SD reader gets detected after mounting file systems which brokes boot sequence. If you have this kind of bad boot sequence, you have to re-init from command line after mounting by hand.
You should be having a message that looks like “Enter root pass for maintenance or enter crtl+enter to continue”

Remount and reinit by hand

root@miniyo:~$ runlevel (to know which runlevel you are)
N 1
root@miniyo:~$ mount /dev/YOUR SD CARD some-options
root@miniyo:~$ init 2 (as a common example)

Getting things donde, but properly

We have to regenerate our init kernel, so it loads USB devices as soon as posible.
Of course SD reader is connected through USB internally in eeepc

This is how my “pre kernel loading” modules file looks like now that everything works.

user@miniyo:~$ cat /etc/initramfs-tools/modules
# List of modules that you want to include in your initramfs.
#
# Syntax: module_name [args ...]
#
# You must run update-initramfs(8) to effect this change.
#
# Examples:
#
# raid1
# sd_mod
usbcore
ehci-hcd
uhci-hcd
usb-storage
enrgar@miniyo:~$ update-initrafms

References and links
Etiquetas: , , , , , , , , ,
Te interesará:

Perdidos. Lost. Descargas de capítulos de la 5ª Temporada


Otro año más, la serie continua.
Si algo no podía pasar por alto era el regreso de perdidos. Como muchos ya sabréis la cosa va terminando, esta es ya la penúltima temporada.
Por cierto, los guionistas siguen siendo unos cabrones :D .

Gracias a todos aquellos que hacen posible que dispongamos de los vídeos y los subtítulos.

Como en temporadas anteriores, esta entrada se irá actualizando según se vayan emitiendo los capítulos.

~ Quinta Temporada/Fifth Season. Los vídeos/The videos ~

Aquí los enlaces a los vídeos. Con las voces en inglés. Podéis descargar los vídeos ya con vuestro programa P2P favorito. (Subtítulos más abajo)

caricatura Jack

caricatura Jack

caricatura Lock

caricatura Lock

~ Quinta Temporada/Fifth Season. Los subtítulos/The subtitles. ~

Aquí los enlaces a los subtítulos en inglés y en español. Porque para gustos se hicieron los colores.

caricatura Hurley

caricatura Hurley

caricatura Kate

caricatura Kate

Referencias y enlaces:
Etiquetas: , , , , , , , , , , , , , , , , , , , ,
Te interesará:

La frase

Masturbarse es bueno, pero follando conoces gente.
alguien, en algun lugar

Album

Últimos comentarios


Página 2 de 5712345sig.Última »