February 16th, 2007
Proc info: cat /proc/cpuinfo
Directory size: du
Free disk space: df
Test drive speed: hdparm -t -T
Change password: passwd (as root)
Delete anonymous mysql users: DELETE FROM mysql.user WHERE User = ‘’; (as root)
Change mysql root password: SET PASSWORD FOR ‘root’@'localhost’ = PASSWORD(’password’); (as root)
FTP commands to get multiple files: mget / mput
Use prompt n to turn off confirmations
Info about a package: rpm -q -i
Download packages: RPMFind, Fedora.
Install php-5.2: Download the latest version of glibc, then rpm -i –force –nodeps it and all other dependent modules.
[I write this mostly for my own notes, but it might be useful for others as well]

Posted in Uncategorized | No Comments »
May 27th, 2006
Nu är blogwalk-uppföljaren uppe. Förhoppningsvis ska det gå vägen denna gång, utan problem med webbhotell och annat. Statistiken fungerar inte ännu, men förhoppningsvis kommer den börja fungera när portalen varit uppe i en vecka. Namnet blev blogg:anser, vet egentligen inte om det är så bra, var ganska trött när jag kom på det. Åsikter?
Andra som skriver om blogwalks död (och återuppståndelse):
Andra bloggar om: bloggportaler, bloggosfären, bloggverktyg, pinga, bloggande, blogglänkar

Posted in blogg anser, Swedish | No Comments »
May 26th, 2006
I was surfing the swedish internet when I noticed that a blog service, Blogwalk, had been suspended by the owner and that he had released the source under GPL. I decided to try to run the service.
UPDATE: released, see blogg:anser. However, the service is by no means stable yet. Christian writes about blogwalk here.
A lot of confusion was caused by the fact that he had hard-coded the paths for all files into the code. This caused a lot of trouble, as well as the fact that there was a quite smart caching algo and that the server returned “not modified” headers, which I didn’t realise until it nearly drove me mad! But generally speaking, I must say that the code is very well-written and easy to understan. Thanks Christian!

Posted in PHP, Programming, blogg anser | No Comments »
May 21st, 2006
UPDATE: I was wrong. As pointed out here, the text “gdymov.com” is present on the page, although it is cloaked using CSS. Since I overtrusted the wordpress site, I didn’t check the source code of that page. Sorry for any inconvinience caused.
While searching I observed a strange phenomenon. For this search, look at the page codex.wordpress.org/Plugins/Statistics that appears 9th, the snippet says:
Backlinks (http://gdymov.com/inbound-links-backlinks-wordpress-plugin/): Draws a graph over how the number of incoming links (thus the name “Backlinks”) to …
but the text http://gdymov.com/inbound-links-backlinks-wordpress-plugin/ does not actually appear on the page. So, where did Google get this text? When I examined the source, I found that the ‘title’ attribute of the link contains this text. Thus, this proves that google indexes the content in the <a title='’ attribute.
For those that want really rigid evidence, I can say that this does not work with links that have no ‘title’ attribute (in this example, nothing shows up, though the page has a link to gdymov.com, but contains neither the text “gdymov.com” nor does the link have a ‘title’ attribute).

Posted in SEO, Search Engines | No Comments »