March 2010
16 posts
HTML 5 Demos and Examples →
Mac ssh - REMOTE HOST IDENTIFICATION HAS CHANGED!
sudo nano ~/.ssh/known_hosts
Move to the line with the server IP and Ctrl+K to remove it, Ctrl+x, the y to save.
Now try to connect again, accept the connection by typing ‘yes’ to add the new fingerprint.
Done!
ssh-copy-id in Mac OS X
For some reason Macs don’t have this useful script so this will add it.
sudo curl "http://phildawson.co.uk/ssh-copy-id" -o /usr/bin/ssh-copy-id
sudo chmod +x /usr/bin/ssh-copy-id
Linux - Create a software RAID array (softraid) in...
In my case I’m using a RocketRAID 2310 to attach the drives and with a fresh install of 9.10 without installing the driver for the card (if I do install I can’t access the individual drives).
1. Open Disk Utility under System > Administration
2. File > New > Software RAID array
3. Tick the boxes next to the drives you want to use and choose the RAID type in my case a...
Mac Clearing DNS Cache on Tiger and Leopard
Tiger
lookupd -flushcache
Leopard
dscacheutil -flushcache
Ubuntu - RAID setup / Creating Partition Size...
80GB drive for Ubuntu 9.10
RocketRaid 2310
3x 1.5TB drives
After setting the array in the BIOS Utility and installing the driver. If you go into Disk Utility or GParted under System Administration you will be able to see your RAID array but won’t be able to format the drive, and would get something like ‘Error creating file system: helper exited with exit code 1: helper failed...
xerte installation without LDAP
1. remove index.php
2. rename switch.txt to index.php
3. open the index.php and set the username, passwords for the users between lines 114-122. eg
switch($_POST["login"]){
case "admin": if($_POST["password"]=="password"){ $authenticated = true; set_user_details("Admin","-");}; break;
default: $authenticated = false; break;
}
Hybrid - Disappear Here →
RCA student radically improves the UK plug →
Zotac ION improve HD playback with VDPAU
sudo apt-get install libvdpau1
Force server charset to UTF-8
Add to .htaccess….
AddDefaultCharset UTF-8
yayeveryday.com →
Bonobo 'Black Sands' Album Mini Mix →
Install latest nvidia drivers on Ubuntu 9.10
sudo add-apt-repository ppa:nvidia-vdpau/ppa
Valid XHTML with internal JavaScript
‘Any characters within the starting and ending element of a CDATA section are not treated by the XML/XHTML processor as markup, thus preventing a conflict. ’
<script type="text/javascript">
//<![CDATA[
//]]>
</script>
Blinking cursor after install setup screen
I had this problem trying to setup Ubuntu on my new Zotac ION HTPC build. Tried fiddling with the BIOS, then installing from USB, and then tried Arch and Windows 7 CDs installs but they all had the same issue. >_<
The solution:
Don’t install the OS with the mouse plugged into the USB port on the keyboard …