Skip to content

Instantly share code, notes, and snippets.

View jmatt's full-sized avatar

JMatt Peterson jmatt

View GitHub Profile
// Source: http://gist.github.com/180078
// original author: { name: "Ricardo Niederberger Cabral", email: "ricardo@isnotworking.com"}
var noun_type_article = {
_name: "anything",
suggest: function( text, html ) {
var suggestions = [CmdUtils.makeSugg(text)];
return suggestions;
}
}
Downloading: com/google/appengine/appengine-api-1.0-sdk/1.4.0/appengine-api-1.0-sdk-1.4.0.jar from releases
Transferring 12457K from releases
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 'f70bba38eaead4cb1de4fd1ea7daa51b1e2791b0'; remote = 'bef443ee0f54e8c50d0a6f7a147ad404c6974245' - RETRYING
@jmatt
jmatt / $.java
Created June 3, 2011 18:06
And a $ back at ya.
package $;
public class $
{
boolean hah;
public $()
{
hah = true;
}
}
@jmatt
jmatt / project.clj
Created June 27, 2011 06:09
superfollowed
(defproject superfollowed "0.0.1-SNAPSHOT"
:description "Tests interesting relations between followers. (∩, complement, ⊕, etc)"
:author "J. Matt Peterson
:dependencies [[org.clojure/clojure "1.2.1"]
[org.clojure/clojure-contrib "1.2.0"]]
:dev-dependencies [[swank-clojure "1.4.0-SNAPSHOT"]
[clojure-source "1.2.0"]]
:jvm-opts ["-agentlib:jdwp=transport=dt_socket,server=y,suspend=n"])
@jmatt
jmatt / project.clj
Created July 27, 2011 23:15
Old Euler Problems
(defproject euler "0.0.2"
:description "Euler Problems"
:dependencies [[org.clojure/clojure "1.2.0"]
[org.clojure/clojure-contrib "1.2.0"]]
:dev-dependencies [[swank-clojure "1.2.1"]])
@jmatt
jmatt / main.css.diff
Created February 8, 2012 00:01
dennis versus production
178,179c178
< z-index: 10; /* allocate a suitable z-index */
< border: 1px solid blue;
---
> z-index:3; /* allocate a suitable z-index */
199c198
< height:100px; /* height to miss header */
---
> height:115px; /* height to miss footer */
513c512
@jmatt
jmatt / map.js.consolelog
Created February 13, 2012 21:34
Issue with chrome 18-19 z-indexing.
The Bean Trees: A Novel marker index 10
map.js:211Blood meridian, or, The evening redness in the West marker index 10
map.js:211Crossers: A Novel marker index 10
map.js:211Filaree marker index 10
map.js:211Goats marker index 10
map.js:211The Grey Pilgrim: A Novel marker index 10
map.js:211Gunman's Rhapsody marker index 10
map.js:211Half Broke Horses: A True Life Novel marker index 10
map.js:211Monkey Wrench Gang marker index 10
map.js:211Red Water marker index 10
import sys
import pprint
from urlparse import urlparse
from thrift.transport import TTransport
from thrift.transport import TSocket
from thrift.transport import THttpClient
from thrift.protocol import TBinaryProtocol
import Snowflake
from ttypes import *
@jmatt
jmatt / init.el
Last active October 1, 2015 15:57
emacs24 setup.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;; J. Matt Peterson's new emacs setup. ;;;;
;;;; https://gist.github.com/2019332 ;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(require 'hippie-exp)
;;; Setup PATH environment.
(setenv "PATH"
(concat
@jmatt
jmatt / BooksController.cs
Created April 4, 2012 20:37
BooksController.cs for RAtLL
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using RAtLL_Preview.Models;
namespace RAtLL_Preview.Controllers