Thursday, July 07, 2011

How to Remove File Association


How to Remove File Association

Windows operating system associates files having a certain extension with a particular program. For example, files with the extension .doc are associated with Microsoft Word. Double-click on a file having the association leads to opening this file with the specified program application. Methods of removing file associations are different in Windows XP and Vista.
Difficulty:
 
Moderately Easy

Instructions

  1. In Windows XP

    • 1
      Click the "Start" button in the lower left corner of the screen.
    • 2
      Click "My Computer" to open Windows Explorer.
    • 3
      Click the menu "Tools > Folder Options" and select the "File Types" tab.
    • 4
      Scroll down the file type list and find the desired file extension. Click on it to select.
    • 5
      Click the "Delete" button, then "Yes" to confirm.

    In Windows Vista

    • 1
      Click the "Start" button in the lower-left corner of the screen.
    • 2
      Type "cmd" and press "Enter" to open the command prompt window.
    • 3
      Type "assoc .ext= " and press "Enter." Note, "ext" stands for the file extension you wish to remove from the association list.

Sunday, May 01, 2011

How to show your fps in game (Heroes of Newerth)

Heres a cool trick to get your fps to show up in HoN.
First bring up the console using ctrl+f8, then type in host_drawfps 1.
This will show your current frames per second in the top right of your screen.
If you want it to show your Ping type host_drawfps 2.

To cancel these simply type host_drawfps 0.
Enjoy.

Saturday, April 30, 2011

pear


if you have the following error:
PHP Fatal error:  Call to undefined method PEAR::raiseErro() in /usr/share/php/PEAR/REST.php on line 165
try this:
mkdir -p /tmp/pear/cache

Wednesday, April 20, 2011

Git from a SVN

git svn clone -rN  --username username svn://some/repo localreponame
Crie seu branch e mude pra ele:

git checkout -b branchname
Não altere o master branch diretamente, ele deve representar a repositório svn, sempre trabalhe nos branches. Você manda seu trabalho pro master apenas na hora de subir as alterações pro svn.

Com as alterações feitas e commitadas no seu branch, volte para o master e faça o merge:

git checkout master
git merge --squash minhas_paradas
Faça o commit pro git:

git commit -a -m "Funcionalidade tal implementada."
E agora pro svn:

git svn dcommit
E é isso. Pra manter o seu master branch atualizado em relação ao repositório svn use o rebase do git-svn:

git checkout master
git svn rebase
update from a svn
git svn fetch

xfce4-screenshooter keyboard shortcut

sh -c 'xfce4-screenshooter --fullscreen --save "$HOME/Pictures/Screenshots/Screenshot_$(date +%Y-%m-%d_%H:%M:%S).png"' s...