this is a post or something
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
package bloomfilter | |
import ( | |
"crypto/md5" | |
"encoding/binary" | |
"bytes" | |
) | |
type BloomFilter struct { | |
buckets []bool |
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
package bloomcounter | |
import ( | |
"encoding/binary" | |
"bytes" | |
"crypto/md5" | |
) | |
type BloomCounter struct { | |
buckets []uint |
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
import Queue as queue # like really | |
import urllib2 | |
import threading | |
class DoThing(object): | |
def __init__(self, url): | |
self.q = queue.Queue() | |
self.t = threading.Thread(target=self.go, args=(url,)) | |
self.t.start() |
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/bash | |
version=1.0.1 | |
versionDate="2014-02-14" | |
function showHelp() { | |
echo "watchfile - monitor file(s)/command and perform action when changed | |
Possible ways of usage | |
---------------------------------------- |
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 <iostream> | |
#include <map> | |
using namespace std; | |
int main() { | |
map<char, int> stuff; | |
stuff['a'] = 1; | |
stuff['b'] = 2; | |
stuff['c'] = 3; | |
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
*.swp |
Origin | http://glitch.goonscape.org |
Accept-Encoding | gzip,deflate,sdch |
Accept-Language | en-GB,en-US;q=0.8,en;q=0.6 |
Connection | keep-alive |
Content-Length | 645 |
Accept-Charset | ISO-8859-1,utf-8;q=0.7,*;q=0.3 |
Host | glitch.goonscape.org |
you cant go wrong with stars of the lid, but some good'uns
- http://www.youtube.com/watch?v=zSOFCQMNkRg
- http://www.youtube.com/watch?v=yg1FUDpLCvU
- http://www.youtube.com/watch?v=4wLw084gA6s
mountains - choral
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
<!DOCTYPE HTML> | |
<html lang="en" ng-app="notes"> | |
<head> | |
<meta charset="UTF-8"> | |
<title></title> | |
<link rel="stylesheet" href="static/reset.css" /> | |
<style type="text/css"> | |
html, body, .content { | |
height: 100%; |
OlderNewer