- Python 3
- Pip 3
$ brew install python3
Engine_SimplePassThru : CroneEngine { | |
var amp=0; | |
var <synth; | |
// this is your constructor. the 'context' arg is a CroneAudioContext. | |
// it provides input and output busses and groups. | |
// see its implementation for details. | |
*new { arg context, doneCallback; | |
^super.new(context, doneCallback); |
########################### | |
# ignore generated binaries | |
# but not the data folder | |
########################### | |
*/bin/* | |
!*/bin/data/ | |
######### | |
# general |
## Unity ## | |
*.cs diff=csharp text | |
*.cginc text | |
*.shader text | |
*.mat merge=unityyamlmerge eol=lf | |
*.anim merge=unityyamlmerge eol=lf | |
*.unity merge=unityyamlmerge eol=lf | |
*.prefab merge=unityyamlmerge eol=lf |
pico-8 cartridge // http://www.pico-8.com | |
version 5 | |
__lua__ | |
-- A* pathfinding | |
-- by @richy486 | |
function _init() | |
printh("---------------") | |
printh("starting a star") |
using UnityEngine; | |
/* | |
* Most functions taken from Tween.js - Licensed under the MIT license | |
* at https://github.com/sole/tween.js | |
* Quadratic.Bezier by @fonserbc - Licensed under WTFPL license | |
*/ | |
public delegate float EasingFunction(float k); | |
public class Easing |
So you want to bundle your openframeworks app and not have to worry about that pesky "data/" directory...
follow this stack overflow article:
http://stackoverflow.com/questions/4882572/how-to-bundle-an-openframeworks-application-in-xcode-relative-resource-linking
TLDR: First you need to tell xCode to copy your /bin/data directory into your application bundle by adding a build phase:
#!/usr/bin/env python | |
import turtle | |
D = 90 | |
L = 10 | |
def iterate(axiom, num=0, initator='F'): | |
""" | |
Compute turtle rule string by iterating on an axiom |
import re | |
import pickle | |
from threading import Timer | |
import subprocess | |
from subprocess import call | |
import os.path | |
import sys | |
# config | |
database = 'allPairs.p' |
SetEnvIfNoCase User-Agent .*google.* search_robot | |
Order Deny,Allow | |
Deny from All | |
Allow from env=search_robot | |
#password | |
AuthName "Restricted Area" | |
AuthType Basic | |
AuthUserFile /path/to/.htpasswd |