Skip to content

Instantly share code, notes, and snippets.

View treyhakanson's full-sized avatar
🤖
writing code

Trey Hakanson treyhakanson

🤖
writing code
View GitHub Profile
@treyhakanson
treyhakanson / primitives.d.ts
Created August 18, 2019 20:28
styled-components/primitives
import * as ReactNative from "react-native";
import * as React from "react";
export {
css,
DefaultTheme,
isStyledComponent,
ThemeConsumer,
ThemeContext,
ThemeProps,
@treyhakanson
treyhakanson / sroting-algorithms.go
Last active December 23, 2017 14:56
Various sorting algorithms and implementations in the go programing languages.
package main
import (
"fmt"
"math/rand"
)
// ============================================================================
// bubble sort algorithm
func bubbleSort(arr []int) {