ru05team.blogspot.com
Coding for Fun: May 2013
http://ru05team.blogspot.com/2013_05_01_archive.html
May 2013 Coding for Fun. Passionate hackers in Hong Kong. Agile, Ruby On Rails, Scala and Pen Test. Wednesday, May 29, 2013. Clarifying about including json data in javascript file. Just received a beginner question about passing json data to the amchart. A friend was confused about inline json object creation and loading external json file. All the following two versions work. Js/your formatted data.js - var chartData = [ {country: "USA", visits: 1234}, {country: "HK", visits: 5678}, ];. Since we travel...
ru05team.blogspot.com
Pronunciation of "route" | Coding for Fun
http://ru05team.blogspot.com/2013/03/pronunciation-of-route.html
Passionate hackers in Hong Kong. Agile, Ruby On Rails, Scala and Pen Test. Sunday, March 24, 2013. Occasionally, I often heard two different versions for the pronunciation of "route"( "root" vs "rowt"). Mostly from computer networking context. It got me to google which one is "correct". Firstly, "root" 1 from Hong Kong Yahoo dictionary. Http:/ hk.dictionary.yahoo.com/dictionary? Then, it appears a typical pronunciation difference between British and American. Http:/ www.howjsay.com/index.php? Hotcocoa/ma...
ru05team.blogspot.com
Coding for Fun: April 2013
http://ru05team.blogspot.com/2013_04_01_archive.html
April 2013 Coding for Fun. Passionate hackers in Hong Kong. Agile, Ruby On Rails, Scala and Pen Test. Wednesday, April 10, 2013. Managing Rails Environment Variables is the pain in the ass. Managing Rails Environment Variables is the pain in the ass. I have quite a few heroku apps that have sandbox, staging and production environment. And I have to manage lots of environment variables, e.g. Facebook, AWS, TWILIO, octopus database URL etc. Figaro gem really help:. Not committing this file to public!
ru05team.blogspot.com
Coding for Fun: June 2012
http://ru05team.blogspot.com/2012_06_01_archive.html
June 2012 Coding for Fun. Passionate hackers in Hong Kong. Agile, Ruby On Rails, Scala and Pen Test. Thursday, June 14, 2012. Codeaholics June 2012 Meetup: .Net on MVC4, Scala on Play and Ruby Queue. Yesterday Thomas shared about MVC4 (beta) at Codeaholics. He did a demonstration on generating a new CRUD web application and a set of HTTP web API. It just copied most of the tools/design from Ruby On Rails and the IDE is even better than those for Rails. Although the controller code is still too verbose.
ru05team.blogspot.com
Ways to define a class in Javascript | Coding for Fun
http://ru05team.blogspot.com/2013/07/ways-to-define-class-in-javascript.html
Passionate hackers in Hong Kong. Agile, Ruby On Rails, Scala and Pen Test. Wednesday, July 17, 2013. Ways to define a class in Javascript. Developers who come from famous OO languages such as Java/C , like myself, may often find defining class in JavaScript confusing. This article aims to provide a very basic "class definition" in JavaScript. Few notes on JavaScript nature. There is no class actually, usual class concept in Java/C can hardly apply. Let's begin with a simple example below. Var eddie = new...
ru05team.blogspot.com
Coding for Fun: April 2012
http://ru05team.blogspot.com/2012_04_01_archive.html
April 2012 Coding for Fun. Passionate hackers in Hong Kong. Agile, Ruby On Rails, Scala and Pen Test. Sunday, April 1, 2012. Segmentation Fault when you run ruby / rake / rails / gem install commands. This post is based on. Http:/ www.christopherirish.com/2011/09/02/ruby-1-9-2-segmentation-fault-and-openssl/. Rvm remove 1.9.3 rvm pkg install iconv rvm pkg install openssl rvm install ruby-1.9.3 - with-openssl-dir=$rvm path/usr - with-iconv-dir=$rvm path/usr. 張貼者: Eddie Lau. Subscribe to: Posts (Atom).
ru05team.blogspot.com
Coding for Fun: June 2013
http://ru05team.blogspot.com/2013_06_01_archive.html
June 2013 Coding for Fun. Passionate hackers in Hong Kong. Agile, Ruby On Rails, Scala and Pen Test. Thursday, June 6, 2013. Getting your real IP inside Terminal. If you want to check you current public IP for you PC / Mac, sure you know when you visit whereismyip "http:/ whatismyipaddress.com/". However, what to do if you are inside a Terminal, with just an internal IP? Curl -s http:/ checkip.dyndns.org sed 's/[a-zA-Z/ :]/ g'. Wget http:/ ipecho.net/plain -O - -q ; echo. Then you can get your real IP.
ru05team.blogspot.com
Coding for Fun: July 2013
http://ru05team.blogspot.com/2013_07_01_archive.html
July 2013 Coding for Fun. Passionate hackers in Hong Kong. Agile, Ruby On Rails, Scala and Pen Test. Wednesday, July 31, 2013. Error: no candidate version available for postgresql-contrib-9.2. This is the error I got when I set up PostgreSQL using chef on ubuntu 13.04:. No candidate version available for postgresql-contrib-9.2. Where does the error come from. So it is obvious that there is no Postgresql 9.2 found in all the apt repository the system can see. Https:/ wiki.postgresql.org/wiki/Apt. Develope...
SOCIAL ENGAGEMENT