archives

Date
  • 01
  • 02
  • 03
  • 04
  • 05
  • 06
  • 07
  • 08
  • 09
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31

Javascript - Override a Function and Retain the Old One Too

<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

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

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

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!)

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.