This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// *** 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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{-# LANGUAGE GADTs | |
, FlexibleInstances | |
, RebindableSyntax | |
, DeriveFunctor | |
, RebindableSyntax | |
, OverloadedStrings #-} | |
import Control.Monad.Free | |
import Control.Monad | |
import Data.Monoid |