Skip to content

Instantly share code, notes, and snippets.

View danhendrix's full-sized avatar

Danny Hendrix danhendrix

  • Seesaw
  • San Francisco, CA
View GitHub Profile
### Keybase proof
I hereby claim:
* I am danhendrix on github.
* I am danhendrix (https://keybase.io/danhendrix) on keybase.
* I have a public key ASDjvfZ77LxxBrBKAn9QHgXqqxD-7UM7TGQ1OmoN3bS6rAo
To claim this, I am signing this object:
@danhendrix
danhendrix / map.js
Created May 24, 2017 18:22
Twitter Heatmap
angular.module('sentimently.heat', [])
.controller('HeatController', function($scope, Heat) {
var tweets = [[-74,41]];
var init = new Promise(function(resolve, reject) {
resolve(Heat.initializeMap());
});
var socket = io();
init.then(function() {
console.log('map loaded');
@danhendrix
danhendrix / gist:6456123
Created September 5, 2013 21:02
pricing import
Sub importPrices()
'
' importPrices Macro
'
Range("p9").Select
Dim counter As Integer
Dim pointerCount As Integer
Dim pointer As Range
Dim myRange As Range
counter = 1
from random import randint
class NewGame(object):
def __init__(self, name):
self.name = name
self.hp = 100
self.armour = 50
self.attack_power = 100
self.level = 1