jueves, 10 de abril de 2014

Activate windows without a product key


Fix Windows XP Activation Infinite Loop


1 - Start windows XP in safe mode with Comand Prompt
    - Boot the computer
    - Press F8 until the menu apears
    - Select : Safe Mode with Command Prompt
2 - In the command prompt write "explorer.exe" and hit Enter
3 - In the dialog box select "Yes"
4 - Go to "Start" and "Run"
5 - Type "rundll32.exe syssetup,SetupOobeBnk" and press OK
6 - Restart the computer

jueves, 3 de abril de 2014

Vim scheme in Tmux session

If the Vim scheme (or other programs) are not shown in a Tmux session, you just need to indicate to Tmux to use 256 colour palette. It can be done by calling Tmux with "-2" parameter, or setting the environment variable TERM appropriately.

The best option I found is adding an alias into your .bashrc (in case of bash shell) with the appropriate tmux call.

alias tmux="tmux -2"
This one seems to give same results for me:

alias tmux="TERM=screen-256color-bce tmux"