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
| function mdump() | |
| { | |
| mongodump --db sqdev --collection $1 --query "{\"sid\" : \"$2\"}" --out $3 | |
| } |
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 | |
| # encoding: utf-8 | |
| import sys, os, re, random | |
| def mapper(args): | |
| for line in sys.stdin: | |
| sys.stdout.write(line.strip() + "\n") | |
| def reducer(args): |
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
| 8,18 | |
| 13,19 | |
| 5,30 | |
| 23,13 | |
| 12,29 | |
| 3,23 | |
| 19,14 | |
| 15,11 | |
| 22,32 | |
| 10,41 |
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/sh | |
| SCRIPT_DIR=`pwd` | |
| hadoop dfs -rmr /user/rdw/$3 | |
| hadoop jar /usr/lib/hadoop-0.20/contrib/streaming/hadoop-streaming-0.20.2-cdh3u5.jar \ | |
| -input /user/rdw/$2 \ | |
| -output /user/rdw/$3 \ | |
| -mapper "$1 mapper" \ |
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
| m8 1813 19 | |
| 5 3023 1312 293 23!19 14'15 11-22 32310 4193 3=9 17B6 31G9 34L19 14R4 46W24 8\13 41b5 13g1 30l15 10r13 25x14 47~16 43�16 1�3 47�22 5�20 15�6 28�15 46�12 43�3 38�3 18�5 6�4 31�21 12�14 49�20 26�15 48�10 33�14 31�10 26�18 27�12 2�18 28�2 7�10 2218 25 2 | |
| 8 468 98 45 1917 23$16 14*25 2004 3151 9910 9>7 30C6 12H21 15N4 23S1 5W16 4\5 35a13 38g24 46m6 43r23 35x10 26~24 12�23 13�1 20�3 8�5 47�13 8�23 39�18 1�18 26�25 38�2 19�19 19�20 24�3 19�24 45�4 18�21 39�9 16�22 14�16 9�12 20�14 18�13 1�11 120 4412 1 | |
| 15 2514 1110 4916 48$16 34*6 20/1 36420 36:24 26@13 45F2 18K8 29P10 28V20 3[10 4`22 17f6 1j16 18p9 6t19 25z24 43�15 47�1 36�14 41�12 16�4 4ï |
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
| (function() { | |
| "use strict"; | |
| var get_data = function() { | |
| } | |
| }).call(this); |
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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>Label</key> | |
| <string>org.nginx</string> | |
| <key>RunAtLoad</key> | |
| <true/> | |
| <key>KeepAlive</key> | |
| <true/> |
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
| <!DOCTYPE html> | |
| <meta charset="utf-8"> | |
| <div id='test-location'></div> | |
| <script src="http://d3js.org/d3.v3.js"></script> | |
| <style type="text/css"> | |
| .chart { | |
| shape-rendering: crispEdges; | |
| margin-left: 100px; | |
| } |
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
| #################################### | |
| # BASIC REQUIREMENTS | |
| # http://graphite.wikidot.com/installation | |
| # http://geek.michaelgrace.org/2011/09/how-to-install-graphite-on-ubuntu/ | |
| # Last tested & updated 10/13/2011 | |
| #################################### | |
| sudo apt-get update | |
| sudo apt-get upgrade |
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
| function grf(){ | |
| # restores file that was deleted. to run | |
| # cd into the directory of the file and type | |
| # grf filename-that-was-deleted | |
| git checkout $(git rev-list -n 1 HEAD -- "$1")^ -- "$1" | |
| } |