Posts

A fiasco.

Image
Remember #caldera , #SCO and etc. Guess they forgot they gave out their source code. #linux   #IBM  

Concentration.

Image
Remember the old concentration game from many years ago. You can make your own version. you will need thirty clear plastic envelopes. They can be make from cheap clear plastic lunch bags and clear plastic tape. Poster board can be used for making the large frames. You will also need to make some blue cards with the embossed numbers for each of the bags. Of course you will need a frame to hold the puzzle background. Lastly you will need a puzzle to use as the background. You can use your favorite drawing program the will let you import pictures. Gimp is what we like to use  There are thousands on-line that you can use or even use your own. Such as: The sky is the limit with your imagination. More information at: http://en.wikipedia.org/wiki/Concentration_%28game_show%29

Days between dates.

Image
Just an experiment to determine the amount of days between two dates. In this case it is the days left in the current presidency. [code] #!/bin/bash D=`date +%Y-%m-%d` D1=`date +%s -d "$D"` D2=`date +%s -d "2017-01-20"` ((diff_sec=D2-D1)) echo - | awk -v SECS=$diff_sec '{printf "Number of days : %d",SECS/(60*60*24)}' echo " till Obama leaves office." [/code] Result: $ ./datediff.sh Number of days : 656 days till Obama leaves office. $ Or for semi-gui, you could use a launcher to start the program and then not need the command line. [code] #!/bin/bash D=`date +%Y-%m-%d` D1=`date +%s -d "$D"` D2=`date +%s -d "2017-01-20"` ((diff_sec=D2-D1)) a=`echo - | awk -v SECS=$diff_sec '{printf "Number of days : %d",SECS/(60*60*24)}'` a=$a" till Obama leaves office." zenity --info --text="$a" [/code]    

Starwars good luck.

Image

Arduino

Image
Really feel for Mr. Banzi and the fact that everyone is making their own version of the Arduino. You can get the bare  chips and make your own. You can get the boards as low as ten dollars even at a retail outlet. Had a spare ethernet board I bought from Radio shack on sale. So when I saw a compatible board for only ten dollars, I had to get it. The main reason, I wanted this version of the board is that I have some Arduino chips that that can be plugged and played on the board versus the surface mounted versions which will not plug and play. For those systems that need acm $ sudo apt-get install hal $ sudo usermod -a -G tty $USER $ sudo usermod -a -G dialout $USER Speaking the Arduino, they have a newer IDE. When I downloaded a recent version, I had problems. The one I downloaded today seems to work. Tested the new Arduino board and the extra ethernet board we had. Seemed to work. The page for the new software is: http://arduino.cc/en/Main/Software One thing I like a...

A dash of mplayer.

Image
Thinking about getting a stereo  for the office area, but really did not want to spend any money if I could use an old pc.Love to play free open source royalty free music.  If you think about it, the footprint of a stereo is like a pc but without the monitor. Maybe I could just use an old Linux box to get the job one. Then I thought would it be nice if I could lt the pc stereo stand alone and then access it from a remote machine.  Something linux can do very easily using the ssh environment. Installed a switch and ran the cables from the desk top to the music server. You could also do this via wifi, but that can be a security issue. Once you have everything set up, you will want to move your music files and then organize your music in some way before starting the shell command. so  $ ssh oeorgan1 $ sudo apt-get install mplayer Execute the shell command to play all the sonegs in the subdirectories from the main subdirectory. Note: if you know how to...

Fresh install

Image