Ett stortack till Göran Söderström som inte bara skapade fonten Navelfluff (se gårdagens) men även skickade mej en ny header till navelfluff.org i precis rätt storlek. Finemang!
blog
You are currently browsing articles tagged blog.
pwnd
Thu 10-Sep-2009 in english, meta | Please leave a comment!
Thanks to Janne, who noted that my blog might have been had. The sign for this was that my permalinks were all weirded out with additions like base64_decode ($_SERVER [HTTP-REFERER] ) (code intentionally munged).
- The quick fix was to edit my permalink settings, removing the funky suffix.
- I also edited sitemap.xml, created by a plugin for Google (and other index engines’) site maps.
- Futhermore, i edited my database manually to remove the base64_decode bits from the GUIDs of my last few posts. Older posts seemed unharmed
- Finally, being very paranoid about the “extra administrators” phenomenon exhibited by this worm, i deleted nearly all of my users. This may include you. So if i did remove you from my system (and i probably did), i’m really sorry and it’s nothing against you. I want you back. It’s all because of that jerk who wrote this Wordpress worm and should be kicked in tar, rolled in feathers and carried around town on a sharp stick.
Oddly enough, i was not able to find more administrators than there should have. Maybe i got lucky. Or maybe i just happened to update my WP just as crap was hitting the fan. Or maybe i just haven’t found the worm lurking inside my code just yet.
In any case, we are back. For now.
Navelfluff CDN engaged
Tue 31-Mar-2009 in english, geek, meta | Please leave a comment!
A while ago, i caught a jaiku from Jonasl regarding Simple CDN, a Content Delivery Network which is (duh) Simple. Simple to register to, simple to implement and, perhaps most importantly, simple to maintain.
So why use a CDN? Well, basically there are three reasons:
- Efficiency. Let your back end server do the processing-intensive bits and leave serving out static content to a dedicated workhorse with a phat pipe.
- Money. It’s/you’re cheap.
- Geeky. It can be done, so why not. And your next door blogger hasn’t got CDN yet, unless s/he’s on a hosted blog.
Me? I went for the geeky and cheap. And here’s how i enabled CDN for my Wordpress blog:
- Register an account at SimpleCDN and jump through the one step confirmation mail hoop.
- Register a “bucket” which will represent your stuff served from the CDN. I chose a Mirror bucket with a S3plus back end. A mirror bucket will populate itself and maintain its content without your intervention and the S3plus option is the cheaper one.
- Optional fluff: Create a DNS CNAME record to point cdn.yoursite.net to yourbucket-options.simplecdn.net. In my case, cdn.navelfluff.org points to navelfluff-s1.simplecdn.net, where the s1 option enables gzip and fairly sensible expiration headers.
- Get and install Yejun Yang’s MyCDN Wordpress plugin. Configure CSS, themes and Javascript with the “pre-url” above, i.e. http://yourbucket-options.simplecdn.net (or the prettier cdn.yoursite.net). No trailing slash in the pre-url!
- Hit Reload on your site. View the site’s source code to make sure everything’s in place.
- Rejoice.
That’s it. Your CSS, theme files and Javascript will be automagically slurped to SimpleCDN and served from there. Nothing to do further but to rejoice your increased geekdom.
Sure the solution could be improved. I’ve read that Amazon’s Cloudfront is way more efficient than Simple CDN, but with my traffic, who cares. In my world, this is just enough.
Tags: blog, cdn, cloud computing, content delivery, simplecdn, wordpress
Lately i’ve been receiving new registered users on Navelfluff on a near-daily pace. This is something new for me, but instead of being flattered, i find this slightly unnerving. Am i really getting all these real and registered users on my blog or do we have a spambot registering itself for malicious activity?
While i have Bad Behaviour and Kismet installed to thwart most spam comments, i still don’t like the thought of having extra load of potential baddies on board. If you new guys would be ever so kind to actually send me a comment, say to this posting, so i know that you are humans?
Thanks.
Tags: blog, bots, navelfluff, spam
About
Categories
They might be pictures
