View Audigy 4 (EMU10k1) surround 5.1 [asound.conf] 1) put in asound.conf : pcm.!default { type plug slave.pcm "surround51" slave.channels 6 route_policy duplicate } 2) restart alsa => sudo /etc/init.d/alsa-utils restartRead More
View Enable/Disable an apache2 site on Debian a2ensite mysite # ‘mysite’ refers to /etc/apache2/sites-available/mysite # This creates the symbolic link between configuration files in /etc/apache2/sites-available and /etc/apache2/sites-enabled a2dissite mysite # disable...Read More
View Renaming a set of files # rename all .jpeg files to .jpg for file in *.jpeg; do mv $file ${file%.jpeg}.jpg; done # make all the files in the current...Read More
View chown a svn project to www-data / exlude .svn directory with find find . -name .svn –prune -o -print | xargs chown www-data:www-data #Exclude another directory (cache) find . -name .svn -or -name cache –prune -o...Read More