July 2008
34 posts
It's Lovely! I'll Take It!: Aaaahhhhhhhh! →
don’t forget to read the comments :)
Set Gmail as your default email client in Firefox
1) Go to Gmail and sign in. 2) While in Gmail, copy and paste the following into your browser’s address bar and hit enter. javascript:window.navigator.registerProtocolHandler(“mailto”,”https:// mail.google.com/mail/?extsrc=mailto&url=%s”,”Gmail”)
from: Official Gmail Blog: Tip: Set Gmail as your default email client in Firefox 3
on a side note
Gazebo in croatian is vidikovaca
backup databases with ldapsearch example
everytime that I have to do that, I do a search and never find exactally what I am looking for.
So let me be a page for that.
I’m moving a database from a stinking mandriva to nicer debian/ubuntu
slapcat ldbmsomething either does not work or cannot be installed (I did mention that it was a stinking mandriva, right?)
so LDAPSEARCH FTW!
the parameters:
-x is for simple auth
LLL is for...
goto in java
yeah there is a goto in java
Oh the scary stuff that you find in bad code…
goto BLA;
BLA:{
//OMG
}
return codes in bash
Totally forgot how to get the return codes from bash
after a few seconds I got a small test working
#!/bin/bash BAR=”ls -l dfjkh “ $BAR RET=$? echo $RET
other codes
$? return status
$$ shell’s pid
$- last asynchronous executed program’s pid
VIM not greedy
Regexps on vim are greedy.. very greedy.
so s/”.*”// will nomnomnomnom the whole
on a “bar” foo “foobar” day
and end with
on a day
I’ve just learned the \{-} the non greedy *
so s/”.\{-}”// is
on a foo “foobar” day
Nice day when we learn a new vi detail..
tyring MogileFS
and having some problems like it giving messages like “you have only 2 bytes of space and you need 35 Mb”
then on the IM:
(01:16:49 PM) me: and you can store up to 2 FULL BYTES OF DATA (01:16:57 PM) me: scalling horizontally
(01:17:24 PM) *hidden*: man, with 2 BYTES you can present SIXTY FIVE THOUSAND FIVE THOUSAND FIVE HUNDRED AND THIRTY SIX DIFFERENT VALUES! (01:17:27 PM)...
shortstory #1
All it took was 35 seconds: No whole day of useless labor. No pointless tasks and meetings. Most important no slow murder of small dreams that only a day on the office and do. A morning in bed, a late lunch, an afternoon of laying on the lawn watching the clouds lazily move. All that in 35 seconds. All that promise gone. Hours gone after those 35 seconds that could have saved my day and a...