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
| https://gist.github.com/a0cc3e68ceb0210513889ff1330be8ee |
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
| https://gist.github.com/4520760a508b3dbcade8be0ece536430 |
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
| https://gist.github.com/9d02523ec9c80aafa832e3b410130efc |
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
| #!/usr/bin/env python | |
| # coding: utf-8 | |
| # Read in all the word frequencies by person. | |
| import re | |
| import sys | |
| from collections import defaultdict, Counter | |
| from sklearn.feature_extraction.text import CountVectorizer | |
| from sklearn.naive_bayes import MultinomialNB |
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
| // ==UserScript== | |
| // @name data2dick | |
| // @include * | |
| // ==/UserScript== | |
| (function() { | |
| var textnodes = document.evaluate("//body//text()[not(ancestor::script) and not(ancestor::style)]", document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,null), | |
| node, text; | |
| for(var i = 0; i < textnodes.snapshotLength; i++) { | |
| node = textnodes.snapshotItem(i); |
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
| #mefi.2007:22:11 <@dmd> bed | |
| #mefi.2007:23:39 <@dmd> bed | |
| #mefi.2007:22:04 <@dmd> bedtime | |
| #mefi.2007:23:48 <@dmd> bedtime | |
| #mefi.2007:22:51 <@dmd> bedtime | |
| #mefi.2007:22:41 <@dmd> bedtime | |
| #mefi.2007:22:38 <@dmd> bedtime | |
| #mefi.2007:23:13 <@dmd> bed | |
| #mefi.2007:22:05 <@dmd> bed | |
| #mefi.2008:22:31 <@dmd> bed |
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
| #!/bin/bash | |
| set -e # die on any failure | |
| trap 'rm -rf /tmp/nestframes' ERR | |
| TARGET=/Users/dmd/Documents/dashare/205spring/surv | |
| DAYSAGO=$1 | |
| if [[ $# -eq 0 ]]; then | |
| echo "need days ago" |
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
| as |
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
| set-option -g prefix C-t | |
| bind-key C-t last-window | |
| # Use Alt-arrow keys without prefix key to switch panes | |
| bind -n M-Left select-pane -L | |
| bind -n M-Right select-pane -R | |
| bind -n M-Up select-pane -U | |
| bind -n M-Down select-pane -D | |
| # Start numbering at 1 |
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
| 21 | |
| 64 | |
| 92 | |
| 30 | |
| 62 | |
| 89 | |
| 22 | |
| 35 | |
| 34 | |
| 89 |