Monday, May 30, 2011
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.
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
Friday, April 29, 2011
Wednesday, April 20, 2011
Git from a SVN
git svn clone -rN --username username svn://some/repo localreponameCrie seu branch e mude pra ele:
git checkout -b branchnameNã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_paradasFaça o commit pro git:
git commit -a -m "Funcionalidade tal implementada."E agora pro svn:
git svn dcommitE é 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 rebaseupdate from a svn
git svn fetch
Subscribe to:
Posts (Atom)
systemd-timesyncd
sudo apt update && sudo apt install systemd-timesyncd && sudo systemctl enable --now systemd-timesyncd
-
sudo -u www-data /usr/local/bin/composer install --no-ansi --no-dev --no-interaction --no-progress --no-scripts --optimize-autoloader
-
sudo apt update && sudo apt install systemd-timesyncd && sudo systemctl enable --now systemd-timesyncd