Tag: how

  • How To: Write a RTing Twitter bot in PHP

    File this one under “stuff I’ve been meaning to look up for ages”: yesterday I finally sat down and wrote a Twitter-bot. You know the kind – a dedicated account that looks for updates containing a certain word or phrase, then retweets them – I often end up being tweeted by @redscarebot, for example. Anyhow,…

  • Booking Japanese train tickets from outside Japan

    I’ll say this upfront – if you’re visiting Japan as a tourist, probably using a Japan Rail Pass, there’s really no need to book tickets before you go. I’ve hauled myself around most of Honshu, Kyushu and Hokkaido on dozens of trains, usually booking a day or two, at most, before traveling. But then, sometimes…