Permalink
Browse files

new posts

  • Loading branch information...
pckben committed Apr 18, 2013
1 parent 1bc2081 commit 789791c36c36eec4f4b5f2bb8d58d0957ec3af18
@@ -0,0 +1,54 @@
+---
+layout: post
+title: A survey of modern JavaScript tools and libraries
+---
+
+# GUI #
+
+[Twitter Bootstrap](http://twitter.github.io/bootstrap/)
+
+# Backend #
+
+## NoSQL datastore ##
+
+[Firebase]()
+
+# Test #
+
+Jasmine
+PhantomJs
+Testacular/Karma
+
+## Online editors ##
+
+### Libraries ###
+
+jQuery
+underscoreJS
+
+[CodeMirror](http://codemirror.net/)
+
+### Websites ###
+
+[Action.IO](https://www.action.io/)
+[Socrates](http://socrates.io/)
+[Firepad](http://www.firepad.io/)
+
+[List of languages that compile to JS](https://github.com/jashkenas/coffee-script/wiki/List-of-languages-that-compile-to-JS)
+[emscripten](https://github.com/kripken/emscripten/wiki)
+[viz.js](http://mdaines.github.io/viz.js/example.html)
+[TexLive](http://manuels.github.io/texlive.js/website/)
+
+
+
+
+
+# Unsorted
+
+Kinetic JS 4.2.0
+JQuery 1.9.0
+Underscore.Js 1.4.3
+JQuery HotKeys 0.8
+JQuery MouseWheel 3.1.3
+Hammer.JS JQuery Plugin 1.0.4
+Color JS 0.4.1
@@ -0,0 +1,11 @@
+---
+layout: post
+title: A survey of online time management apps
+---
+
+http://passivepanda.com/tools#time
+http://ptmoney.com/15-free-online-time-management-tools/
+http://blog.careerworx.co.uk/2012/01/best-free-online-organisation-time.html
+http://freelanceswitch.com/productivity/8-simple-online-time-management-tools-for-freelancers/
+
+[DeskTime](http://desktime.com/)
@@ -0,0 +1,51 @@
+---
+layout: post
+title: Set up git hooks for continuous integration
+---
+
+Create a git bare repo, a post-receive git hook and make it executable:
+
+{% highlight bash %}
+$ cd /path/to/deploy/repo.git
+$ touch hooks/post-receive
+$ chmod +x hooks/post-receive
+$ vim hooks/post-receive
+{% endhighlight %}
+
+Insert the following code, but modify it to your taste, for example: add a line
+for automatically execute tests, or syncing static website with an Amazon S3
+bucket.
+
+{% highlight bash %}
+#!/bin/bash
+#CONFIG
+LIVE="/path/to/local/live/repo"
+
+read oldrev newrev refname
+if [ $refname = "refs/heads/master" ]; then
+ echo "************* DEPLOYING TO LIVE SITE ******************"
+ unset GIT_DIR
+ cd $LIVE
+ git pull origin master
+ # do some other stuff here...
+ echo "********************* DONE ****************************"
+fi
+{% endhighlight %}
+
+Next, clone this bare repo into a local live repo
+
+{% highlight bash %}
+$ mkdir -p /path/to/local/live/repo
+$ cd /path/to/local/live/repo
+$ git clone /path/to/deploy/repo.git .
+{% endhighlight %}
+
+Now, go back to your working repo, add the deploy remote, then push to it to
+deploy:
+
+{% highlight bash %}
+$ cd /path/to/working/repo
+$ git remote add deploy /path/to/deploy/repo.git
+$ git push -u deploy master
+{% endhighlight %}
+

0 comments on commit 789791c

Please sign in to comment.