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
1 11684 base | |
2 4409 bytestring | |
3 3980 containers | |
4 3379 text | |
5 3099 mtl | |
6 2565 transformers | |
7 2019 directory | |
8 1791 filepath | |
9 1717 QuickCheck | |
10 1702 time |
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
''' | |
Maya Python Github project bootstrapping script | |
Makes particular Maya Python Github project releases available in Maya via the | |
user script dir. Pass user, project, and release strings to getGithubRelease, | |
which will download the zip file to the user script dir, and unzip it in there | |
(if it doesn't yet exist). Returns the full path to the unzipped project | |
folder, which can be used to modify sys.path[1], circumventing installation. | |
Note: you still need to ensure all tools deal with one version of the project, |
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
self self self self self self self self self self self self self self self self | |
self self self self self self self self self self self self self self self self | |
self self self self self self self self self self self self self self self self | |
self self self self self self self self self self self self self self self self | |
self self self self self self self self self self self self self self self self | |
self self self self self self self self self self self self self self self self | |
self self self self self self self self self self self self self self self self | |
self self self self self self self self self self self self self self self self | |
self self self self self self self self self self self self self self self self | |
self self self self self self self self self self self self self self self self |
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
#!/usr/bin/env stack | |
{- stack --resolver lts-7.13 --install-ghc runghc -} | |
import Data.Maybe (mapMaybe) | |
import System.Environment (getArgs) | |
song :: Int -> Maybe String | |
song 1 = Just "A Shandy Too Far" | |
song 2 = Just "Adult Contemporary" | |
song 3 = Just "Air Guitar" |
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 | |
#Heith Seewald 2012 | |
#Feel free to extend/modify to meet your needs. | |
#Maya on Ubuntu v.1 | |
#This is the base installer... I’ll add more features in later versions. | |
#if you have any issues, feel free email me at heiths@gmail.com | |
#### Lets run a few checks to make sure things work as expected. | |
#Make sure we’re running with root permissions. | |
if [ `whoami` != root ]; 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
Intro | |
Why Vim? | |
Approach | |
Configuration | |
vim as Language | |
Getting Things Done | |
Searching Your Text | |
Moving Around Your Text | |
Changing Text | |
Deleting Text |
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
aol bpm | |
aar bbs | |
abe bcf | |
ade bef | |
adm ben | |
ahl bim | |
ame bnf | |
amr bns | |
ana bob | |
ann boo |
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
function! ThatOtherFile (basename) | |
" Toggle between ./file.ext and ./<basename>/<basename>_file.ext | |
" Prompts to create missing <basename> directory if absent. | |
let path = expand('%:p:h') | |
let filename = expand('%:p:t') | |
let opath = path[-len(a:basename):] | |
let ofilename = filename[:len(a:basename)] | |
if opath == a:basename | |
if ofilename == a:basename.'_' | |
let opath = path[:-len(a:basename) - 1] |
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 | |
# zip/scp selected file(s) to server; copy URL to X clipboard | |
# put in ~/.gnome2/nautilus | |
# Put these 4 lines in ~/.sendit: | |
# SENDIT_USER='username' # your scp login | |
# SENDIT_SITE='yoursite.com' # site to scp to | |
# SENDIT_PATH='website/path' # where to 'sendit' | |
# SENDIT_LINK='http://www.yoursite.com/path' # for copying URL |
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
#!/usr/bin/env python | |
''' | |
SVN blame temporal colorizer | |
Pipe shell output of `svn blame` through this. | |
Creates a grayscale heatmap of recentness of line changes. | |
Normalizes range of revisions over 20 shades of gray. | |
Usage: |