Skip to content

Instantly share code, notes, and snippets.

Avatar

Maxim Zaslavsky maximz

View GitHub Profile
View manifest.json
{
"manifest_version": 2,
"name": "Hacker News styles",
"version": "0.1",
"content_scripts": [{
"matches": ["https://news.ycombinator.com/*"],
"css": ["style.css"]
}]
}
View gist:3780161
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;
@maximz
maximz / zipper.js
Created Apr 24, 2012
Google's Zipper Code
View zipper.js
(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,
@maximz
maximz / tree.md
Created Apr 24, 2012 — forked from hrldcpr/tree.md
one-line tree in python
View tree.md

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 / jquery-1.4.2-vsdoc.js
Created Sep 25, 2010
A Visual Studio IntelliSense documentation file for jQuery 1.4.2.
View jquery-1.4.2-vsdoc.js
/*
* 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 / .hgignore
Created Sep 5, 2010
Mercurial .hgignore file for Visual Studio 2010
View .hgignore
# Mercurial (HG) ignore file for Visual Studio 2010
# use glob syntax
syntax: glob
# Ignore Visual Studio 2010 files
*.obj
*.exe
*.pdb
*.user
You can’t perform that action at this time.