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
import urlparse | |
import oauth2 as oauth | |
consumer_key = '' | |
consumer_secret = '' | |
request_token_url = 'http://www.tumblr.com/oauth/request_token' | |
access_token_url = 'http://www.tumblr.com/oauth/access_token' | |
authorize_url = 'http://www.tumblr.com/oauth/authorize' |
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
.font (@font-name, @font-file, @font-weight: normal, @font-style: normal) { | |
@font-face { | |
font-family: @font-name; | |
src:url('../fonts/@{font-file}.woff2') format('woff2'), | |
url('../fonts/@{font-file}.woff') format('woff'), | |
url('../fonts/@{font-file}.ttf') format('truetype'); | |
font-weight: @font-weight; | |
font-style: @font-style; | |
} | |
} |
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/bash | |
current_dir=`pwd`/ | |
dir=$current_dir | |
usage="Usage : `basename $0` [-d dir] [-h] args\nWhere args are directories that you don't whant to pull" | |
while getopts hd: opt; do | |
case $opt in | |
d) | |
if [ ! -d $OPTARG ] ; then |
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
#include <vector> | |
#include <iostream> | |
#include <cmath> | |
using namespace std; | |
#define EPSILON 1.0e-5 | |
#define RESOLUTION 32 | |
class Point2D |