Skip to content

Instantly share code, notes, and snippets.

View Nicksil's full-sized avatar

Nick Silvester Nicksil

  • FOCIIS
  • North Carolina, USA
View GitHub Profile
@Nicksil
Nicksil / gist:e9382cbcc76aac555340
Created October 17, 2014 20:08
Hanlon's razor
Never attribute to malice that which is adequately explained by stupidity.
import turtle
bob = turtle.Turtle()
bob.goto(-675, 350)
bob.goto(-675, 0)
bob.backward(10)
bob.pensize(1000)
bob.color("blue")
bob.forward(2000)
bob.goto(-680, 400)

Keybase proof

I hereby claim:

  • I am nicksil on github.
  • I am nicksil (https://keybase.io/nicksil) on keybase.
  • I have a public key ASAmnhHDPXQXYaStOfKWboPO3PZ7DV8Tx78kafafo1XyKAo

To claim this, I am signing this object:

@Nicksil
Nicksil / stuff
Last active October 1, 2018 01:47
######################################
########## CALL THE BACKEND ##########
######################################
function successHandler(payload, textStatus, jqXHR) {
// Create 'labels' and 'values' arrays here, prepping for handoff to chart renderer
}
function errorHandler(jqXHR, textStatus, errorThrown) {
// Appropriate error-handling measures go here
console.error(errorThrown);