Seems to have to be a two stage process going from OTA mpg to mpg.
First cut the end using endpos
Then cut the start using ss
Wednesday, May 2, 2012
Tuesday, December 20, 2011
Tuesday, October 25, 2011
Debian cuda
from
http://wiki.debian.org/NvidiaGraphicsDrivers#Build_manually.2C_with_a_stock_kernel
http://wiki.debian.org/NvidiaGraphicsDrivers#Build_manually.2C_with_a_stock_kernel
export KVERS=$(uname -r)
export KSRC=/usr/src/linux-headers-$KVERS
export KPKG_DEST_DIR=/usr/src
apt-get install linux-headers-$KVERS
then do nvidia
Monday, September 5, 2011
osx 10.6 full screen on virtual box
/Extra and /Library/Preferences/SystemConfiguration/
Kernel Flags
"Graphics Mode"="XxYxN"
machine.xml
Caution - tags auto removed
machine.xml
Caution - tags auto removed
Tuesday, August 9, 2011
Clonezilla and related
Clonezilla worked ok to image linux ext4 and mac hfs+ partitions. However shrink first for going to smaller partitions. However, going to a larger ext4 partition worked, but df reported full.
So, thanks to the interweb,
e2fsck -f /dev/sda?
resize2fs -p /dev/sda?
Also watch boot options to kernel and fstab.
Oh and Clonezilla live worked. Clonezilla from parted magic did not.
So, thanks to the interweb,
e2fsck -f /dev/sda?
resize2fs -p /dev/sda?
Also watch boot options to kernel and fstab.
Oh and Clonezilla live worked. Clonezilla from parted magic did not.
Tuesday, December 28, 2010
change an exisiting boot cd and make another boot cd in osx
Wow, last post was Nov 1, 2010. Two days before Sam.
hdiutil makehybrid -o cd3.iso newiso3/ -iso -hfs -joliet -eltorito-boot newiso3/usr/standalone/i386/cdboot -no-emul-boot -hfs-volume-name "cd3" -joliet-volume-name "cd3"
Monday, November 1, 2010
Auto on off for OSX airport
This works well for me on a mac mini G4. Substitute 192 for whatever is valid for you. Play with the delays to see what works best.
Also restart your wireless router everyday :) I don't know why this helps.
#!/bin/csh
set n = 0
set t = 120
while ( `/Users/me/helperanet` != 192 )
echo $n
networksetup -setairportpower off
sleep 3
networksetup -setairportpower on
sleep 6
@ n = $n + 1
end
with helperanet being
#!/bin/csh
set stra =( `networksetup -getinfo airport | grep -i ip | grep -i 192 | awk 'BEGIN {RS="."} /192/ {print $3}'` )
echo $stra
Subscribe to:
Posts (Atom)