HowTos
There are a couple of patches outstanding that I’d like to include in the python-cwiid package. The first is support for the low speed flag for the wii motionplus gyro. This flag lets you know if the motionplus is using the slow or fast scale for its values.
Set up our build environment and get the [...]
Quick recipe for HTML5 video with Flash fallback. Used here.
Download (and fix) HTML5media
Your <head> will need flowplayer.js and html5media.js. Keep flowplayer.swf in the same directory.
Convert source videos to h264/mp4 and ogg. See ffmpeg switches below.
Add <video> tag. Add two <source> lines and an optional <poster> line. See below.
Once installed correctly, h264 will play in Chrome, [...]
http://thomer.com/howtos/ipod_video.html
You’ll need your gpg key
whale:~ rossetti$ gpg2 –export-secret-keys -a > secret.asc
whale:~ rossetti$ scp secret.asc Wakatipu.local:~/
rossetti@Wakatipu:~$ gpg –import secret.asc
Add the debian-multimedia repository
rossetti@Wakatipu:~$ wget http://www.debian-multimedia.org/pool/main/d/debian-multimedia-keyring/debian-multimedia-keyring_2008.10.16_all.deb
rossetti@Wakatipu:~$ sudo dpkg -i debian-multimedia-keyring_2008.10.16_all.deb
rossetti@Wakatipu:~$ sudo aptitude update
Install the dependencies
rossetti@Wakatipu:~/installers/ffmpeg/ffmpeg-debian-0.svn20080206$ sudo aptitude install libamrnb3 libx264-dev libxvidcore4-dev libamrwb-dev libamrnb-dev libfaac-dev
Get the ffmpeg sources
rossetti@Wakatipu:~/installers/ffmpeg$ apt-get source ffmpeg
rossetti@Wakatipu:~/installers/ffmpeg$ cd ffmpeg-debian-0.svn20080206/
rossetti@Wakatipu:~/installers/ffmpeg/ffmpeg-debian-0.svn20080206$ vi debian/confflags
gpl_confflags += –enable-x11grab
gpl_confflags += [...]
http://forum.buffalo.nas-central.org/viewtopic.php?f=39&t=14986&start=0
rossetti@Wakatipu:~/installers/libdlna-0.2.3$ sudo aptitude install libavformat-dev
rossetti@Wakatipu:~/installers/libdlna-0.2.3$ ./configure
rossetti@Wakatipu:~/installers/libdlna-0.2.3$ make
rossetti@Wakatipu:~/installers/libdlna-0.2.3$ sudo make install
rossetti@Wakatipu:~/installers/ushare-1.1a$ sudo aptitude install libupnp4
rossetti@Wakatipu:~/installers/ushare-1.1a$ ./configure –enable-dlna
Checking for libixml …
Error, can’t find libixml !
rossetti@Wakatipu:~/installers/ushare-1.1a$ whereis libixml
libixml:
rossetti@Wakatipu:~/installers/ushare-1.1a$ sudo aptitude install libupnp4-dev
rossetti@Wakatipu:~/installers/ushare-1.1a$ whereis libixml
libixml: /usr/lib/libixml.a /usr/lib/libixml.la /usr/lib/libixml.so
rossetti@Wakatipu:~/installers/ushare-1.1a$ ./configure –enable-dlna
rossetti@Wakatipu:~/installers/ushare-1.1a$ make
rossetti@Wakatipu:~/installers/ushare-1.1a$ sudo aptitude remove libupnp4 libupnp4-dev
rossetti@Wakatipu:~/installers/ushare-1.1a$ sudo aptitude install libupnp3 libupnp3-dev
rossetti@Wakatipu:~/installers/ushare-1.1a$ ./configure –enable-dlna
rossetti@Wakatipu:~/installers/ushare-1.1a$ make
rossetti@Wakatipu:~/installers/ushare-1.1a$ make install
# re install after [...]
Uh oh I chmod -R 777 /
ssh won’t let me in, i can’t su or sudo from console. I’ve logged in as a regular user.
JOB: Get root
METHOD: Check for available cron.d tasks
username@chief:~$ ls -la /etc/cron.d
total 32
drwxrwxrwx 3 root root 4096 2010-05-24 04:17 .
drwxrwxrwx 102 root root 8192 2010-05-24 04:55 ..
-rwxrwxrwx [...]
So mail stopped this morning. Its been a while since I upgraded the virus checker and ClamAV stopped supporting the version that I was using. This halted delivery for some reason.
Upgrading ClamAV.
Uninstall
cd [oldinstalldir]
./configure
sudo make uninstall
Install
wget [newversion]
tar zxf [newversion]
cd [newversion]
./configure –with-user=[myvirususer]
make
sudo make install
ldconfig
Configure
sudo vi /usr/local/etc/clamd.conf
# comment out example
# use the same socket as before (/tmp/clamd)
User vscan
LocalSocket [...]
cd ~/webapps/django/myproject
python2.5 manage.py shell
from django.contrib.auth.models import User
u=User.objects.get(username__exact=’admin’)
u.set_password(’yourpasswordhere’)
u.save()
https://help.webfaction.com/
From Wikipedia
Support for audio and video compression formats in Flash Player and in Flash Video[1][9][14][16][18]
Flash Player version
Released
File format
Video compression formats
Audio compression formats
6
2002
SWF
Sorenson Spark, Screen video
MP3, ADPCM, Nellymoser
7
2003
SWF, FLV
Sorenson Spark, Screen video
MP3, ADPCM, Nellymoser
8
2005
SWF, FLV
On2 VP6, Sorenson Spark, Screen video, Screen video 2
MP3, ADPCM, Nellymoser
9.0.115.0
2007
SWF, FLV
On2 VP6, Sorenson Spark, Screen video, Screen video 2, H.264[*]
MP3, ADPCM, [...]
One of our office servers refused to reboot after a recent update. Attaching a monitor to it we discovered that it could no longer find its boot device. Manually editing grub and changing hda1 to sda1 (its primary SATA drive) caused it to boot successfully. To make the change permanent we applied the following.
Alter the [...]
Ubuntu server 9.10 on a MicroClient Jr with a USB CD-R via a USB to IDE adapter. Perhaps the CD-R timesout or perhaps the installer isn’t seeing the kernel package. However I get this error.
No installable kernel was found in the defined APT sources.
If I continue I get errors trying to install GRUB and LILO.
This [...]