Friday, May 25, 2007

SPEED UP YOUR 9500 / 9300 /9300i COMMUNICATOR

1. Clear your Logs --> Desk-->Menu-->Tools-->Logs
Press Menu --> Tools --> Log Duration (SET THIS TO 1 /3 or 5 DAYS)

The default number is 30 days. Example your receive at least 20 calls
p/day + 20 outgoing calls p/day + 20 sms's (All this data gets
captured into this log) the following symptons appear with the phone:

Slow response of the telephone cover buttons ; out of memory errors;
if u press the green answer button; the bloody thing Answers a call
after 3/5 seconds later.

2. Change the Search Criteria for your contacts
goto contacts-->menu-->tools-->settings--> "SEARCH TAB"; turn COMPANY
& EMAIL -OFF.

Ideally nokia needs to release better firmware software for the
phone; at the moment this was tested with V5.22(01) , to my
knowledge, there is later beta software, SO PLEASE CHECK YOUR PHONE
BY PRESSING *#0000# then book your phone in if older; BACKUP YOU
PHONE BEFORE THE BOOKING because the upgrade will WIPE OFF EVERYTHING
IN THE PHONE MEMORY.

Zip / Unzip in the shell

zip -r test.zip *

unzip test.zip

 

Towel Day

From Wikipedia, the free encyclopedia (http://en.wikipedia.org/wiki/Towel_Day)

Jump to: navigation, search



Towel Day is celebrated every May 25 as a tribute by fans of the late author Douglas Adams. The commemoration was first held in 2001, two weeks after his death on May 11, and since then has been extended to an annual event. On this day, fans carry a towel with them throughout the day. The towel is a reference to Adams's popular science fiction comedy series The Hitchhiker's Guide to the Galaxy.

Wednesday, May 23, 2007

Wednesday, May 16, 2007

Tuesday, May 15, 2007

Nice examples of shell commands for OSX

http://www.westwind.com/reference/OS-X/commandline/admin.html

Useful shell commands for OSX: pbcopy and pbpaste

Try “history | pbcopy” in the shell and “APPLE-V” in your favourite editor.

 

There is the also the opposite command: pbpaste

Useful resources for working with VIM on MAC-OSX

http://wiki.macvim.org/wiki/

Linux: Find command ssh in your history

history | grep -i ssh

Thursday, May 03, 2007

Upserts in Oracle

MERGE <hint> INTO <table_name>
USING <table_view_or_query>
ON (<condition>)
WHEN MATCHED THEN <update_clause>
WHEN NOT MATCHED THEN <insert_clause>;

 

Source: http://www.psoug.org/reference/merge.html

Wednesday, May 02, 2007

UML FAQ: Association vs. Aggregation vs. Composition

Example:
Account -> Transaction, should be association, because they can live independently
(XMI: aggregation="none")

Order -> Order Line, should be aggregation, because the part cannot live without the whole.

(XMI: aggregation="shared")

Navigability is important when coding:
In the Account case, it means it will had an attribute of type Transaction.

Last point about aggregation, is in case when it is a composition, the whole will be responsible for the construction/destruction for the part also. It means there would be works for the whole to do.

(XMI: aggregation="composite")

Source: http://www-128.ibm.com/developerworks/forums/dw_thread.jsp?forum=346&message=13776783&thread=101811&cat=24