Tag Cloud
Concourse CI/CD devops prometheus kubernetes monitoring modbus kepware c-programming IoT golang telegram bot python cli urwid elasticsearch aws ecs apache spark scala AWS EMR hadoop webhooks ssl nginx digital-ocean emr apache pig datapipeline found.io elastic-cloud rails try capybara docker capistrano heka bigquery kafka protobuf vim iterm javascript emberjs git scripting dnsmasq bem frontend meteorjs meteorite heroku

Page 3 of 4
Newer Posts Older Posts

VIM Toggle Background Scheme
Written by Ho Man May 20, 2014 less than a minute read

Have you ever wanted BOTH the dark and the light background schemes in VIM? Perhaps in the day, you feel that you can concentrate better with a light background and at night, the dark. I did! So I bound one of my Fn keys to do just that.

This works well for color schemes that offer both dark and light versions, for example Solarized.

let g:scheme_bg...
Read more →

Opt-Arrow Navigation in iTerm2
Written by Ho Man May 12, 2014 1 minute read

Something that most people use frequently but take for granted for sure is the use of Option + Arrow keys to navgiate between words in Mac OS X. Its just something you use and not think about much and it becomes second nature almost. So when I moved to iTerm, I’m sure a couple of you would have wanted to maintain the the same behaviour of that in...

Read more →

Block Scope in Javascript
Written by Ho Man May 07, 2014 2 minutes read

I do abit of development work using plain Javascript on and off. I’ve written OOP modular Javascript for Wego as well but my development work is never really deep enough to encounter all the classic “noob” problems.

Today I came across one. It was something that got me a little mind-blown because it is something that I have entirely taken for granted...

Read more →

EmberJS + JQueryUI Date + Moment.js
Written by Ho Man May 04, 2014 4 minutes read

When handling the dates in one of my EmberJS apps, I had to find a date picker to work with. In the end, with the recommendation from my fellow colleagues, I went with jQuery UI's date picker + moment.js for the parsing/display of the dates.

The Issues

There were a few things that kinda put me off guard. The first: when deserializing/serializing...

Read more →

EmberJS Computed Properties vs Manual Filter
Written by Ho Man May 04, 2014 2 minutes read

The problem begins when one of my ‘filter functions’ for the my model (delayed/active tasks lists from all tasks) wasn’t getting reactively updated when the store gets new entries or updates. When I found out why, I thought to myself that this is actually a pretty easy scenario to fall into IMHO.

I realised that I wasn’t actually utilising ember...

Read more →

CMD Function to Browse Git Branch/Compare
Written by Ho Man Apr 29, 2014 1 minute read

While I am doing development work on projects, be it at work or at home, I find that something that I do at least a couple of times (or more) daily. After commiting and pushing the changes, sometimes I want to go to the branch on github from the terminal to either create a pull request or to just view all the commits/diffs altogether. It gets a little...

Read more →

Dnsmasq for Local Dev
Written by Ho Man Apr 28, 2014 1 minute read

I work for Wego (hotels/flights metasearch) and we’ve got many sites for the various cctlds. To test them after frontend development, usually I’ll just add like www.wego.com.sg to my host file and direct it to 127.0.0.1 but sometimes it gets a little troublesome, especially when the autocomplete forms breaks from www.wego.com.sg without the 3000...

Read more →

Thrift Gem 0.8.0 with Mavericks 10.9
Written by Ho Man Apr 25, 2014 1 minute read

There seems to be some issue with building the thrift gem 0.8.0 on Mavericks. Taken from this discussion: Jira Issue

The issue is that in Mavericks, strlcpy is now defined as a macro if you install the SDK. This conflicts with the duplicate declaration of strlcpy as a function in strlcpy.h. The fix should be simple: don’t re-declare the strlcpy...

Read more →

My Dilemma With BEM
Written by Ho Man Apr 22, 2014 2 minutes read

What exactly is BEM? BEM stands for Block, Element, Modifier.

In case you haven’t heard of BEM yet, have a look at the definition to have a look. It’s a really interesting naming convention for your DOM elements that makes it more manageable in the long run that has gained popularity recently. Trending yo!

Its pretty useful in that it sort of...

Read more →

Deploying Meteor 0.8.0 (Meteorite) to Heroku
Written by Ho Man Apr 19, 2014 less than a minute read

It was…surprisingly easy, no honestly, much easier than I thought.

Steps:

  • Create new Heroku application: heroku create <appname> --stack cedar --buildpack https://github.com/oortcloud/heroku-buildpack-meteorite
  • Setup other than MongoDB for your Meteor application (I just added MongoHQ via heroku addons:add mongoHQ
  • heroku config:set ROOT_URL=http...
Read more →