Skip to content

Instantly share code, notes, and snippets.

View NickRSearcy's full-sized avatar

Nicholas Searcy NickRSearcy

View GitHub Profile
@NickRSearcy
NickRSearcy / Books.md
Last active August 29, 2015 14:27
Post: Books that I recommend and want to read

Recommended (book with the greatest positive impact)

  • The Mind's I: Fantasies And Reflections On Self & Soul --- Dennet & Hofstadter
  • The Better Angels of Our Nature: Why Violence Has Declined --- Pinker
  • The Happiness Hypothesis: Finding Modern Truth in Ancient Wisdom --- Haidt
  • Why Nations Fail: The Origins of Power, Prosperity, and Poverty --- Acemoglu & Robinson
  • Capital in the Twenty-First Century --- Picketty
  • Consciousness Explained --- Dennett
  • Guns, Germs, and Steel --- Diamond (but Why Nations Fail is more correct)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@NickRSearcy
NickRSearcy / collection_view.html
Created March 29, 2014 03:04
Meteor houston tab alignment fix
<template name="_houston_collection_view">
<div class="houston">
{{#if loggingIn}}
{{> spinner}}
{{else}}
{{> _houston_navbar}}
<div class="container content">
<ul class="breadcrumb">
<li><a href="{{pathFor 'houston_home'}}" class="houston-home">Home</a> <span class="divider">/</span></li>
<li class="active">{{name}}</li>
@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': () ->
@NickRSearcy
NickRSearcy / 20140120-CoCoSci Problem Set 2.ipynb
Created January 23, 2014 19:18
20140120-CoCoSci Problem Set 2 walkthrough
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@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
/********* 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.