This file contains hidden or 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
# DISTANCE CALCULATING MADNESS | |
# | |
# Mapzen has a bunch of super useful (and free and open source!) APIs for | |
# working with maps, including geoencoding addresses and names of locations | |
# and getting directions between multiple points. Their turn-by-turn service | |
# is named Valhalla. | |
# | |
# You can access the Mapzen/Valhalla API using a URL with a bunch of parameters, | |
# basically structured like this: | |
# |
This file contains hidden or 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 | |
# backs up wordpress database and files | |
set -e | |
###### set your variables | |
BLOGDIR="/home/username/public_html/blog" ## location of blog on server | |
BUDIR="/home/username/blogbu" ## location of backups on server | |
DBNAME='dbname' ## name of your blog's database | |
DBUSER='dbuser' ## database username |
This file contains hidden or 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
#include "ofMain.h" | |
#include "ofxTiming.h" | |
class ofApp : public ofBaseApp { | |
public: | |
ofVideoGrabber grabber; | |
DelayTimer delay; | |
ofTrueTypeFont font; | |
string description; | |