Skip to content

Instantly share code, notes, and snippets.

Kyle Isom kisom

Block or report user

Report or block kisom

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am kisom on github.
  • I am kisom (https://keybase.io/kisom) on keybase.
  • I have a public key ASB4v1uzRtIwO-v83dUbp0YXedoSrzLRB7yGb-oYZy5ZGAo

To claim this, I am signing this object:

View ops.txt
add 0 515969
remove 0
add 0 736404
add 0 180738
get 0
remove 0
add 0 640651
add 1 912519
remove 2
get 0
View ops.txt
This file has been truncated, but you can view the full file.
add 0 202064
add 0 309727
get 0
get 1
set 0 from 309727 to 457321
set 1 from 202064 to 229627
set 0 from 457321 to 350553
get 1
add 1 430738
View ops.txt
This file has been truncated, but you can view the full file.
add 0 202064
add 0 309727
get 0
get 1
set 0 from 309727 to 457321
set 1 from 202064 to 229627
set 0 from 457321 to 350553
get 1
add 1 430738
@kisom
kisom / Makefile
Created Aug 31, 2017
preflights in Makefiles
View Makefile
.PHONY: envdir
serve: envdir
$(eval ENVDIR := $(shell ./preflight.sh))
$(ENVDIR) /usr/local/myservice/env python -m SimpleHTTPServer 8000
@kisom
kisom / autobuild.sh
Last active Jan 29, 2016
Autotools bootstrap script.
View autobuild.sh
#!/bin/sh
# _ _ _ _ _ _
# __ _ _ _| |_ ___ | |__ _ _(_) | __| | ___| |__
# / _` | | | | __/ _ \| '_ \| | | | | |/ _` | / __| '_ \
# | (_| | |_| | || (_) | |_) | |_| | | | (_| |_\__ \ | | |
# \__,_|\__,_|\__\___/|_.__/ \__,_|_|_|\__,_(_)___/_| |_|
#
#
# https://git.io/autobuild
#
@kisom
kisom / output.sh
Last active Sep 15, 2015
scanning elvi
View output.sh
~/code/perl
(0) <tessier:kyle> $ perl scan-elvi.pl
w3link doesn't match.
l1sp doesn't match.
w3rdf doesn't match.
w3html doesn't match.
worldwidescience doesn't match.
searx doesn't match.
w3css doesn't match.
f5 doesn't match.
View README
Written as a demo of how a shell would implement this, and why it needs
to be a shell builtin.
This won't actually work as a standalone program; chdir(3) only changes
the directory of the current process. As soon as the program exits, it
returns control to the parent process (the shell). If this is executed
as a shell builtin, the shell process's working directory is changed.
@kisom
kisom / README.md
Created Aug 14, 2015
Auto fmt / vet / build / test Go code
View README.md

This is my workflow for automatically building and testing Go code. It uses steeloverseer to watch for changes to the tree and run the standard Go tools (vet, build, test) on the package as well as golint on any changed files.

Install steeloverseer with

cabal install steeloverseer && cp ~/.cabal/bin/sos ~/bin
View Applicative.lhs
> import Control.Applicative
This post is a [literate
Haskell](https://gist.github.com/kisom/09e471e145bf1eca9124) file,
converted to org-mode with [Pandoc](http://pandoc.org).
Time to explore the `Applicative` type.
First, `fmap`:
You can’t perform that action at this time.