Building Up

'Seedling' by _sjg_, on Flickr

Seh Hui Leong


My journey in Mindvalley is definitely an interesting one. When I first joined the company, I’ve been working on CustomerHugs — which is a web service for users to collect reviews and testimonials from Facebook users.

Unfortunately it is a service that didn’t caught on and was now being in hibernation mode and isn’t actively being supported at the moment1. So in October last year, I was being assigned to my second solo project.

The Second Act

The original idea is to come up with a supplementary API service that complements with UrbanAirship‘s in-app purchase service — to be more specific about it, I’m assigned to come up with an API service that would provide just enough tools to create a more flexible in-app purchase store front for mobile apps, while …

Continue Reading (793 words, 4 minute read)

Hooking Bitbucket Up With Jenkins

Seh Hui Leong


Previously I’ve blogged about automating Hyde deployment with Jenkins and I’m prety much hooked with the idea of doing automated deployment and continuous integration in the future.

Now as much as I loved Github, Bitbucket is where I store all my private repository at — after all, you can’t beat the notion that it allows you to have private repositories even with free accounts :). So, with my blog stuff hosted at Github and my other stuff hosted with Bitbucket, some configuration changes are needed.

After reading the documentation and some trial and error, here’s how you would hook up with an secured instance of Jenkins:

Setting up a secured Jenkins instance

  1. To setup up a secured instance, click on “Manage Jenkins” and then “Configure System”
    • Under “Access Control > Security Realm”, select the …
Continue Reading (618 words, 3 minute read)

Developing Hyde Templates - Part 1

'Just Me…' by Jerry, Flickr

Seh Hui Leong


Let’s see… it’s been close to three weeks I’ve migrated this blog from Wordpress to Hyde. And ever since then I have been constantly fixing bugs in my template.

Let’s run down the commit history and show you some of the lessons that I’ve learned along the way :).

[Note: I’ll be referencing my own template]

Multiple Layouts with Template Inheritance

For my site, I needed two different layouts that shares the same base design: a two-column layout for my blog and full page layout for other static pages.

This is easily achieved by using template inheritance using the extends feature. In my current template, you can refer to the following three files:

  • layout/base.j2 — The overall site design, acts as base template
  • layout/blog.j2 — (child template) The …
Continue Reading (769 words, 4 minute read)

Workflow And Tools To Maintain a Hyde Blog (featuring Jenkins)

Seh Hui Leong


Having switched my blog from Wordpress to Hyde, my blogging workflow now looks something like this:

  1. Write the blog post in Markdown format
  2. Run it through a Markdown previewer to make sure it’s formatted the way I intended
  3. Attach the metadata to the finished post
  4. Create the appropriate directory structures if it doesn’t exists (I’m now organizing the post with each month having their own directories, like /blog/2012/01/) and copy the file into that particular folder
  5. Push it to Github to backup my work
  6. Run it through hyde gen to have the site generated
  7. Once the site is generated, rsync the directory into the server

Now, writing a blog post is already a laborious process in by itself and having to go through the menial and boring workflow like this …

Continue Reading (941 words, 4 minute read)

Recovering From A Long Outage

'The Clean Up!' by One Hell Of A Loser, Flickr

Seh Hui Leong


The whole ordeal started a month ago when my server decided to have temper tantrums and PHP and Nginx just mysteriously decided not to talk to each other again. And with that my Wordpress blogs are taken down with it.


Stress levels rising at an inopportune time when my workload was at an all time high. And it was additional salt rubbed on the injury as I was still scrambling to salvage deleted data from the only backup drive that I have. I totally don’t want to get into specifics, it’d probably stress you out as well.

Then again, I’ve had enough dealing with PHP so that makes the perfect time to migrate my blog away from Wordpress to Hyde - a static site generator. Yes, you read me correctly, it generates …

Continue Reading (474 words, 2 minute read)