Post categories



Recommended Wordpress Hosting from WPEngine

  • I use these guys for some of my clients; absolutely rock solid and blazingly fast - check them out!





Here are a couple of ads whose clicks and views help me pay for my server hosting











1 2 3

Hello!

Hi, I’m Seb :) I’m a web and software developer (and now a game programmer) from Brighton. You can read a bit more about me and what I do in the “about me” page.

Anyway, feel free to have a read of some of my (relatively infrequent) posts – mostly geeky musings, but you never know…

Fibonacci Clock

I saw the Fibonacci Clock on Kickstarter:

I quite liked the idea so quickly hacked together a similar javascript version:

http://seb.so/other/fibclock/

I’ve made it MIT licence so feel free to extend however you see fit; please let me know in the comments if you do, or you have any problems with it!

How to rescue a broken/backup a working Terraria Cloud Save on Android

I’ve been playing a bit of Terraria on Android; extremely addictive and good fun. I was using the cloud-save functionality that backs up your game saves to Google Drive, and thought I’d be able to use this to sync between devices – I had to send my Galaxy Note 4 back for repair, so reverted to my old (smashed!) HTC One X; fired up Terraria only to find no cloud saves were found.. here’s how to get them back!

(more…)

A simple php class to get latest Facebook and Twitter posts

I’ve just posted a simple PHP class to github (free under MIT license) that will let you fetch the latest Twitter and Facebook posts. All you need is a developer key for both, then to include the PHP file and you’re set!

$social = new SebSoSocial($twitterAcc, $facebookAcc, $numOfEach); 
foreach ($social->posts as $post) {
  echo $post->date . " - " . $post->content;
}

Full instructions and source code available here:

https://github.com/sebmaynard/sebso_social

How to try out Chromium OS under Linux, without a Chromebook

The Chromium team have an automated build bot that generates builds every night; this short guide will explain how to get one of these nightly builds running in QEMU so you can try it out!

(more…)

Ubuntu tips and tricks

Here’s a small selection of tips and tricks I’ve collected in Ubuntu linux – and probably might help in other Linuses (is that the plural of Linux?!) too.

Pebble SDK 2.0 App: Metronebble; a Metronome for Pebble

metronebbleI’ve written a simple metronome app for Pebble (SDK 2.0).

Press the select button (middle) to enter “sampling” mode – tap the pebble to set your tempo. Then press select again to get it to pulse at the tempo you’ve set. You can also increase/decrease the tempo with the up/down buttons.

Precompiled .pbw:
Version 1.0.0 Updated 2013-11-11 10:21

Code is available at:
https://github.com/sebmaynard/metronebble

Pebble SDK 2.0 App: Acceleromonitor – graph your wrists’ accelerometer values

xAdQFGghSeeing as I just got a Pebble watch, I decided to write a quick app for it, and seeing as Pebble have just released the (brand) new SDK 2.0 beta, I’d use some new features from that.

Code is available in case you’re interested:
https://github.com/sebmaynard/acceleromonitor

And a precompiled .pbw:
Version 1.0.2 Updated 2013-11-08 16:47

It displays 3 graphs, X/Y/Z of current accelerometer values vs time, which you can increase or decrease the polling frequency of the accelerometer chip.

How to play Total War: Rome II on Linux (using PlayOnLinux, Wine and Steam, on Ubuntu 13.04)

Posted on: 1 Comment

Screenshot of Rome II on Linux In case you didn’t know, Total War: Rome II is out now on Steam! It’s the latest game we’ve been working on (at Creative Assembly in the UK). This is a quick guide on getting Rome II running under Steam on Linux, using PlayOnLinux (a wine wrapper). Note: this won’t be using the native Linux version of Steam, this is specifically about running Rome II under Steam, running in a Wine environment.

(more…)

HTML source editor for Evernote (web) – a bookmarklet! [Updated 2014-08-12]

evernote-html
Click to view full size

I use Evernote for storing basically everything. Reference, notes, bookmarks (with notes about the bookmark), a journal (although this is a recent addition… we’ll see how long it lasts!) and some parts of my GTD workflow. It’s a fantastic tool with clients for Windows, Linux (Everpad, NixNote), Android, Mac, iPhone and of course, the web (where I use it most).

<shameless_beg>
Signup to Evernote here and reward me with some Evernote points.
</shameless_beg>

Anyway, every now and again, I get a bit frustrated by the editor Evernote uses on their web interface – some little quirk of layout will start misbehaving (usually with nested lists) in the body of my notes. The editor they use is a customized version of TinyMCE, but there’s no button to switch to HTML view (as there normally is in TinyMCE) which I’d normally do to fix these things. However! (and finally to the point of this article) you can inject events into a running instance of TinyMCE so that’s what this bookmarklet does – it sends the mceCodeEditor to the main Evernote editor (which happens to be the second instance of TinyMCE on the page) to let you edit the HTML source directly.

(more…)

How to get, and communicate with, persistent popup windows in Javascript

Let’s say you have a webapp that needs a popup window to hold something (a media player for example) and you want just one for the lifetime of your app. You want to be able to communicate with it (i.e. run javascript functions in it). How?! Read below!

(more…)

1 2 3