Commanding again.
Odds and ends:
#Date and time
$ date +"Date: %m/%d/%y Time: %H:%M:%S"
Date: 09/17/14 Time: 08:34:28
Format a usb stick:
$ sudo umount /dev/sdb1
$ sudo mkdosfs -F 32 -I /dev/sdb1
#Quick way to stop a misbehaving program.
format: pkill progname
$ pkill firefox
#Get a file from youtube:
format youtube-dl url -flv
$ youtube-dl https://www.youtube.com/watch?v=UenUUP2GM4g&list=UUa88-y7odLz96HGE4bI41Lg
#Extract a file directly to a web directory from another host.
$ sudo tar username@host::/home/username/diroffile/filename.tar
From HPR:
#Strip the audio of a video.
$ ffmpeg -i glue.flv glue.mp3
# Possible pretty output file, but takes up extra space.
$ ffmpeg -i glue.flv -target ntsc-dvd output.mpg
# original install
ls -l /var/log/installer
# uptime
uptime
# Quicknote
cat > filename <<EOF
# Quick append
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
——————————————————
We will be doing some interfacing with a bike.
Get ready for some freebasic goodness.
————————————————
Arduino:
The one from Radio Shack is socketed.
The one from Osepp (at Fry’s) is not.
————————————————
Just a few links for gaming:
Gaming:
Mineos – (Minecraft) http://en.sourceforge.jp/projects/sfnet_mineosplus/
Live gamers – http://live.linux-gamers.net/
Gamedrift – http://gamedrift.org/ ($$$)
Sabayon Linux (gaming edition) – http://www.sabayon.org/
Zorin OS Gaming edition. http://www.zorin-os.com/
———-
Game serving: http://www.dragonbe.be/
#Date and time
$ date +"Date: %m/%d/%y Time: %H:%M:%S"
Date: 09/17/14 Time: 08:34:28
Format a usb stick:
$ sudo umount /dev/sdb1
$ sudo mkdosfs -F 32 -I /dev/sdb1
#Quick way to stop a misbehaving program.
format: pkill progname
$ pkill firefox
#Get a file from youtube:
format youtube-dl url -flv
$ youtube-dl https://www.youtube.com/watch?v=UenUUP2GM4g&list=UUa88-y7odLz96HGE4bI41Lg
#Extract a file directly to a web directory from another host.
$ sudo tar username@host::/home/username/diroffile/filename.tar
From HPR:
#Strip the audio of a video.
$ ffmpeg -i glue.flv glue.mp3
# Possible pretty output file, but takes up extra space.
$ ffmpeg -i glue.flv -target ntsc-dvd output.mpg
# original install
ls -l /var/log/installer
# uptime
uptime
# Quicknote
cat > filename <<EOF
# Quick append
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
——————————————————
We will be doing some interfacing with a bike.
Get ready for some freebasic goodness.
————————————————
Arduino:
The one from Radio Shack is socketed.
The one from Osepp (at Fry’s) is not.
————————————————
Just a few links for gaming:
Gaming:
Mineos – (Minecraft) http://en.sourceforge.jp/projects/sfnet_mineosplus/
Live gamers – http://live.linux-gamers.net/
Gamedrift – http://gamedrift.org/ ($$$)
Sabayon Linux (gaming edition) – http://www.sabayon.org/
Zorin OS Gaming edition. http://www.zorin-os.com/
———-
Game serving: http://www.dragonbe.be/
Comments
Post a Comment