How-to: generate nightly builds from a SVN repository

As you might know, YOURLS development is now hosted on Github. It's now easy to download the current development snapshot, since Github provides an archive/master.zip. But not so long ago, YOURLS dev was hosted on Google Code, where there is no such convenient way to download the current SVN trunk as a .zip archive. To generate "nightly builds", I wrote…

WordPress Upgrade Script

If you have shell access to your webserver, upgrading to the latest WordPress build can be a matter of painless seconds. As usual there is more than one way to do it, and here is one of these ways — the script I am using. < View plain text > code #!/bin/bash CURDIR=$(pwd) SITE="http://yoursite.com/blog" echo Updating Wordpress in $CURDIR echo…

How To Display UTF8 in your Putty Bash Shell

I was having a few reading problems on a server I've recently got my hands on: the locale is set to something like French UTF8, but Putty was displaying annoying é and stuff instead of accented characters. I was expecting the solution to be something linuxish like read boring man pages till I finally decide it's not worth the hassle…

Paste(): like PHP Pastebin, but better since it handles (and highlights) several languages, from C to XML, not just PHP. This is useful for example to ask for programming help on IRC, instead of spamming a channel with 30 lines of your bugging code.

#