My Blog

Mostly my technical notes about things I did and issues I solved.

ionic cordova plugin and platform conflict

By kris | Nov 10, 2017 | 0 Comments

The issue article can be found here: Issue 12849 Basically it is one of the plugin supplying some class file which is included in the latest cordova platform libraries, therefore triggered duplicate error: so basically the latest cordova platform 4.5 or higher has conflict with the cordovar plugin: cordova-plugin-console removing plugin solve the issue.

Read More

Docker toolbox behind proxy

By kris | Nov 9, 2017 | 0 Comments

This article is for Docker Toolbox only. So when running docker toolbox, docker host boot2docker image running in VM on Virtual Box. When using docker toolbox, you will need to edit the start.sh BEFORE you start the docker command line prompt: USE %5C instead of “\” export HTTP_PROXY=”http://DOMAIN%5Cusername:password@proxy.proxydomain.com:8080″ export HTTPS_PROXY=”http://DOMAIN%5Cusername:password@proxy.proxydomain.com:8080″ and then you can start the docker…

Read More

Docker DNS in-net resolution

By kris | Nov 7, 2017 | 0 Comments

addition note to the below comment that the default bridge network does support the DNS resolution. It confused me because the first few container was ran on a different configuration therefore cannot resolve each other. But when using docker compose, the containers are launched into default bridge network therefore they are able to talk to…

Read More

Mac bluetooth problem

By kris | Oct 8, 2017 | 0 Comments

** update of this blog ** this didn’t work, and it turns out the macbook bluetooth cannot handle intensive shared usage because of limited bandwidth or whatnot. sorry macbook fans. i got a usb mouse instead. my bluetooth keyboard and mouse simply is waste right now.     got a new macbook pro, and guess…

Read More

Quote from Sapiens.

By kris | Sep 15, 2017 | 0 Comments

How many young college graduates have taken demanding jobs in high powered firms, vowing that they will work hard to earn money that will enable them to retire and pusher their real interests when they are thirty five? But by the time they reach that age, they have large mortgage, children to school, houses in…

Read More

Let's all go home 😂😂

By kris | Sep 15, 2017 | 0 Comments

“Thinking that you are good can make you bad. Talking about positive behavior can encourage negative behavior. Laozi is clearly on to something when he warns us that consciously trying to be righteous will, in fact, turn us into insufferable hypocrites and that anyone striving to attain virtue is destined to fail. What are we…

Read More

Angular Binding to non-native Attribute

By kris | Jul 1, 2017 | 0 Comments

One of the typical gotcha is that while using bootstrap with Angular, some of the bootstrap attributes can not be bound directly. Normally when you doing simple binding in Angular, this is what you do: <img md-card-image class=”img-responsive img-rounded” src=”{{user.profilePic}}” onerror=”this.style.display=’none'”> You bind the user.profilePic to attribute “src” of “img” element, which is fine. When…

Read More

Angular Intro

By kris | Jul 1, 2017 | 0 Comments

First time trying to record my thought on YouTube. As developer, i should have done this long time ago. I mean, the concept of if same event happened 3 times, better make it automated. So here we go, since this is my n time explaining what is Angular to my friends. it is better to…

Read More

Reading Notes

By kris | Jun 29, 2017 | 0 Comments

Reading becoming a luxury activity nowadays, especially for those books that are difficult to understand. It requires not only your time and mostly attentions to read and understand the book. With Internet and information booming, I made a bad habit of skim through books or articles online. Reading the title and then some highlighted keywords.…

Read More

Mongo DB on Fedora

By kris | Jun 23, 2016 | 0 Comments

On the Mongo DB site, there will only be instruction for red hat, and if you just simply follow the instruction, obviously it won’t work. since the instruction is relying on the variable $releaseserver to determine which of your OS level. for Fedora it returns 24 if you are running Fedora 24, but if you check…

Read More