Skip to content

Instantly share code, notes, and snippets.

@tobia
tobia / doge.md
Created August 4, 2016 23:49 — forked from cpdean/doge.md
YOU'RE WELCOME, INTERNET. -- if you search for an ascii doge, you don't get anything great that you can copy paste. found a silly gif (http://cmang.org/ascii/cm-doge-bw.gif) and i have transcribed it for all of you

no clue who made this, but i have transcribed it here:

                Y.                      _   
                YiL                   .```.  
                Yii;                .; .;;`.    
                YY;ii._           .;`.;;;; :    
                iiYYYYYYiiiii;;;;i` ;;::;;;;    
            _.;YYYYYYiiiiiiYYYii  .;;.   ;;; 
 .YYYYYYYYYYiiYYYYYYYYYYYYii;` ;;;; 
@tobia
tobia / .ghci
Created May 31, 2016 23:39
Haskell configuration
:set prompt "\ESC[31;1m\STXλ>\ESC[m\STX "
:set -XOverloadedStrings
:set -XNegativeLiterals
:def pf \str -> return $ ":! pointfree '" ++ str ++ "'"
@tobia
tobia / TryCatchTagLib.groovy
Created July 2, 2015 12:56
Simple try & catch taglib for Grails GSP views.
// Simple try & catch for GSP views.
//
// Usage:
//
// <g:try>
// view snippet that needs to be checked
// </g:try>
// <g:catch>
// alternative view code in case of errors;
// the exception is available as ${exception}