Monday, December 20, 2010

Just to be safe , in case delicious is eaten by Microsoft , Oracle

I have deleted my delicious account , from now on i will keep a github backup and use git for bookmarks / imported bookmarks in google chrome (there is any gistorious extensions for keeping bookmarks in git?) 

Monday, December 13, 2010

How can i revert to previous version in git ?

There is git revert HEAD  and here is how i tested on a simple repository
mkdir test
cd test
git init  .
touch to_be_reverted
git add .
git commit -a
echo "Wrong text" > to_be_reverted
check it with

cat to_be_reverted
Wrong text
git commit -a
git revert HEAD
cat to_be_reverted

it should be empty like before

Wednesday, December 01, 2010

compiling quake 1 for #android

This time we use a simpler code than quake 2 or 3 and it should work on slower devices and emulator without problems

code is hosted in mercurial

hg clone glesquake
cd glesquake

ls -lah  release/QuakeActivity.apk
-rw-rw-r-- 1 mariuz mariuz 278K Dec  1 22:57 release/QuakeActivity.apk
next you need to upload the apk to the device and the data file (pak)

follow the intructions from install readme