Blog Archives

Im Starting Mindfulness Meditation

I have a problem. Too much baggage of my life is taking a toll on me. Responsibilities, surviving in a fast paced tokyo life with little Japanese skill, mortgage etc. keeps nagging in my head. I need something to clear

Tagged with: , ,
Posted in Javascript

How Fast is a Bullet Train?

Japan’s bullet trains usually runs at a maximum of 320 km/h. But how fast is 320 km/h really? A view from google map might help your imagination. On our way back from Kyoto, we decided to check our location while

Posted in Javascript

My Son Playing with Dust

OLYMPUS DIGITAL CAMERA

My son started going to Elementary school here in Tokyo. He can play there every Saturday. But throwing dust is his new found interest. Though English is my country’s official language it is not my native tongue. If you find

Tagged with: , ,
Posted in Javascript

Ongoing National Traffic Safety Campaign

Zenkoku koutsu anzen undou jishichuu. I can read it now? Im surprised. Ive been staring at this since many years ago! My friend said this actually means “Ongoing national traffic safety campaign”. Though English is my country’s official language it

Tagged with:
Posted in Javascript

Clearing a Form with AngularJs

The current stable version of AngularJs(1.0.6 at the time of this writing) doesn’t support this feature yet, but starting from 1.1.x this will be available. I decided to explore this new feature in this post because I find it useful

Tagged with: ,
Posted in Javascript

Easily open your file in VIM in Mac

This is a simple way to open your current file in VIM. Do the following inside VIM :! open % If my file is an html file, Boom! It opens my html file in the browser. Though English is my

Tagged with:
Posted in Javascript

Remove a Global Package in NodeJs NPM

I wanted to remove compound which I installed using sudo npm install compound -g➜ ~ compound –version1.1.3➜ ~ npm -g ls | grep compound├─┬ compound@1.1.3 because I wanted to replace it with a live build from github. But even if

Tagged with:
Posted in Javascript

Enrile’s Counter-argument

There is a recent word war in Philippine Senate a few days ago. If you bothered to watch that video, you will notice that Enrile’s first response to Cayetano’s issue of fund misuse is by talking about his late father’s

Tagged with: ,
Posted in Javascript

Quickway to Merge 2 Maps in NodeJs

This is not only useful for server-side javascript (NodeJs), but the client-side usually have all the powerful Javascript libraries such as Underscore.js that they don’t really need this script anymore. I thought about this while processing a form posted to

Tagged with:
Posted in Javascript

Using layouts in EJS using express-ejs-layouts

I like using EJS than Jade when writing NodeJs apps. But one feature of Jade which I really like is the layout. For example, in Jade having the layout.jade   !!! 5   html   head   title   link(rel=’stylesheet’,

Tagged with:
Posted in Javascript