Skip to content

Instantly share code, notes, and snippets.

{-# LANGUAGE GADTs
, FlexibleInstances
, RebindableSyntax
, DeriveFunctor
, RebindableSyntax
, OverloadedStrings #-}
import Control.Monad.Free
import Control.Monad
import Data.Monoid
#!/bin/bash
# Options / Usage
# put this script in the same directory as your *.cabal file
# it will use the first line of "cabal info ." to determine the package name
# custom options for "cabal haddock" (cabal haddock --help,
# http://www.haskell.org/haddock/doc/html/invoking.html)
CUSTOM_OPTIONS=(--haddock-options='-q aliased')
# hackage server to upload to (and to search uploaded versions for)
@jacobstanley
jacobstanley / nyanicon.js
Created November 21, 2011 06:35 — forked from sphvn/nyanicon.js
Animooted Nyan Favicon
// *** First of all the Favicon.js ***
// Favicon.js - Change favicon dynamically [http://ajaxify.com/run/favicon].
// Copyright (c) 2006 Michael Mahemoff. Only works in Firefox and Opera.
// Background and MIT License notice at end of file, see the homepage for more.
// USAGE:
// * favicon.change("/icon/active.ico"); (Optional 2nd arg is new title.)
// * favicon.animate(new Array("icon1.ico", "icon2.ico", ...));
// Tip: Use "" as the last element to make an empty icon between cycles.