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
// tree | |
// . | |
// ├── bin | |
// │ └── scribe | |
// └── src | |
// └── scribe | |
// └── scribe.go | |
// $ gb build all; bin/scribe | |
// Jesse |
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/sh | |
user=`git st | grep 'modified' | cut -d ":" -f 2 | tr -d ' ' | while read fn; do | |
git --no-pager blame $fn | |
done | cut -d " " -f 2- | cut -d ')' -f 1 | sed 's/[0-9].*//' | tr -d '(' | sort | uniq -c | sort -n | tail -r | head -n 1 | cut -d ' ' -f 3-` | |
echo $user | |
cat $1 > /tmp/commit-msg | |
echo '\n' > $1 | |
echo "cc: $user" >> $1 | |
cat /tmp/commit-msg >> $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
{ | |
"estimates": { | |
"post_impressions": 38760.211670480545 | |
}, | |
"id": "135249540516_10153617542060517", | |
"predictions": { | |
"post_impressions": { | |
"series_high": [ | |
[ | |
1387211207, |
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
ad-account id: id | |
page id: id | |
post id: id | |
message: message | |
campaign: | |
id: id | |
objective: objective | |
name: name |
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
DBQuery.prototype._prettyShell = true; | |
/* | |
* | |
* Mongo Hacker | |
* MongoDB Shell Enhancements for Hackers | |
* | |
* Tyler J. Brock - 2013 | |
* |
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
jr-test $: cat jr-test.rb | |
require 'java' | |
class java::lang::String | |
# redefine length to give random values | |
# instead of the correct one | |
def length | |
(rand() * 100).to_i | |
end | |
end |
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
http://agnosy.bandcamp.com/ | |
http://antimelodix.bandcamp.com/ | |
http://auralmusic.bandcamp.com/album/sem-skugginn | |
http://barghestsoulless.bandcamp.com/ | |
http://bhoc.bandcamp.com/album/black-hole-of-calcutta-s-t-2 | |
http://cardinalwyrm.bandcamp.com/ | |
http://celtachor.bandcamp.com/ | |
http://chelseawolfe.bandcamp.com/ | |
http://churchburn.bandcamp.com/ | |
http://coldbluemountain.bandcamp.com/ |
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
#include <stdio.h> | |
#include <curl/curl.h> | |
int main(int argc, char *argv[]) | |
{ | |
CURL *curl; | |
CURLcode res; | |
char *ch; | |
int length = 0; |
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
# Ex. http://sht.tl/8dl5S | |
graph.theme = { | |
:colors => %w(#3C6D99 #6DA464 #EDAF5E #CB4042 #845288 #8F9291), | |
:marker_color => '#AAAAAA', | |
:background_colors => %w(white white) | |
} | |
graph.line_width = 2.5 | |
graph.dot_radius = 2 | |
graph.legend_font_size = graph.marker_font_size = 9 |
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
type c_passwd | |
pw_name::Ptr{Uint8} | |
pw_passwd::Ptr{Uint8} | |
pw_uid::Int32 | |
pw_gid::Int32 | |
pw_change::Int32 | |
pw_class::Ptr{Uint8} | |
pw_gecos::Ptr{Uint8} | |
pw_dir::Ptr{Uint8} | |
pw_shell::Ptr{Uint8} |