Www

118 posts in Www

Yourls + WP plugin

· linux, software, www

I came against a problem that my Yourls WordPress plugin refused to generate a short url (it timed out when publishing a post; and it sent a tweet with no url).

And when someone visited the post it tried to regenerate a new short url (and this often resulted in 4-5 short urls being created) with title “301 moved permanently”.

Overall, tracking 891 links, 93,876 clicks, and counting!

Blog's back

· misc, virtualisation, www

Yay, after some hardware issues my blog’s back.

Zero had a corrupt reiserfs. Decommissioned the old P4 and replaced by a brand new dual Xeon. Running Xen and Debian instead of Gentoo.

And shortly there after Four (the server that hosts this VM), the Ubuntu host with Xen refused to start its networking, so I decided to start a fresh install (Debian as well this time).

One, who also had a broken hard disk (an old P3) got decommed as well.

https is win for spam

· www

Well, here are some stats for a longer period of time since moving to HTTPS.

So moving to HTTPS lowered the average from ~1000ish to ~200 spam comments per month (I implemented HTTPS near the end of 2011-02).

And yay, for Akismet's graphs being back. For some reason they'd been broken for ages on this blog.

Feature request: Circles plugin

· google, misc, software, www

A plugin, for Wordpress and the likes, to display only content to certain circles.

Depending on your current logged in Google profile, looks up whether you’re in one of my approved circles, and depending on the result shows the content.

Idem dito for Flickr, Facebook (lololol), LinkedIn, …

Shell(s) for my Great Firewall Checker

· linux, networking, software, www

As my last shell has been disconnected in China (not because I was probing websites, but because the building the Guruplug was in got closed) I’m looking for shells. Linux or Unix. With Git installed. I’ll barely use any disk space and it will probe the websites at most once/day (at night, when you won’t notice it).

And not just China, but any country where they tend to censor certain websites.

Great Firewall checker

· linux, networking, software, www

An attempt to create a list of major blocked sites in China (or any other country/ISP). It’s written entirely in Bash.

Github repo riiiiiiight here. It’s used by my PAC-generator.

The Github page is updated once a day by three hosts. One in Belgium, one in The Netherlands, and a Guruplug in China. This way you can compare the results (in case some are down or replying slowly).

As it’s impossible to test every possible site, I just check popular sites (and a bunch of sites from Alexa). But if you know blocked sites not in the list, please submit them – thanks!

Proxy.pac generator

· linux, networking, software, www

I made a simple bash script that generates a proxy auto configuration file.

The PAC file generated redirects all matching rules through the proxy.

The only issue at the moment, is that, once the list gets big, it’s not very performance-friendly. Something I’ll try to fix in the coming days.

I’m using this script to generate a proxy.pac file at work to redirect blocked content in China through the proxy for our employees currently in China.