git subtree add --prefix src/bigview/static/js/vendor git@github.com:blitzagency/agency-ui-deps.git master --squash
git subtree add --prefix src/bigview/static/js/vendor/auf git@github.com:blitzagency/agency-ui-foundation.git master --squash
cd /usr/local | |
sudo chown -R `whoami`:admin ./ | |
git reset --hard | |
git clean -fd | |
cd ~ | |
brew update |
def load_plugin(target, invoke_on_load=True, invoke_args=(), | |
invoke_kwargs={}): | |
if ':' in target: | |
module_name, attr_name = target.rsplit(':', 1) | |
else: | |
module_name, attr_name = target.rsplit('.', 1) | |
try: | |
module = import_module(module_name) |
SwipeEvent = { | |
'START' : 'start', | |
'DRAG' : 'drag', | |
'COMPLETE': 'complete', | |
'FAIL' : 'fail' | |
}; | |
/** | |
* @namespace Swipe | |
* @description Simple interface to detect a touch based "Swipe" |
#! /bin/bash | |
read -r -p "This will restart Chrome, is that ok? [Y/n] " response | |
case $response in | |
[yY][eE][sS]|[yY]) | |
killall Google\ Chrome | |
sleep 1s | |
open -a Google\ Chrome --args --allow-file-access-from-files | |
;; |
git subtree add --prefix src/bigview/static/js/vendor git@github.com:blitzagency/agency-ui-deps.git master --squash
git subtree add --prefix src/bigview/static/js/vendor/auf git@github.com:blitzagency/agency-ui-foundation.git master --squash
long_description = '' | |
try: | |
import subprocess | |
import pandoc | |
process = subprocess.Popen( | |
['which pandoc'], | |
shell=True, | |
stdout=subprocess.PIPE, |
p = subprocess.Popen(['pbcopy'], stdin=subprocess.PIPE) | |
p.stdin.write('copy-text') | |
p.stdin.close() |
require.config({ | |
baseUrl: '/js', | |
/* non-essential config removed for berevity */ | |
packages: [ | |
/* gsap package looks like: | |
vendor/ | |
gsap/ | |
non-amd/ |
export WORKON_HOME=$HOME/.virtualenv | |
export PIP_VIRTUALENV_BASE=$WORKON_HOME | |
export PIP_REQUIRE_VIRTUALENV=true | |
export PIP_RESPECT_VIRTUALENV=true | |
# If virtualenv wrapper exists in these locations... | |
venvwrappers[0]="/usr/local/share/python/virtualenvwrapper.sh" | |
venvwrappers[1]="$HOME/.virtualenv/default/bin/virtualenvwrapper.sh" |
<body> | |
<!-- code removed for brevity --> | |
<!-- require setup, do not delete --> | |
<script src="{{STATIC_URL}}/js/vendor/require.js"></script> | |
<script> | |
require(['{{STATIC_URL}}/js/common.js'], function(){ | |
require(['main']); | |
}); |