I hereby claim:
- I am tgroshon on github.
- I am tgroshon (https://keybase.io/tgroshon) on keybase.
- I have a public key whose fingerprint is 2E6C 6D16 7B77 D313 26C6 0966 0DB7 2380 0610 2AA6
To claim this, I am signing this object:
class Node: | |
''' | |
Simple implementation of a tree. Functions for add(), search(), and size(). | |
''' | |
def __init__(self, value): | |
self.value = value | |
self.left = None | |
self.right = None |
// | |
// Extensions.swift | |
// | |
// Created by Thomas Groshong on 10/8/14. | |
// Copyright (c) 2014 IS 543. All rights reserved. | |
// | |
import Foundation | |
// Simple usage to join with spaces: |
/** | |
* Create an ActionQueue and dispatch each synchronously | |
* @author tgroshon | |
* | |
* See an alternate implementation using ASync from | |
* https://github.com/facebook/flux/issues/106 | |
* by fabiozaffani | |
*/ | |
import {Dispatcher} from 'flux' |
async function asyncRead(inputId) { | |
var id = await inputId // Awaiting here makes function usable with sync or async inputs | |
// Do some async action that returns a promise | |
return Promise.resolve({id}) | |
} | |
async function asyncWrite(inputModel) { | |
var model = await inputModel | |
// Do some async action that returns a promise | |
return Promise.resolve() |
{ | |
"blacklist": [ | |
"es3.memberExpressionLiterals", | |
"es3.propertyLiterals", | |
"es5.properties.mutators", | |
"es6.blockScoping", | |
"es6.classes", | |
"es6.constants", | |
"es6.arrowFunctions", | |
"es6.spec.symbols", |
I hereby claim:
To claim this, I am signing this object:
# 256 colors for vim | |
set -g default-terminal "xterm" | |
# Vim Keybindings | |
setw -g mode-keys vi | |
# Status bar position | |
set-option -g status-position top | |
# Prefix key |
BEGIN; | |
ALTER TABLE "my_table" ADD COLUMN "some_field" text NULL; | |
ALTER TABLE "my_table" ALTER COLUMN "some_field" DROP DEFAULT; | |
COMMIT; |
# -*- coding: utf-8 -*- | |
# Generated by Django 1.10.5 on 2017-03-29 16:51 | |
from __future__ import unicode_literals | |
from django.db import migrations, models | |
class Migration(migrations.Migration): | |
dependencies = [ |
<html> | |
<head> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> | |
<script> | |
function submitToAPI() { | |
var URL = ‘/contact’; | |
var data = { | |
name: $(‘#name-input’).val(), | |
email: $(‘#email-input’).val(), | |
description: $(‘#description-input’).val() |