Eric Guo's blog.cloud-mes.com

Hoping writing JS, Ruby & Rails and Go article, but fallback to DevOps note

Sublime 2 Installation Guide in Windows

Permalink

  • Install Sublime Text as normal way in Windows
  • Add Sublime Text Path to Path in System->Advanced System settings
  • Download Exuberant Ctags and put ctags.exe to Sublime 2 installation folder
  • Startup the Sublime Text in first time and pin it in Windows 7 Taskbar
  • Open cmd and locate your Sublime User profile folder, %USERPROFILE%\AppData\Roaming\Sublime Text 2\Packages\User
  • git clone https://github.com/Eric-Guo/sublime-user-folder.git .
  • Open the Sublime Text again and install Sublime Package Control by running below code in console line (Ctrl+`)
import urllib2,os; pf='Package Control.sublime-package'; ipp=sublime.installed_packages_path(); os.makedirs(ipp) if not os.path.exists(ipp) else None; urllib2.install_opener(urllib2.build_opener(urllib2.ProxyHandler())); open(os.path.join(ipp,pf),'wb').write(urllib2.urlopen('http://sublime.wbond.net/'+pf.replace(' ','%20')).read()); print 'Please restart Sublime Text to finish installation'
  • Close and Reopen the Sublime Text Editor, Ctrl+Shift+P and type 'Upgrade/Overwrite All Packages'
  • Waiting enough time to let Package Control download all the relative package.
  • Remove line '{ "keys": ["ctrl+b"], "command": "build" },' in Default (Windows).sublime-keymap file (bug for Build 2210? won't allow ctrl+k ctrl+b to toggle side bar if not remove it)

Install Simple Node.js Based TCP Socket Proxy Server in Windows by Batch File

Permalink

In my working Semiconductor factory, some of the machine is heavily protected by network isolate (You can image those machine a very frangible PC which have no windows update turn on), the network is so isolate that only certain bridge PC can connect in both inside intranet and outside - still intranet. To make things even worse, the isolated network is nested; the real machine need cross two level bridge PC to reach the application server.

Some Thought After Attending the Cloud Foundry 2012 Tour in Shanghai

Permalink

I just attend the CFOpenTour2012 in Shanghai yesterday; its a little surprise that tour didn't require any register fee although I always believe a small amount of register fee can help make audience more concertrate.

Mark Lucovsky's opening keynotes is not shock me. Either I'm already tried the Cloud Foundry before the conference or I also run my blog in GAE. I didn't known Mark as familiar as Ballmer or Dave Cutler. But it do shock me after I check the Wikipedia that Mark is the one few guy who make Ballmer threw the chair. The web stack of Cloud Foundry are all open source, the method and system archtecutre of Mark's key notes final program, maybe name stac2 was very different with existing web application, it is totally spread to 20+ different vm server and seems quite scalable.