archives
Javascript - Override a Function and Retain the Old One Too
Submitted by Kevin Kleinfelter on Tue, 2008-08-26 14:00.
<SCRIPT language=javascript>
var base_foo;
function foo(yourname){
alert('Hello ' + yourname);
}
base_foo = foo;
foo = function(yourname){
alert('(overide) Hello ' + yourname);
}
</SCRIPT>
From http://dataerror.blogspot.com/2005/08/javascript-function-overriding-part-2.html
TiddlyWiki and Firefox 3 Security Prompt
Submitted by Kevin Kleinfelter on Fri, 2008-08-22 18:38.When TiddlyWiki goes to save a file, in Firefox, you get the following dialog
=====
Internet Security
A script from "file://" is requesting enhanced abilities that are UNSAFE and could be used to compromise your machine or data
=====
Rebooting Linux (Centos 3) Virtual Server
Submitted by Kevin Kleinfelter on Tue, 2008-08-19 20:45.I am using a virtual server from Rose Hosting. It runs Centos 3. When I try to reboot, it fails with a mesage:
- init: /dev/initctl: no such file or directory
Running:
- mkfifo /dev/initctl
seems to have corrected the problem. I'm not sure whether I eventually ran "reboot -f" or "init 6" to reboot.
Oracle exp (and other utilities) Without TNSNAMES
Submitted by Kevin Kleinfelter on Sat, 2008-08-09 01:15.It is possible to run the Oracle exp or imp (and probably other commands) without getting your tnsnames.ora and your environment variables 100% right. (You will need them at least part-way right.) Here's how to run exp:
exp userid/password@sidname direct=y recordlength=65535 feedback=1000 file=test1.dmp log=test1.log tables=(TABLENAME)
Note: sidname might be globalname instead; I'm not sure.
Chandler PIM, iCalendar, and Outlook (Oh my!)
Submitted by Kevin Kleinfelter on Mon, 2008-08-04 17:38.I thought I'd take a look at Chandler for GTD. I downloaded and installed Chandler_win_1.0-rc1.exe. That was the easy part. Then I had to import my Outlook data.
Chandler can import .ics files (only). In case you're unaware, Outlook 2003 can export a .ics file, but it
exports one per event. This doesn't work for my 1000+ events.
