Side Project: Yoseka Stationery

Last year, I worked on a few side projects: Teki: Employee sheduling app built on Angular 2 and Rails 5 ng2-foundation: Angular 2 Foundation Staffjoy in »

Organizing modules in Angular 2

I started open sourcing a new project called Teki. It's a schedule management tool built on top of Angular 2 and Rails 5, which are also »

How to download files in Angular.js

There are a few ways to download files with Angular. The simplist way to download a file is with html: <a ng-href="{{downloadLink}}" target="_blank" »

setTimeout/$timeout in Angular 2

10/12/16 Update: Based on this commit, importing Wrapper to use timeout is no longer required. Ex: use setTimeout and setInterval directly: let timeoutId = setTimeout( »

Exploring better way to extend controller in AngularJS with CoffeeScript

TL; DR exploring ways to extend controller disclaimer: it's in CoffeeScript In Angular, it's always good practice to split up and refactor non-view related logic into »

Intro to Neo4j.rb - Active Model with Neo4j in Rails

TL;DR Side by side Neo4j basic queries and Active Node examples Product recommendation example queries This post is intended for readers who want to build »

Consul + Consul-Template with Docker-Compose

When developing microservices architecture, Docker is a natural way to help reduce system dependencies. Dockerising services allows artifacts to be moved around between different stages/environments, »

Simple Deployment Script with Flightplan.js and PM2

TL;DR In this post I'm sharing a simple Flightplan.js deployment script that I wrote recently. It follows Capistrano's convention but I find it much »

Developing Hubot with WebStorm

TL;DR - Basic steps to setting up WebStorm for Hubot development I recently started developing Hubot Scripts, and it’s been fun to learn how »

AngularJS Tutorial

Recently I gave a quick demo/intro on AngularJS to people who have not done AngularJS before, so if you are interested and would love to »

Great developer tool tip for AngularJS

TL;DR click on an element to inspect in Element from devTools go to Console and type $scope access the scope variables right away In my »

Excel builder crashes on large workbook fix

Problem: When exporting an Excel file in client side javascript code, a normal approach is to use the excel builder (excel-builder/excel-builder) and save in this »

Fig - Docker - Setup & Tips - an example on SailsJs and Rails

Recently I have a chance to work with docker to setup a sandbox development environment. Like always, I end up reading a lot of technical blog »

Working with Parse JavaScript SDK in SailsJs

Recently I have been trying out Parse JavaScript SDK in the frontend. Using the SDK has been a breeze for prototyping, especially when I don't have »

ui-router - nested routes

TL;DR Repo for nested routes with ui-router It can take some time to replace ng-route with ui-router, but ui-router can do everything that ngRoute does. »

Should I sign this agreement?

TL;DR This is my personal experience as a programmer working on a pre-startup project with an EMBA student at school. A few months in, my »

First Hackathon

It was our first hackathon and our team won! :) This hackathon challenge was provided by the Boston government; here's a nice intro youtube link: Currently, the »

command line notes

linux command ps aux | grep ... netstat --listen sudo chown -R $USER:admin Find binary/executable location: type -a [command] whereis [command] Print enviorment variables: SET | more »

Uploading Image with AngularJs + saving with NodeJs

This is a quick snippet to uploading a file using AngularJs to NodeJs backend. frontend Inside controller.js, include a service called $upload. (check out $upload »

Adding a headerView to UIScrollView

A few weeks ago I came across this implementation that adds a footer view inside UIScrollView on github: CLTableWithFooterViewController, where the author's demo looks like this: »