Skip to content

Instantly share code, notes, and snippets.

@strickinato
strickinato / code.py
Created Dec 12, 2019
code.py for the quilt prototype board
View code.py
import time
import board
import neopixel
import terminalio
import random
from adafruit_display_text import label
from adafruit_pybadger import PyBadger
pybadger = PyBadger()
@strickinato
strickinato / server.rb
Created Jul 31, 2018
A basic http server key/value store
View server.rb
require 'socket'
# Wrapper for a key / value store that acts as our database
class DataStore
def initialize
@store = {}
end
def set(key, value)
@store[key] = value
@strickinato
strickinato / chapter_2.el
Last active Jun 23, 2016
purely functional data structures chapter 2.1 and chapter 2.2
View chapter_2.el
;; Put the cursor over progn and hit C-M-x
(progn
(defun exersize_2_1 ()
(defun suffixes (list)
(if (not list)
nil
(cons list (suffixes (cdr list)))
))
(defun printer (list)
@strickinato
strickinato / elm-nyc-post-to-upper.elm
Last active Jun 10, 2016
Written for Elm Meetup NYC June 9, 2016
View elm-nyc-post-to-upper.elm
import Html.App as Html
import Html exposing (..)
import Html.Events exposing (onInput)
import Html.Attributes exposing (..)
import Json.Decode exposing ((:=), Decoder)
import Json.Encode
import Task
import Http exposing (Error(..))
main =
View OSX Config
Show full path in finder windows:
defaults write com.apple.finder _FXShowPosixPathInTitle -bool YES
Add ability to quite finder:
defaults write com.apple.Finder QuitMenuItem -bool YES
@strickinato
strickinato / premium_application_bookmarklet.js
Last active Aug 21, 2018
Premium Application Bookmarklet
View premium_application_bookmarklet.js
javascript:void%20function(){var%20p=%22Hip%20Guy%22,i=%22aaron+premium_app%40noredink.com%22,a=%22Marin%20Horizon%20School%22,e=%22Mill%20Valley%22,n=%22CA%22,_=%224152720970%22,m=8,l=0,o=%22School%20Genius%22,c=5,r=%22aaron+premium_app_decision%40noredink.com%22;$app=$(%22%23new_premium_application%22),$app.find(%22%23premium_application_role%22).val(0),$app.find(%22%23premium_application_full_name%22).val(p),$app.find(%22%23premium_application_school_name%22).val(a),$app.find(%22%23premium_application_email%22).val(i),$app.find(%22%23premium_application_phone_number%22).val(_),$app.find(%22%23premium_application_state%22).val(n),$app.find(%22%23premium_application_city%22).val(e),$app.find(%22%23premium_application_num_students%22).val(m),$app.find(%22%23premium_application_grade_checks_2%22).attr(%22checked%22,!0),$app.find(%22%23premium_application_grade_checks_3%22).attr(%22checked%22,!0),$app.find(%22%23premium_application_total_licenses_1000%22).attr(%22checked%22,!0),$app.find(%22%23premium_applicati
View keybase.md

Keybase proof

I hereby claim:

  • I am strickinato on github.
  • I am aaronstrick (https://keybase.io/aaronstrick) on keybase.
  • I have a public key whose fingerprint is 2842 9279 55E0 4F7D 8E54 E23C F80B 55F5 94FF F3C0

To claim this, I am signing this object: