This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ing=: `'' | |
evoke=:adverb define NB. ( | |
'`yes please'=. ,&<~m | |
please f. | |
) | |
apply=:dyad define NB. ( | |
(x evoke)@(y evoke) ing | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<title>WebGL Example</title> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script> | |
<script> | |
function useShader(gl, program, scriptId) { | |
var shaderScript= document.getElementById(scriptId); console.log('shaderScript: ',shaderScript); | |
var shaderType= gl[shaderScript.type.replace(/.*\//,'')]; console.log('shaderType: ',shaderType); | |
var shader= gl.createShader(shaderType); console.log('shader: ',shader); | |
gl.shaderSource(shader, shaderScript.text); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
blocks 3 | |
max depth 2 | |
max block 143 | |
scripts 2 | |
max script 51 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -e | |
trap 'echo FAILED (need git push -u on new branch?)' EXIT | |
[ -r "$VIRTUAL_ENV" ] | |
branch=`git branch|awk '/\*/{print $2}'` | |
find . -iname '*.pyc' -print0 | xargs -0 rm -f | |
git fetch --prune origin | |
git pull origin $branch | |
git pull origin develop | |
while ! [ -e setup/requirements.txt ]; do cd -P .; cd ..; done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/local/bin/python | |
import re, os, sys | |
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "relux.settings.local") | |
import inspect | |
from django.conf import settings | |
from django.core import urlresolvers | |
urlconf = settings.ROOT_URLCONF | |
urlresolvers.set_urlconf(urlconf) |
NewerOlder