git subtree add --prefix src/bigview/static/js/vendor [email protected]:blitzagency/agency-ui-deps.git master --squash
git subtree add --prefix src/bigview/static/js/vendor/auf [email protected]:blitzagency/agency-ui-foundation.git master --squash
| gem install bourbon -v 3.2.3 | |
| gem install neat -v 1.5.1 |
| # paths | |
| base_path = "./" | |
| config_path = "./config.rb" |
| <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']); | |
| }); |
| 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" |
| require.config({ | |
| baseUrl: '/js', | |
| /* non-essential config removed for berevity */ | |
| packages: [ | |
| /* gsap package looks like: | |
| vendor/ | |
| gsap/ | |
| non-amd/ |
| p = subprocess.Popen(['pbcopy'], stdin=subprocess.PIPE) | |
| p.stdin.write('copy-text') | |
| p.stdin.close() |
| long_description = '' | |
| try: | |
| import subprocess | |
| import pandoc | |
| process = subprocess.Popen( | |
| ['which pandoc'], | |
| shell=True, | |
| stdout=subprocess.PIPE, |
git subtree add --prefix src/bigview/static/js/vendor [email protected]:blitzagency/agency-ui-deps.git master --squash
git subtree add --prefix src/bigview/static/js/vendor/auf [email protected]:blitzagency/agency-ui-foundation.git master --squash
| #! /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 | |
| ;; |
| SwipeEvent = { | |
| 'START' : 'start', | |
| 'DRAG' : 'drag', | |
| 'COMPLETE': 'complete', | |
| 'FAIL' : 'fail' | |
| }; | |
| /** | |
| * @namespace Swipe | |
| * @description Simple interface to detect a touch based "Swipe" |