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
\documentclass[10pt,landscape]{article} | |
\usepackage{multicol} | |
\usepackage{calc} | |
\usepackage{ifthen} | |
\usepackage{hyperref} | |
\usepackage[landscape]{geometry} | |
% SC2 Cheat Sheet, initially aimed at Terran. | |
% To make a PDF: pdflatex sc2.tex | |
% If you don't have LaTeX already, grab TeX Live, MacTeX, or check apt/brew/etc. |
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
350 BackendOpen b scni_daniel 10.0.0.15 59005 10.0.0.69 8256 | |
350 TxRequest b GET | |
350 TxURL b /news/2009/dec/30/wolves-sunk-at-buzzer/ | |
350 TxProtocol b HTTP/1.1 | |
350 TxHeader b Host: www.gwinnettdailypost.com | |
350 TxHeader b User-Agent: Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_0 like Mac OS X; en-us) AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mo | |
bile/7A341 Safari/528.16 | |
350 TxHeader b Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 | |
350 TxHeader b Accept-Language: en-us,en;q=0.5 | |
350 TxHeader b Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 |
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
Year,Total | |
1995,146 | |
1996,184 | |
1997,235 | |
1998,200 | |
1999,226 | |
2000,251 | |
2001,299 | |
2002,273 | |
2003,281 |
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 com.postneo | |
package index | |
package test | |
import org.apache.lucene.analysis.SimpleAnalyzer | |
import org.apache.lucene.analysis.standard.StandardAnalyzer | |
import org.apache.lucene.document.{Document, Field} | |
import org.apache.lucene.index.{IndexWriter, Term} | |
import org.apache.lucene.search.{IndexSearcher, Query, TermQuery, TopDocs} | |
import org.apache.lucene.store.RAMDirectory |
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
var irc = require('irc'); | |
var http = require('http'); | |
var name = 'aprsbot'; | |
var channel = '#avgeek'; | |
var api_key = 'XXXXX'; | |
var client = new irc.Client('irc.freenode.net', name, {channels: [channel]}) | |
client.addListener('message', function(from, to, message) { |
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
diff --git a/Library/Formula/pypy.rb b/Library/Formula/pypy.rb | |
index ace63b2..cb79dad 100644 | |
--- a/Library/Formula/pypy.rb | |
+++ b/Library/Formula/pypy.rb | |
@@ -3,14 +3,15 @@ require 'hardware' | |
class Pypy < Formula | |
if MacOS.prefer_64_bit? | |
- url 'http://pypy.org/download/pypy-1.4.1-osx64.tar.bz2' | |
- md5 '769b3fb134944ee8c22ad0834970de3b' |
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
// A scala port of http://jmonkeyengine.org/wiki/doku.php/jme3:beginner:hello_simpleapplication | |
package com.postneo | |
package eep | |
import com.jme3.app.SimpleApplication | |
import com.jme3.material.Material | |
import com.jme3.math.Vector3f | |
import com.jme3.scene.Geometry | |
import com.jme3.scene.shape.Box |
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
from google.appengine.ext import webapp | |
from google.appengine.ext.webapp import util | |
class IsItFridayFridayFridayHandler(webapp.RequestHandler): | |
def get(self): | |
self.response.out.write("""<html><head><title>Is it Friday Friday Friday?</title> | |
<style type="text/css"> | |
.big {font-size: 5em; margin-top: 2.5em; margin-bottom: 1em;} | |
.center {text-align: center;} | |
.friday {color: green;} |
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 com.postneo | |
package toys | |
package charcount | |
import scala.actors.Actor | |
import scala.actors.Actor._ | |
import scala.io.Source | |
// Iterate over lines in a file, summing the total. | |
object CharCount { |
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 com.mypackage.benchmark | |
import com.mypackage.util.Logging | |
import net.lag.configgy.Configgy | |
import scala.collection.mutable | |
import scala.collection.JavaConversions._ | |
import java.net.InetSocketAddress | |
import java.nio.charset.Charset | |
import java.util.concurrent._ |