Recent Events for foo.be MainPageDiary (Blog)

ListOfNotes

RPMs

 rpm -qa --qf '%{installtime} %{installtime:date} %{name}-%{version}-%{release}\n' | sort -n

LaTeX beamer class notes

   mkdir ~/texmf 
   mkdir ~/texmf/tex

   mkdir ~/texmf/tex/latex 
   
   cp -rf latest-release-beamer ~/texmf/text/latex/beamer
   cp -rf xcolor-distrib ~/texmf/tex/latex/xcolor
   cp -rf pgf-distrib ~/texmf/tex/latex/pgf

mencoder notes

mencoder dvd://2 -ovc lavc -lavcopts vcodec=mpeg4:vpass=1 -oac copy -o movie.avi
mencoder dvd://2 -ovc lavc -lavcopts vcodec=mpeg4:vpass=2 -oac copy -o movie.avi

Example 7.2. encode audio track

Two pass encode of a DVD to an MPEG-4 ("DivX") AVI while encoding the audio track to MP3.

mencoder dvd://2 -ovc lavc -lavcopts vcodec=mpeg4:vpass=1 -oac mp3lame -lameopts vbr=3 -o movie.avi
mencoder dvd://2 -ovc lavc -lavcopts vcodec=mpeg4:vpass=2 -oac mp3lame -lameopts vbr=3 -o movie.avi

rrdtool current

./configure CPPFLAGS="-I/usr/local/include/freetype2 -I/usr/local/include/libart-2.0" LDFLAGS=-L/usr/local/lib

restarting screen at each login

if ! echo $STY | cut -d. -f1 | xargs ps -p 2> /dev/null | grep -i screen; then
exec screen -RR
fi

Funny licenses (free and non-free)

MnoGoSearch and DC

Section header.dc.title                    4       128
Section header.dc.title.alternative        4       128
Section header.dc.subject                  5       256
Section header.keywords			   5	   256
Section header.dc.subject(hu)              5       256	
Section header.dc.description              3       512
Section header.dc.description(hu)          3       512
Section header.dc.creator                  2       128
Section header.author                      2       128
Section header.dc.type			   6	    64
Section header.dc.language                 7        3
Section header.content-language            7        3
Section header.DC.Date.Created(Scheme=DCTERMS.W3CDTF)	 8	10
Section header.DC.Date.Modified(Scheme=DCTERMS.W3CDTF)	 9	10
Section header.dc.publisher		  10	   128
Section header.dc.identifier		  11	   128
Section header.dc.identifier(Scheme=URL)  11	   128
Section header.dc.source		  12       128
Section header.dc.rights		  13       128
Section header.dc.Subject(Scheme=pacs03)  14	    64	
Section header.dc.format                  16        64

DMOZ

iconv -c -f UTF-8 -t UTF-8 ../../structure.rdf.u8 >../../structure-valid.rdf.u8
iconv -c -f UTF-8 -t UTF-8 ../../content.rdf.u8 >../../content-valid.rdf.u8

WIN32 junk command

tasklist /svc /FI "IMAGENAME eq svchost.exe"

GIT SVN

The magic behind git-svn… a very nice tool.

git-svn clone file:///yourpathtosvn/repo.
git-svn commit something

# from GIT to SVN
git-svn dcommit    

# from SVN to GIT
git-svn rebase