I was always interested in building a small cluster with my (old) computers for my research project (just like MATLAB Distributed Server or a Hadoop cluster). While MATLAB is one of the most mature platforms for scientific computing, it's also extremely expensive, so expensive that an Ivy League college determines …
Attempts to make money from BF deals and lessons learned
Black Friday comes and goes. This always seems a good time to stock (or over-stock) stuffs with all kinds of sweet deals. But instead of spending money (possibly more economically), why not just make some money from the deals? In this post, I'll introduce my experience in trying to make …
Tagged as : EnglishAn rm and git accident
The background is, I have a git repo of
nodejs
code. There is acontrollers
folder in the repo, which I just made some (well, a lot of) changes and am about to commit the staged changes.Then in the root folder of the repo, I suddenly have an urge …
Inspiration Fragments
- PhD阶段的一个很大的经验教训是,很多事情都很难,需要付出很多精力才能取得一点点成就和别人的承认。所以一方面需要耐心再耐心,慢慢打怪练级,一 …
Tagged as : ChineseSelf-Updating Node.js Web App
Can a node.js/express.js web app update itself from a github repo? (i.e. whenever we do a
git push
to github, the server side will also usegit pull
to update itself)It's possible thanks to the powerful WebHook of github.
The basic idea is, to use …