Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am spaetzel on github.
  • I am spaetzel (https://keybase.io/spaetzel) on keybase.
  • I have a public key ASDqsUGUeWIBVvF7glwAX2JY2ydEy6p3bDVPuKtZwZOV1Ao

To claim this, I am signing this object:

@spaetzel
spaetzel / cookiebot.js
Last active December 24, 2015 01:59 — forked from dieseltravis/cookiebot.js
Attempt to get clicking on only items needed for achievements to work.
CookieBot = {
start: function() {
//TODO: limit this to 15 for hidden achievement?
this.clickInterval = setInterval(function(){
// Click the large cook as fast as possible!
$("#bigCookie").click();
}, 1);
this.buyInterval = setInterval(function(){
// Sometimes a golden cookie will appear to give you a bonus
// Click that too!
http://api.yellowapi.com/FindBusiness/?what=barber&where=36%20Furness%20Dr,%20Kitchener,%20ON%20N2M,%20Canada&fmt=JSON&pgLen=10&apikey=a1s2d3f4g5h6j7k8l9k6j5j4&UID=127.0.0.1
@spaetzel
spaetzel / DownloadPartial.cs
Created January 28, 2011 03:33
Attempt at partially downloading a video for use in ffmpeg
private static StreamReader DownloadPartial(SUri url, int bytesToGet)
{
string result = string.Empty;
HttpWebRequest request;
request = WebRequest.Create(url) as HttpWebRequest;
//get first 1000 bytes
request.AddRange(0, bytesToGet - 1);
@spaetzel
spaetzel / .gitignore
Created December 7, 2010 16:01
My Gitignore for .net projects
*.dll
*.pdb
*.suo
*.Publish.xml
*.tmproj
.DS_Store
*.cache
bin
Bin
App_Data
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="robots" content="NONE,NOARCHIVE">
<title>OperationalError at /</title>
<style type="text/css">
html * { padding:0; margin:0; }
body * { padding:10px 20px; }
Suddenly, a rich tourist comes to town.
He enters the towns only hotel, lays a 100 Dollar Bill on the reception counter as a deposit, and goes to inspect the rooms upstairs in order to pick one.
The hotel proprietor takes the 100 Dollar Bill and runs to pay his debt to the butcher.
The Butcher takes the 100 Dollar Bill, and runs to pay his debt to the pig farmer.
The pig farmer takes the 100 Dollar Bill, and runs to pay his debt to the supplier of his feed and fuel.
This is a test for command line gist
Updated...
This is a test for command line gist