Friday, April 17, 2015

Solution to error in installing native gem on windows

Solution to error in installing native gem on windows.

gem install json  Fetching: json-1.8.1.gem (100%)  Temporarily enhancing PATH to include DevKit...  Building native extensions.  This could take a while...  ERROR:  Error installing json:          ERROR: Failed to build gem native extension.        C:/Ruby193/bin/ruby.exe -r ./siteconf20140809-24288-wfgqsd.rb extconf.rb  creating Makefile    make  clean  Makefile:165: *** target pattern contains no `%'.  Stop.    make  Makefile:165: *** target pattern contains no `%'.  Stop.    make failed, exit code 2    Gem files will remain installed in C:/Ruby193/lib/ruby/gems/1.9.1/gems/json-1.8.1 for inspection.  Results logged to C:/Ruby193/lib/ruby/gems/1.9.1/extensions/x86-mingw32/1.9.1/json-1.8.1/gem_make.out  


gem update --system 2.3.0

Wednesday, April 15, 2015

Linux Adding service to upstart

sudo apt-get install chkconfig  sudo chkconfig --add Name_Of_Your_Script  sudo chkconfig --level 2345 Name_Of_Your_Script on

Friday, April 3, 2015

Papago for android

Link to Papago for android. 

https://drive.google.com/file/d/0B7MFJJF11UMneTJkMFBZTVRnZTg/view?usp=sharing

Instruction:
- Extract file to your local folder. 
- Copy extracted files to root of your phone SDCARD.
- Browse thru the folder on the phone. 
- Install the 'PAPAGO!SGMY_Navitotal.apk'  (need to tick "install from unknown source" in the phone setting first)

- Enjoy. 


(The map include is as 01 April 2015. ) 

You can update the map by downloading from MFM 

.
.
.
.
.
#androidNavigationOffline

Centos 7 reset root/ any user lost password / lockout due to cant remember password

1. Need to be in front of the terminal. (Physically if not vm). 2. Reboot the server 3. Press 'e' in the GRUB2 boot screen. 3. bunch...