Some notes on Linux

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]

Taggar.nu

November 12th, 2006

En sida som indexerar svenska bloggar och kategoriserar dem efter hur dom taggat sina inlägg. En alfa-variant är uppe på taggar.nu, det mesta av funktionerna kommer om några veckor.

, , ,

Link Vault

July 5th, 2006

Link Vault is an advertising network that a lot of SEOs use very successfully to increase their rankings. To do this, you have to register in the system with a good site that you get a lot of “Vaultage” for (Vaultage is the internal currency), and then create some “Links”. There are some minor disadvantages, such as a flawed controls system and absece of support for Unicode characters, but on the overall, it is a rather good network which I use a lot myself. Read more about Link-Vault (sometimes called LV) here.

If you need support for Unicode characters, there is another somewhat smaller network called StaticAds.

Testers wanted for StaticAds

June 29th, 2006

My link exchange network, StaticAds, is now up and running. I’m looking for people who want to act as testers and use the system in the future when all bugs have been corrected. Register in StaticAds.

test and test and test.

Synonymordbok

June 5th, 2006

Jag har snabbt skrapat ihop ett skript som fungerar som en synonymordbok. Vidareutveckling kommer även där.

Esbatism & Narcissism

June 5th, 2006

Ny funktion på blogg:anser: en sida där du kan se texter som imiterar vissa svenska ungdomspolitiker.

En liten förbättring är på gång.

UPDATE: Nu har Esbatismerna fått karakteristiska överskrifter. Om Narcissismerna kommer få motsvarande är okänt.

Bloggprojektet igång

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: , , , , ,

Blogwalk => blogg:anser.se

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!

Alt- and title- attribute SEO test

May 25th, 2006

This post will be pretty small and I will update it when we see the effects.

anchor text
gdseo2 testalt

Google indexes ‘title’ attribute in <a> tag

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).