Skip to content

Instantly share code, notes, and snippets.

@maximz
maximz / .hgignore
Created September 5, 2010 08:26
Mercurial .hgignore file for Visual Studio 2010
# Mercurial (HG) ignore file for Visual Studio 2010
# use glob syntax
syntax: glob
# Ignore Visual Studio 2010 files
*.obj
*.exe
*.pdb
*.user
@maximz
maximz / jquery-1.4.2-vsdoc.js
Created September 25, 2010 17:06
A Visual Studio IntelliSense documentation file for jQuery 1.4.2.
/*
* This file has been commented to support Visual Studio Intellisense.
* You should not use this file at runtime inside the browser--it is only
* intended to be used only for design-time IntelliSense. Please use the
* standard jQuery library for all production use.
*
* Comment version: 1.4.2
*/
/*!
@maximz
maximz / tree.md
Created April 24, 2012 04:02 — forked from hrldcpr/tree.md
one-line tree in python

One-line Tree in Python

Using Python's built-in defaultdict we can easily define a tree data structure:

def tree(): return defaultdict(tree)

That's it!

@maximz
maximz / zipper.js
Created April 24, 2012 04:03
Google's Zipper Code
(function () {
var c = !0,
d = !1;
try {
window.google || (window.google = {});
google.doodle || (google.doodle = {});
var f = google.doodle,
h, j, k, l, m, n, o = 0,
p = 23,
q, r, s, u, v, w, x, y = 142,
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.Composition;
using System.Deployment.Application;
using System.Globalization;
using System.Linq;
using System.Reactive.Linq;
using System.Timers;
using System.Windows;
{
"manifest_version": 2,
"name": "Hacker News styles",
"version": "0.1",
"content_scripts": [{
"matches": ["https://news.ycombinator.com/*"],
"css": ["style.css"]
}]
}