Skip to content

Instantly share code, notes, and snippets.

View edunham's full-sized avatar

E. Dunham edunham

View GitHub Profile
% template created by: Russell Haering. arr. Joseph Crop
\documentclass[12pt,letterpaper]{article}
\usepackage{anysize}
\marginsize{2cm}{2cm}{1cm}{1cm}
\begin{document}
\begin{titlepage}
\vspace*{4cm}
\begin{flushright}
# yaourtrc - Configuration for yaourt
#
# See yaourtrc(5) for more information
#
#
# General
#AUTOSAVEBACKUPFILE=0
#DEVELBUILDDIR="/var/abs/local/yaourtbuild"
#DEVEL=0
autoHunt = setInterval(function() {
var catpower = gamePage.resPool.get('manpower');
if (catpower.value / catpower.maxValue > 0.95) {
$("a:contains('Send hunters')").click();
if (gamePage.workshop.getCraft('parchment').unlocked) { gamePage.craftAll('parchment'); }
if (gamePage.workshop.getCraft('manuscript').unlocked) { gamePage.craftAll('manuscript'); }
}
}, 5 * 1000);
autoCatnip = setInterval(function() {
autoHunt = setInterval(function() {
var catpower = gamePage.resPool.get('manpower');
if (catpower.value / catpower.maxValue > 0.5) {
$("a:contains('Send hunters')").click();
if (gamePage.workshop.getCraft('parchment').unlocked) { gamePage.craftAll('parchment'); }
if (gamePage.workshop.getCraft('manuscript').unlocked) { gamePage.craftAll('manuscript'); }
if (gamePage.workshop.getCraft('compedium').unlocked) { gamePage.craftAll('compedium'); }
if (gamePage.workshop.getCraft('blueprint').unlocked) { gamePage.craftAll('blueprint'); }
}
}, 5 * 1000);
include = function() {
// save references to save a few bytes
var args = arguments;
var doc = document;
var toLoad = args.length; // load this many scripts
var lastArgument = args[toLoad - 1];
var hasCallback = lastArgument.call; // is the last arg a callback?
if (hasCallback) {
@edunham
edunham / example.rs
Created July 13, 2015 17:57
Code snippet to run in the Playpen from my blog post
// This code is editable and runnable!
fn main() {
println!("Hello from edunham's blog!"); }
acpitool 0.5.1-6
adduser 1.15-5
adobe-source-code-pro-fonts 2.010ro+1.030it-1
adobe-source-sans-pro-fonts 2.010ro+1.065it-2
ansible 1.9.2-1
arandr 0.1.7.1-3
arch-install-scripts 15-1
audacity 2.1.0-1
autoconf 2.69-2
automake 1.15-1
adobe-source-code-pro-fonts
adobe-source-sans-pro-fonts
ansible
arandr
arch-install-scripts
audacity
autoconf
automake
avr-gcc
bash
manifest_version = "2"
date = "2015-10-20"
[rust]
version = "1.5.0-nightly (d3f497861 2015-10-18)"
[rust.x86_64-apple-darwin]
url = "http://static-rust-lang-org.s3-website-us-west-1.amazonaws.com/dist/2015-10-20/rust-nightly-x86_64-apple-darwin.tar.gz"
hash = "ee83a27eac416ecb96b52c3b1e922ba15adbe9a9447495f9eabb2b2186b8185e"
[[rust.x86_64-apple-darwin.components]]
pkg = "rustc"
target = "x86_64-apple-darwin"
manifest_version = "2"
date = "2015-10-20"
[rust]
version = "1.5.0-nightly (d3f497861 2015-10-18)"
[rust.x86_64-apple-darwin]
url = "http://static-rust-lang-org.s3-website-us-west-1.amazonaws.com/dist/2015-10-20/rust-nightly-x86_64-apple-darwin.tar.gz"
hash = "ee83a27eac416ecb96b52c3b1e922ba15adbe9a9447495f9eabb2b2186b8185e"
[[rust.x86_64-apple-darwin.components]]
pkg = "rustc"
target = "x86_64-apple-darwin"