Skip to content

Instantly share code, notes, and snippets.

View NickRSearcy's full-sized avatar

Nicholas Searcy NickRSearcy

View GitHub Profile
@NickRSearcy
NickRSearcy / nbveiwer test with cga
Created April 5, 2013 14:57
testing out ipython's notebook veiwer with a compact genetic algorithm code
This file has been truncated, but you can view the full file.
{
"metadata": {
"name": "cGA"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
@NickRSearcy
NickRSearcy / Digits.ipynb
Last active December 16, 2015 13:18
Final Data Mining Project
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@NickRSearcy
NickRSearcy / Graph coloring.ipynb
Last active December 16, 2015 15:09
Graph Coloring Problem
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
/********* Utility functions ************//*
These are mostly mathematical utilities.
I like matrices so I wanna be able to use them.
*//***************************************/
function enumerate(input) {
/*
INPUT
a: a list of values to permute
RETURN
@NickRSearcy
NickRSearcy / click_area.py
Last active December 25, 2015 17:19
automate clicking over an area for a certain amount of time with python
import autopy
import time
from subprocess import call
start_location = [1540, 1004]
stop_location = [1790, 1121]
step = [20, 5]
delay = 0.001
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@NickRSearcy
NickRSearcy / 20140120-CoCoSci Problem Set 2.ipynb
Created January 23, 2014 19:18
20140120-CoCoSci Problem Set 2 walkthrough
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@NickRSearcy
NickRSearcy / test.coffee
Created March 28, 2014 21:12
Meteor jade+coffeescript question
if Meteor.isClient
console.log(Template.hello)
Template.hello.greeting = () -> "Welcome to test."
Template.hello.events({
'click input': () ->