Thursday, December 10, 2009

Happy camper qwerty-keyboard in danish

Finally I got a danish keyboard on my HTC Magic.

I bought my Magic a few month ago and I must say "I love it" (quote Ole H.) But since day 1 a danish qwerty-keyboard has been missing. About a month ago a lost my patients with HTC and unlocked my phone and installed a modded version of Android 1.6. I too want the new features. Btw. the Tattoo and Hero are ugly, so no I will not buy one of them. Well back to the original subject. My new and improved Magic with A 1.6 was rolling, YIR! But still no danish qwerty-keyboard and now I don't even have my danish dictionary any more, crap. But to day i found to obvious solution, Android Marked. A kind soul told me that I could just search the Android Marked for a danish qwerty-board and a danish dictionary. Search search search.... PLING... Keyboard and dictionary found and dl in 30 sec. Quick setup of the keyboard and now I'm rolling wind texting i danish.

Thank you Android Marked

So a word of advise for the next time for you and me, go to the marked

Friday, November 27, 2009

php, LDAP and the whole tree

After using several hours on trying to search the entire AD tree on Windows 2003, I finally found the solution. Copied directly from php.net:

allie at lsu dot edu
06-Mar-2007 10:23
I sure do wish there was some way I could get this information out to all programmers in the world about binding and searching MS AD. This is the second time I was bit by the "I need to search the entire tree" problem.

For php (and apache auth_ldap ) you need to specify port 3268 when you want to search the entire tree. Otherwise it will spit out the partial results error.

ldap_connect($server,3268);

I'm just fortunate enough to have won this same battle with apache searching the whole directory. When I noticed our php application failing auth's for users, I was immediately able to fix the problem by adding this port specification (and the ldap_set_option($ldapserver, LDAP_OPT_REFERRALS, 0) option).

I really hope this helps someone else before they pull all their hair out. I know I miss mine.

Tuesday, May 26, 2009

Glemte HTML tags

Faldt over denne artikel, som beskriver 10 tags, som man burde bruge i stedet for at misbruge DIV tags.

Friday, February 20, 2009

JSLint

Bruger du JavaScript, så er JSLint programemt for dig. JSLint bruges til at validere korrektheden af din JS kode. JSLint tjekker for om du skriver din JS kode rigtigt. JSLint bruger validere koden ud fra Douglas Crockfords ide om hvad god JS kode er. Douglas Crockford er JS guru hos Yahoo. Du kan finde JSLint her.

Wednesday, February 18, 2009

Code readability

Faldt lige over et indlæg om code readability. Meget af det er sikkert logik for burhøns, men det skader aldrig lige at få pointerne igen. Nogen gange har man en tendens til at bare at spytte kode ud, uden at tænke på at der måske er en der skal læse koden i fremtiden. Indlæget er det første i en serie. Indtil videre er der to i serien, men der burde komme en eller to mere.

PHP for begyndere - Screencast

Hvis man ikke har brugt PHP får og gerne vil lære det, så er denne screencast ideel. Den starter helt fra bunden og gennemgår alt hvad man har brug for at komme godt i gang med PHP. Har man erfaring med andre sprog, kan serien godt virke lidt lang, men tiden er godt givet ud.

Monday, February 16, 2009

Memcache

Faldt lige over en glimende start artikel om memcache og hvordan den bruges i PHP. Har ikke selv brugt det, men kan ikek forestille mig størrer sites kan overleve uden en eller anden form for caching.