Mac – Burn Playable DVD From VIDEO_TS Folder

hdiutil makehybrid -udf -udf-volume-name DVD_NAME \
-o MY_DVD.iso /path/to/VIDEO_TS/parent/folder

Burn a playable DVD from a VIDEO_TS folder – Mac OS X Hints.

Learn 10 Good UNIX Usage Habits

UNIX tips: Learn 10 good UNIX usage habits.

Flash Crash!

Didn’t know Flash was this bad…

Flash Crash!.

Flash Crash!

I didn’t know how bad Flash was…

Flash Crash!.

Strong.

Shoulder Blade

Mugging victim Julia Popova calmly went home after being robbed on her way home from work – without realising she had a six inch knife stuck into her neck.

Shoulder blade – Around the World News – Austrian Times Online News – English Newspaper.

ASP.NET & And &amp

Interesting…

Why is ASP.NET encoding &’s in script URLs? A tale of looking at entirely the wrong place for a cause to a non-existing bug. – Tales from the Evil Empire.

Miracle Material

Spray-on miracle could revolutionise manufacturing – Science, News – The Independent.

Busting An iPhone Thief

Epic.

How to catch an iPhone thief: Busting an iPhone thief.

Linux Installation & Partitioning

Nice little guide.

Linux Installation & Partitioning « OsFreaks.

NZ School Goes Totally Opensource

NZ school ditches Microsoft and goes totally open source – education, Linux, linux.conf.au, Microsoft – CIO.

Remote Scripting with IFRAME

Remote Scripting with IFRAME.

Get URL Variables

The following JavaScript code parses and stores URL variables into a hash variable:

// Read a page’s GET URL variables and return them as an associative array.
function getUrlVars()
{
var vars = [], hash;
var hashes = window.location.href.slice(window.location.href.indexOf(‘?’) + 1).split(‘&’);

for(var i = 0; i < hashes.length; i++)
{
hash = hashes[i].split(‘=’);
vars.push(hash[0]);
vars[hash[0]] = hash[1];
}

return vars;
}

I updated this code to instead write the URL variables into JavaScript global variables:

// Read a page’s GET URL variables and write them as Global variables.
function getUrlVars()
{
var hashes = window.location.href.slice(window.location.href.indexOf(‘?’) + 1).split(‘&’);

for(var i = 0; i < hashes.length; i++)
{
hash = hashes[i].split(‘=’);
window[hash[0]]=hash[1];
}
}

via Get URL Variables – JavaScript – Snipplr.

Global Variables in JavaScript

The following code is an example of creating global variables from within a Javascript function:

function setValue() { window.myValue = “test”; } function getValue() { alert(window.myValue); // “test” (assuming setValue has run) }

Global Variables in JavaScript – Snook.ca.

James Randi

My hero.

YouTube – James Randi exposes Uri Geller and Peter Popoff.

Windows 3.1

That is some crazy web programming…

michaelv.org.


© Copyright 2007 KafeKafe . Thanks for visiting!