October 2008
14 posts
Ubuntu 8.10 released! →
glider.js "this.parentnode is undefined"...
Dump the prototype.js and effects.js from the glider archive as they are really old now (from May 2007 the same as time glider-0.0.3.zip) and as i found out causes no end of problems. Just replace with the latest files (scriptaculous-js-1.8.1.zip as of this post) from script.aculo.us/downloads to fix.
Message: split() [function.split]: REG_EMPTY
Doh, forgot to escape the pipe..
$array = split('\|', $string);
Component 'mscomctl.ocx' or one of its...
1. Download mscomctl.ocx
2. Copy files to C:\WINDOWS\system32
3. Register the files with Regsvr32
Start > Run...
REGSVR32 mscomctl.ocx
Other common missing components (repeat with the same steps)
comdlg32.ocx
msstdfmt.dll
msinet.ocx
Keep a PHP script running in the background after...
Useful if allowing a cron to be run from a website
<?php
ignore_user_abort(TRUE); // run script in background
set_time_limit(0); // no time limit
// code...
// ?>
Create your own self signed certificate and enable...
1. Switch to root
sudo su
2. Make directory
mkdir /etc/apache2/ssl
3. Create certificate
RANDFILE=/dev/random openssl req $@ -new -x509 -days 365 -nodes \
-out /etc/apache2/ssl/apache.pem \
-keyout /etc/apache2/ssl/apache.pem
Common Name (eg, YOUR name) []: localhost
4. Forget httpd-ssl.conf and make httpd-ssl-custom.conf
nano /private/etc/apache2/extra/httpd-ssl-custom.conf
and...
Adobe Flash Player 10 Now Available →
* New Features
o 3D effects
o Custom filters and effects
o Advanced text support
o Color management
o Speex audio codec
o Dynamic Streaming
o Real Time Media Flow Protocol (RTMFP)
o Dynamic sound generation
o Text engine
o Pixel Bender
o Vector data type
o File upload...
The Last.fm download any track hack
1. Install LiveHTTPHeaders plugin for Firefox
2. Install a download manager (e.g. DownThemAll! plugin for Firefox)
3. Find any song on Last.fm and wait for the page to load (its only really worth doing on full tracks)
4. Firefox > Tools > Live HTTP Headers
5. Press play, then stop on the last.fm player
6. In the header log you should see a link similar to this, select and copy...
OpenOffice.org 3.0 released →
3 Mobile Broadband Huawei E220 USB modem on ASUS...
Tested using Xandros Linux and the 3 Mobile Broadband dongle, but it should work on any modern distro with the 2.6.20 Linux kernel or greater.
1. Plug in
2. Network Connections > Create…
3. Choose
GSM / 3G (UMTS) / HSDPA
Choose
huawei - E220 /dev/ttyUSB0
4. Press Search and select your network provider
3 UK UMTS Current
From the dropdown select your operator and press Next
UK...
Upgrade iPod Touch / iPhone to 2.1 firmware and...
1. Download and install PwnageTool_2.1
2. Download iPod1,1_2.1_5F137_Restore.ipsw or iPhone1,2_2.1_5F136_Restore.ipsw
3. Run PwnageTool and it should find your .ipsw, and build a x_Custom_Restore.ipsw
4. In iTunes 8 hold down the option key and press Restore to browse and select your custom ipsw.
5. After reboot with new Firmware, install OpenSSH using Cydia
6. sftp to your iPod Touch /...
Use mplayer from Mac Terminal
sudo ln -s "/Applications/MPlayer OSX.app/Contents/Resources/External_Binaries/mplayer.app/Contents/MacOS/mplayer" /usr/local/bin/mplayer
New Japanese IDN フィル・ドーソン.jp
If you are interested in registering a Japanese domain I can highly recommend jp-domains.com
You can set the nameservers for each address or forward them to any url very easily, and you won’t need to have a registered postal address in Japan (apart from .co.jp which makes sense).
フィル・ドーソン.jp