Skip to content

Instantly share code, notes, and snippets.

View jalandis's full-sized avatar
🏠
Working from home

John Landis jalandis

🏠
Working from home
View GitHub Profile
@jalandis
jalandis / example.elm
Created July 14, 2020 13:13
example of message passing stage bug
-- https://ellie-app.com/9pLFFWd4m7wa1
module Main exposing (..)
import Browser
import Html exposing (Html, button, div, text)
import Html.Events exposing (onClick)
import Process
import Task
@jalandis
jalandis / .profile
Created January 15, 2019 23:29
Project specific GOPATH
# Setup GOPATH for individual projects
function go {
path="$HOME/go"
cdir=$PWD
while [ "$cdir" != "/" ]; do
if [ -e "$cdir/.gopath" ]; then
path="$cdir"
break
fi
cdir=$(dirname "$cdir")
@jalandis
jalandis / tar-git
Created July 7, 2014 00:31
Tar un-versioned files
git ls-files --others | xargs tar cf un-versioned.tar