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 bash | |
set -e | |
# change this to your seeds directory | |
base=$HOME/repo/quipper/seeds | |
startall() { | |
postgres.sh | |
mongodb.sh |
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
source "https://rubygems.org" | |
gem 'rbnacl' | |
gem 'allocation_stats' | |
gem 'benchmark-memory' |
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
#[macro_use] | |
extern crate lazy_static; | |
use std::io::prelude::*; | |
use std::fs::OpenOptions; | |
use std::path::{Path, PathBuf}; | |
use std::time::Duration; | |
use std::thread; | |
lazy_static! { |
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 bash | |
exec 3<>/dev/tcp/$1 | |
while read line | |
do | |
echo -e "$line" >&3 | |
cat <&3 | |
done < "${1:-/dev/stdin}" |
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 bash | |
interim_branch=default | |
rollgit() { | |
[[ $# -ne 1 ]] && { | |
echo 'wrong number of arguments, USAGE:' | |
printf "\tgit roll <branch>\n" | |
exit 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
alert('yay'); |
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
fn main() { | |
let text = r##" println!("fn main() {}\n let text = {}{}{}{}{}{}{}{};\n{};\n{}", "{", "r", "#", "#", '"', text, '"', "#", "#", text, "}")"##; | |
println!("fn main() {}\n let text = {}{}{}{}{}{}{}{};\n{};\n{}", "{", "r", "#", "#", '"', text, '"', "#", "#", text, "}"); | |
} |
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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <assert.h> | |
int do_alloc(char **buffer) { | |
int cpos = 0; | |
if (!*buffer) { | |
*buffer = calloc(2, sizeof(char)); |
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> | |
<html> | |
<head> | |
<link type="text/css" rel="stylesheet" href="/rickshaw/rickshaw.min.css"> | |
<link type="text/css" rel="stylesheet" href="/rspfpm.css"> | |
<script src="/rickshaw/vendor/d3.min.js"></script> | |
<script src="/rickshaw/vendor/d3.layout.min.js"></script> | |
<script src="/rickshaw/rickshaw.min.js"></script> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> | |
</head> |
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
#include "jsc.h" | |
#include "main.js" |