Friday, June 19, 2009
Vote for my short! at Film Racing | ave Makeup, Will Travel - Vote For Us
Monday, June 15, 2009
The Atlantic: Happiness
This month's issue of The Atlantic takes another perspective on happiness, highlighting a study - The Harvard Study of Adult Development - that began in 1937. It offers a much-more nuanced look at what determines happiness. Among its more interesting details is an examination of how our defense mechanisms
http://www.theatlantic.com/doc/200906/happiness
Sunday, June 14, 2009
Comfort Wipe Commercial
Uuuuh...
Thursday, June 11, 2009
100 Best Movie Lines in 200 Seconds
Wednesday, June 10, 2009
Linux: Find ip of known MAC address
Useful for DHCP only networks where you can't get a reservation and have multiple machines (laptop / desktop) and you reservations are short. Requires nmap, and nmap must run as root to get the scan the subnet and get the MAC. Copy and paste this into a script file.
#!/bin/bash
# enter known values
other_mac=00:00:00:00:00:00 <-- change for the mac of the machine you want to find
subnet=1.2.3.1-254 <--change for your subnet
# don't modify from here on down
# set current date stamp
prefix=`echo $subnet | /usr/bin/cut -d "." -f1`
# find the mac of wanted pc with nmap and get current ip
# requires nmap, and nmap has to run as root, you can add your account to sudoers with visudo
# username ALL= NOPASSWD: /usr/bin/nmap
newip=`/usr/bin/sudo /usr/bin/nmap -nsP $subnet | /bin/grep -B1 -i "$other_mac" | grep $prefix | /usr/bin/cut -d " " -f2 | egrep -iv "[a-z]|[A-Z]"`
#do whatever you want here, add to your hosts file, launch command with ip, etc...
#vncviewer $newip -compresslevel 0 -quality -5
echo $newip
#!/bin/bash
# enter known values
other_mac=00:00:00:00:00:00 <-- change for the mac of the machine you want to find
subnet=1.2.3.1-254 <--change for your subnet
# don't modify from here on down
# set current date stamp
prefix=`echo $subnet | /usr/bin/cut -d "." -f1`
# find the mac of wanted pc with nmap and get current ip
# requires nmap, and nmap has to run as root, you can add your account to sudoers with visudo
# username ALL= NOPASSWD: /usr/bin/nmap
newip=`/usr/bin/sudo /usr/bin/nmap -nsP $subnet | /bin/grep -B1 -i "$other_mac" | grep $prefix | /usr/bin/cut -d " " -f2 | egrep -iv "[a-z]|[A-Z]"`
#do whatever you want here, add to your hosts file, launch command with ip, etc...
#vncviewer $newip -compresslevel 0 -quality -5
echo $newip
Labels: admin scripts, Linux, scripting, Tech
Monday, June 08, 2009
Ubuntu Jaunty: Gmail as default mailto: handler
First, make Firefox 3 use Gmail for sending page links (right click Send Link) and handling mailto: links.
- Open Firefox
- Click Edit/Preferences
- Click Applications
- Find mailto: and change to "Use Gmail"
- On your desktop toolbar, click System/Preferences/Preferred Applications
- On the "Internet" tab, Mail Reader, change to Custom
- In the "Command" box type: firefox %s
- Click close to save your new settings.
- Right click on any file and click "Send to..."
- Change Send as: to "Email (Evolution)"
- Put email address in the Send to box.
- Click Send.
Friday, June 05, 2009
Ubuntu Jaunty: Getting WMV to Play
Add the medibuntu repo's and get them approved
install smplayer and the supporting codecs and libraries
that should do it. if you are not running jaunty, just rename the jaunty bits to your distro on medibuntu, that "should" work.
UPDATE
Alternatively, install this package (which I haven't tested) to play and record most common multimedia formats, including MP3, DVD, Flash, Quicktime, WMA and WMV, including both standalone files and content embedded in web pages. (should work for Jaunty, Ibex and Hardy)
- sudo wget http://www.medibuntu.org/sources.list.d/jaunty.list --output-document=/etc/apt/sources.list.d/medibuntu.list
- sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update
install smplayer and the supporting codecs and libraries
- sudo apt-get install w32codecs libdvdcss2 mozilla-mplayer smplayer
that should do it. if you are not running jaunty, just rename the jaunty bits to your distro on medibuntu, that "should" work.
UPDATE
Alternatively, install this package (which I haven't tested) to play and record most common multimedia formats, including MP3, DVD, Flash, Quicktime, WMA and WMV, including both standalone files and content embedded in web pages. (should work for Jaunty, Ibex and Hardy)
- sudo apt-get install ubuntu-restricted-extras
Thursday, May 28, 2009
Mary Roach: 10 things you didn't know about orgasm
We are all wankers.
Monday, May 18, 2009
Leonard Nimoy on the Spock "Star Trek" Vulcan Salute
Oy. vey!!! Who knew!!!
Musopen - Free Public Domain Classical Music
Musopen - Free Public Domain Classical Music
Also for some original royalty free music visit:
http://incompetech.com/m/c/royalty-free/
