I love the new GitHub issues, here are some ideas to make it perfect, ordered by priority:
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
# commands to ignore | |
cmdignore=(htop tmux top vim) | |
# end and compare timer, notify-send if needed | |
function notifyosd-precmd() { | |
retval=$? | |
if [[ ${cmdignore[(r)$cmd_basename]} == $cmd_basename ]]; then | |
return | |
else | |
if [ ! -z "$cmd" ]; then |
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
Moved to https://github.com/tonymorris/type-class |
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 | |
RankNTypes | |
, TypeFamilies | |
, ConstraintKinds | |
, FlexibleInstances | |
, ScopedTypeVariables | |
, TypeSynonymInstances | |
#-} | |
import GHC.Prim (Constraint) |
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 FlexibleInstances #-} | |
{-# LANGUAGE TypeSynonymInstances #-} | |
{-# LANGUAGE FlexibleContexts #-} | |
{-# LANGUAGE MultiParamTypeClasses #-} | |
import Control.Applicative | |
class Field a where | |
fieldType :: a -> String | |
fieldRead :: String -> a |
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
! {{{ Quick Reference | |
! | |
! Scrolling: | |
! Scroll Wheel | |
! Shift-PgUp/PgDn | |
! | |
! Copy/Paste: | |
! Mouse-Select : Copy to PRIMARY | |
! Shift + Mouse-Select: Copy to CLIPBOARD | |
! |
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
// Ported from Stefan Gustavson's java implementation | |
// http://staffwww.itn.liu.se/~stegu/simplexnoise/simplexnoise.pdf | |
// Read Stefan's excellent paper for details on how this code works. | |
// | |
// Sean McCullough banksean@gmail.com | |
/** | |
* You can pass in a random number generator object if you like. | |
* It is assumed to have a random() method. | |
*/ |
NewerOlder