Skip to content

Instantly share code, notes, and snippets.

Steve Jones sjfloat

Block or report user

Report or block sjfloat

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
sjfloat / nix.csh
Last active Apr 8, 2016
port of
View nix.csh
set NIX_LINK="$HOME/.nix-profile"
# Set the default profile.
test -L "$NIX_LINK"
if ( $status != 0 ) then
echo "creating $NIX_LINK" >&2
set _NIX_DEF_LINK=/nix/var/nix/profiles/default
/nix/store/rznhi2hyzcgckk7yb2662lr57sb906ps-coreutils-8.24/bin/ln -s "$_NIX_DEF_LINK" "$NIX_LINK"
# -*- coding: utf-8 -*-
# (c) 2015, ZHANG Weiyi <>
# This module is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
View install-ghcjs-for-stack.hs
#!/usr/bin/env stack
-- stack --install-ghc runghc --package turtle --package wreq
{-# LANGUAGE OverloadedStrings #-}
import qualified Control.Foldl as Fold
import Control.Lens ((^.))
import Control.Monad (when)
import Data.ByteString.Lazy (hPut)
import Data.Maybe (fromMaybe)
sjfloat /
Last active Sep 11, 2015 — forked from taksuyu/
A list of material that helped me learn the lens package.

Learning Lens

I tend to focus on core concepts quite a bit more than actual examples, so that the fundamental understanding of what the examples are trying to teach me is building on skills I already have just haven't figured out how to use yet.

tl;dr Your mileage may vary. I learn kind of counterintuitively for others.

Since this seemed to be popular, I decided to make a repository for content about haskell topics that you can find here new materials for lens will be put here

sjfloat /
Last active Aug 29, 2015 — forked from timyates/
Generating terminal gifs on OS X the free way

Didn't work any of this out, I just stuck things together that I found on the web

First, install the things:

brew install imagemagick
brew install ffmpeg

Then, I have a small (600px wide) iTerm window with a big font. Load Quicktime, and record screen (just the area of the terminal)

Trim and save the mov somewhere (lets say ~/Documents/

View deepdream-install.bash
#!/usr/bin/env bash
# Assuming OS X Yosemite 10.10.4
# Install XCode and command line tools
# See
# See
xcode-select --install
# Install the Homebrew package manager if you don't already use it; see source
You can’t perform that action at this time.