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
#!/usr/bin/env python3 | |
from __future__ import print_function | |
import argparse | |
import os | |
import os.path | |
import subprocess | |
import sys |
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
execute pathogen#infect() | |
syntax on | |
filetype plugin indent on | |
set laststatus=2 | |
if !has('gui_running') | |
set t_Co=256 | |
endif | |
augroup reload_vimrc |
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
IplImage image = cvLoadImage("source.png"); | |
IplImage templ = cvLoadImage("template.png"); | |
KeyPoint kp1 = new KeyPoint(); | |
KeyPoint kp2 = new KeyPoint(); | |
SURF detector = new SURF(10); | |
System.out.println("0"); | |
detector.detect(templ, null, kp1); | |
detector.detect(image, null, kp2); | |
CvMat d1 = new CvMat(null); | |
CvMat d2 = new CvMat(null); |
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
Traceback (most recent call last): | |
File "./manager.py", line 54, in <module> | |
k.send_file(open("img/" + img, "r")) | |
File "/usr/lib/python2.7/site-packages/boto/s3/key.py", line 710, in send_file | |
chunked_transfer=chunked_transfer, size=size) | |
File "/usr/lib/python2.7/site-packages/boto/s3/key.py", line 882, in _send_file_internal | |
query_args=query_args) | |
File "/usr/lib/python2.7/site-packages/boto/s3/connection.py", line 544, in make_request | |
override_num_retries=override_num_retries) | |
File "/usr/lib/python2.7/site-packages/boto/connection.py", line 939, in make_request |
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
Traceback (most recent call last): | |
File "./manager.py", line 16, in <module> | |
i_queue = sqs.get_queue("jobs") | |
File "/usr/lib/python2.7/site-packages/boto/sqs/connection.py", line 351, in get_queue | |
return self.get_object('GetQueueUrl', params, Queue) | |
File "/usr/lib/python2.7/site-packages/boto/connection.py", line 1055, in get_object | |
response = self.make_request(action, params, path, verb) | |
File "/usr/lib/python2.7/site-packages/boto/connection.py", line 981, in make_request | |
return self._mexe(http_request) | |
File "/usr/lib/python2.7/site-packages/boto/connection.py", line 829, in _mexe |
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
find(val, preds[], succs[]): | |
found = -1 | |
pred = head | |
for level from MAX_LEVEL to 0: | |
curr = pred->next[level] | |
if curr does not exist: | |
return -1; | |
while key > curr->key: | |
pred = curr | |
curr = pred->next[level] |
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
java.lang.UnsatisfiedLinkError: no jinput-dx8_64 in java.library.path | |
at java.lang.ClassLoader.loadLibrary(Unknown Source) | |
at java.lang.Runtime.loadLibrary0(Unknown Source) | |
at java.lang.System.loadLibrary(Unknown Source) | |
at net.java.games.input.DirectInputEnvironmentPlugin$1.run(DirectInputEnvironmentPlugin.java:75) | |
at java.security.AccessController.doPrivileged(Native Method) | |
at net.java.games.input.DirectInputEnvironmentPlugin.loadLibrary(DirectInputEnvironmentPlugin.java:67) | |
at net.java.games.input.DirectInputEnvironmentPlugin.<clinit>(DirectInputEnvironmentPlugin.java:109) | |
at net.java.games.input.DirectAndRawInputEnvironmentPlugin.<init>(DirectAndRawInputEnvironmentPlugin.java:45) | |
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) |
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/python3 | |
''' | |
#<---INFO---># | |
TODO: | |
* Finish Skeleton tracking. | |
* Add in pyserial support. | |
* Telemetry???? | |
* World Domination...Buaaaaa! |
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
package com.heapsort; | |
import java.util.Arrays; | |
import datastructures.*; | |
@SuppressWarnings("unused") | |
public class Heap { | |
private static final boolean DEBUG = false; | |
private int heapSize; |
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/ipython | |
from gi.repository import Clutter as clutter | |
import gobject | |
import glib | |
import sys | |
import math | |
import random | |
import time | |
import subprocess |
NewerOlder