spotify:user:
pg_dump dbname > outfile
psql dbname < infile
This file contains hidden or 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
-- pure code | |
import Debug.Trace | |
trace ("your text " ++ show value) value | |
-- monadic code | |
import Control.Monad.Logger | |
import Data.Text | |
logWarnN $ "your debug text " <> pack (show value) |
This file contains hidden or 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
import time | |
import BaseHTTPServer | |
HOST_NAME = '127.0.0.1' | |
PORT_NUMBER = 8080 | |
class MyHandler(BaseHTTPServer.BaseHTTPRequestHandler): | |
def do_GET(s): |
This file contains hidden or 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
### Keybase proof | |
I hereby claim: | |
* I am rm-- on github. | |
* I am rmuhl (https://keybase.io/rmuhl) on keybase. | |
* I have a public key ASC7fqdefiSnMMiYUt-_DFHRnoSbL7q688IBNmS-fMxJmgo | |
To claim this, I am signing this object: |
type into address bar:
data:text/html, <html contenteditable>
pip freeze | grep -v "^-e" | xargs pip uninstall -y
global installation of:
cabal install happy
cabal install ghc-mod
apm install linter
apm install language-haskell