Posts

Showing posts with the label hints

Playing soduku.

Image
Soduku is an interesting game of numbers and logic. You can not lose of you play it right. The board with preset numbers already sporadically spaced on the  board can be divided into nine sections  with each section of nine squares.The numbers one through nine must be strategically placed so that no number is duplicated in any column or row. Here is your typical sections. Section: The whole board: or you could mentally separate it into three columns or rows. You can have a maximum of one number shown three times in any column or row. For example we already have the number eight three times but the number nine is only shown twice. so we need another nine. In the upper right hand corner we have three possibilities where another number nine can go.  So we look at the whole board to eliminate the possibilities in our mind. In this case, it was easy to figure out the where the third nine should go. It will not be that easy with every number. It...

Notes to myself.

Using a blog to keep miscellaneous notes is a wonderful idea.  They should be always there. #---------------------------- # original install ls -l /var/log/installer #----------------------------- # uptime uptime #----------------------------- # Quicknote (goes into .bash_history) cat > filename <<EOF #--------------------------------- # Quick append (goes into .bash_history) cat >> filename <<EOF #-------------------------------- #Gif to avi convert test.gif old%02d.jpg ffmpeg -r 25 -i old%02d.jpg -y -an new.avi #--------------------------------- # Strip music mplayer -ao pcm:fast:file=batmanpiano.mp3 -vo null -vc null Batmanpiano.flv #---------------------------------- # get screen size $ fullscreen=$(xwininfo -root | grep 'geometry' | awk '{print $2;}') $ echo $fullscreen 1280x768+0+0 #---------------------------------- # put picures in frame montage Inputfiles outputfile #---------------------------------- ...