Note, please replace "WWW/tools" with where ever you store your web tools.
$ mkdir ~/WWW/tools
$ cd ~/WWW/tools
$ git clone https://github.com/phacility/libphutil.git
$ git clone https://github.com/phacility/arcanist.git
MMMMMMMMMMMMMMMWXkl;.. .;dKWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM | |
MMMMMMMMMMMMMXx:. ..''. 'xWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM | |
MMMMMMMMMMWKo' 'lkKNNN0c. .kWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWWNNWWMMMMWWWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM | |
MMMMMMMMMKo. ;xXWMMMMMMX: :XMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMNOoc;''',;cxKKl;odccllclOWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWkcccccckWMMMMMMMM | |
MMMMMMMNx' ,kNMMMMMMMMMWo ,KMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMKo' .;cllc;...,. ;l::, oWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWk:::. ;XMMMMMMMM | |
MMMMMMKc .o0OdkN |
I hereby claim:
To claim this, I am signing this object:
In the following post I would like to introduce one way how you can setup your testing workflow for JavaScript development. The central components in the testing environment are Grunt, Mocha and Chai that I will cover from the introduction and installation of each component to the cooperation of all components for the execution of tests.
If you are already an experienced Grunt user and just look for the Gruntfile.js and the Mocha / Chai setup just skip the central components section and skip to the installing components part.
You can find the sample project with all code at GitHub on: https://github.com/maicki/sample-js-testing-grunt-mocha-chai
# This configuration will set up a database (db) and a web server (web) VM. | |
# Assumes the use of VirtualBox 4.3.14-95030 as a provider. | |
# Uses vagrant-vbguest plugin (https://github.com/dotless-de/vagrant-vbguest) | |
# to keep VirtualBox Guest Addition wrangled. | |
# Configuration | |
# Machine-specific configuration | |
DB_INSTALL_SCRIPT = "vagrant_data/db/install.sh" |
//replace this | |
$("#sameemails>input").change(function(){ | |
if ( $(this).is(':checked') ) { | |
$("#personal_email").hide(); | |
} else { | |
$("#sameemails").hide(); | |
$("#personal_email").show(); | |
} | |
}); |
# Turn off dock animation, no delay | |
defaults write com.apple.dock autohide-time-modifier -float 0 | |
defaults write com.apple.dock autohide-delay -float 0 |
File "/Users/mgrouchy/Dropbox/.repositories/work/SourceMetrics/smetrics/speak/views.py", line 235, in post | |
return super(ProcessPublishFormView, self).post(request, *args, **kwargs) | |
File "/Users/mgrouchy/.virtualenvs/sm/lib/python2.7/site-packages/django/views/generic/edit.py", line 138, in post | |
return self.form_valid(form) | |
File "/Users/mgrouchy/Dropbox/.repositories/work/SourceMetrics/smetrics/speak/views.py", line 240, in form_valid | |
form.save(profile=profile) | |
File "/Users/mgrouchy/Dropbox/.repositories/work/SourceMetrics/smetrics/speak/forms.py", line 209, in save | |
response = super(PublishTwitterWithAuthForm, self).save(**serviceauth.to_dict()) | |
File "/Users/mgrouchy/Dropbox/.repositories/work/SourceMetrics/smetrics/publisher/forms.py", line 101, in save | |
response = publisher.publish(msg, **new_data) |
require 'formula' | |
class TmuxForIterm2 < Formula | |
homepage 'http://code.google.com/p/iterm2/wiki/TmuxIntegration' | |
url 'https://iterm2.googlecode.com/files/tmux-for-iTerm2-20130210.tar.gz' | |
sha1 'd16f3c3abd510cb0a1fc6209bfb3fd83c5639f19' | |
depends_on 'pkg-config' => :build | |
depends_on 'libevent' |
""" | |
This is taken wholesale from JohnnyCache except instead of overriding | |
_get_memcache_timeout in the Django pylibmc backend, we use the Pylibmc | |
backend from django_pylibmc which supports SASL | |
""" | |
from django_pylibmc.memcached import PyLibMCCache | |
class JohnnyPyLibMCCache(PyLibMCCache): | |
""" |