• Tech Project Bootstrap Stack

    Since a few years ago, we foresaw a vast number of new technologies allowing more agile product development. Those technologies are enabled by a list of nicely-designed tools. In this document, we are going to introduce a few management-related tools. Source Code Management + Agile Issue Tracking Source code management...

  • Ubuntu inside Mac for Development

    Ubuntu is a great choice and provides much better Linux feeling than Mac OS X. And sometimes it’s painful to configure the entire OS X dev box, thus I’ve decided to run Ubuntu with VMWare Fusion for development. VMware is much more powerful than VirtualBox in terms of virtualization technology...

  • Docker with VMWare

    Boot2docker was deprecated in favour of Docker Toolbox, where the latter is much more convenient to kickstart on a vanilla machine. However, it’s a pity that the bundle comes with VirtualBox by default, and I’m using VMWare Fusion for better performance on my dev box. According to Java Bain, a...

  • Developer Checklist

    Here’s my personal checklist while installing a Mac machine: Installation: Xcode Dash Homebrew: Installation: ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)", ortherwise available at [http://brew.sh/]; Haskell: Software available online or brew install ghc haskell-platform cabal-install; Node: brew install node will install Node.js perfectly; Set up SSH public key on various servers, including...

  • SSH Tunnel

    I should list the useful SSH related things right here:1. Specify connection optionsssh -i sunnybunny.pem -p 222 -vv steve@server.iyyang.com2. SSH Tunnelssh -D 8080 -C -N username@example.comThis would forward all traffic to username@exmaple.com via socks, and we can further set up SOCKS proxy through 127.0.0.1:8080 in browser - to use example.com...

  • PPTP VPN with CentOS 7 + firewalld

    I've recently tried to install PPTP VPN server on CentOS 7 but still having some issues. After spending sometime we figured out a way let the service properly working with firewalld.A detailed instruction is presented by Digital Ocean: https://www.digitalocean.com/community/questions/how-to-install-pptp-vpn-on-centos-7To make it working with firewalld, we've made a few updates, and the...

  • A glance at CentOS 7

    For some reason, I've started a CentOS 7 instance to manage some services. It has a bunch of nice features, including LinuX Containers.However, because of those changes, it is replacing some well-known components to better fit the latest development - specifically the isolation of namespace. Some significant updates includes:service -->...

  • Sudo in a Shell

    While managing servers, it’s necessary to use the proper account to manipulate the assets - and here’s the example for updating assets on edX: #!/bin/bash # update theme svn cd /edx/app/edxapp/themes/default sudo -H -u edxapp svn update # update lms assets cd /edx/app/edxapp/edx-platform sudo -u edxapp LANG="en_US.UTF-8" SKIP_WS_MIGRATIONS="1" GEM_PATH="/edx/app/edxapp/.gem" NO_PREREQ_INSTALL="1"...