One of the most modern ways of performing a malicious attack is using client side attack with javascript. What happens is, you visit a site, and that site got javascript that your browser executes. You continue to surf, while the javascript still continue to run in your browser. From there, only the imagination of the attacker stops him/her from what that malicious js should be doing. I wont elaborate the consequences, but this is a somewhat of a new trend on the internet. Specially now that firefox3 and opera both executes javascript within the blink of an eye.
Python 2.5 features a new ternary expression. Here is an example to clarify how it works:
In[1]: boolean=False
In[2]: answer = "yesss" if boolean==False else "noo"
In[3]: answer
Out[3]: 'yesss'
In[4]: answer = "yesss" if boolean==True else "noo"
In[5]: answer
Out[5]: 'noo'
Summary:
variabel = [expression-1] if [boolean-condition] else [expression-2]
Reference: http://www.python.org/dev/peps/pep-0308/
Ok, a little tip for all you ipython users out there.
If you are really used to the way your traditional bash shell works, there is one thing I found that ipython by default lacks. And that is the clear screen command. In ipython by default, you have the !clear command to clear your screen space. But it's not as efficient as the Ctrl+l keyboard shortcut. So I wanted this behavior in ipython too. Here is how you do it:
In your ~/.ipython/ipythonrc you should locate the line:
readline_parse_and_bind "\C-l": possible-completions
Have you ever thought about the fact that the world most quoted theatrical phrase 'to be, or not to be' - by Hamlet - is really a boolean?
Have you ever gotten an error, and you are sure you've seen it before - but you can not recall what causes it?
Then you have just experienced a Déjà Foo(tm).
I'm a avid user of gvim. And I've noticed that my color schemes don't load the correct background color (they do however in vim). In your .vimrc you have to add a little code snippet to solve this:
if has("gui_running")
gui
colorscheme golden
endif
Where golden is the name of the color scheme you want to use.
Thanks to mgedmin for the solution! :)
Cheers!

Install a binary or compile from source.
Since there are no graphical presentation of gconf available in KDE, we use the command line.
So in konsole we type:
gconftool -R /apps | grep avant
...this outputs...
/apps/avant-window-navigator:
/apps/avant-window-navigator/title:
/apps/avant-window-navigator/app:
/apps/avant-window-navigator/bar:
/apps/avant-window-navigator/window_manager:
This time we want /apps/avant-window-navigator/bar
This slide lists the technology and solutions that powers the all so popular news site digg.com.
I thought this might be interesting reading for those of you who care about high performance.
I found my self in a dilemma here recently, I needed to generate my own md5 hash password on the fly (encryption).
So I found 3 ways to do this:
shell: php -r 'echo md5("test");'
098f6bcd4621d373cade4e832627b4f6
mysql: select md5('test');
098f6bcd4621d373cade4e832627b4f6
shell: echo -n test | md5sum
098f6bcd4621d373cade4e832627b4f6
Learn more about md5 encryption here
Agave is not a groundbreaking application. None the less, it's one of those diamonds hidden in the dirt cases.
For a long time, I've missed the colorpicker that Macromedia Fireworks provided on Windows. And there it was, agave. A simple and must have application for all webdesigners and graphicartists. It's really just a colorscheme, but contain a colorpicker as well. A colorpicker is really nice to have when you wanna grab a certain colored pixel, and the colorscheme helps you decide what colors plays well together.
Sure, finding a mp3-file using google is not hard, in fact easy.
However when you wanna find the mp3 file of your favorite artist, you can use this die hard search string:
{-inurl:(htm|html|php) intitle:"index of" +"last modified" +"parent directory" +description +size +(wma|mp3) "artist goes here"}
Remember to change "artist goes here" with the name of the artist and if you want a specific song, type that in as well.
Then you can use wget to easily download all mp3 files in one command:
wget -r -l4 --no-parent -A.jpg www.domain.com/directory