Skip to content

Instantly share code, notes, and snippets.

View imdjh's full-sized avatar

-.-. imdjh

View GitHub Profile
@crzysdrs
crzysdrs / PDsentences.hs
Last active September 14, 2015 04:06
Pandoc Sentence Splitter (for diff output)
#!/usr/bin/env runhaskell
{-
Splits sentences in Pandoc conversions. Useful for diff output.
Put PDsentences.hs in your path and specify it as a new filter for
pandoc. This allows cleaner diff views with most markdown files being primarily
written text.
.gitconfig:
[diff "markdown"]
@dvdotsenko
dvdotsenko / gist:3870302
Created October 11, 2012 05:09
Tornado server AppTomatic - web app manufacturing same process, different threads
# Copyright 2009 Daniel Dotsenko dotsa@hotmail.com
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# LOL!!1
alias wtf='dmesg'
alias onoz='cat /var/log/errors.log'
alias rtfm='man'
alias visible='echo'
alias invisible='cat'
alias moar='more'