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
@Benjol
Benjol / selfupdatingscript.user.js
Created March 17, 2011 09:33
SelfUpdatingUserScript
// ==UserScript==
// @name SelfUpdatingScript
// @version 1.0.0
// @namespace Benjol (http://stackoverflow.com/users/11410/benjol)
// @description Template script for a self-updating script
// @credits Kudos to http://stackoverflow.com/users/115866/balpha
// @include https://gist.github.com/*
// ==/UserScript==
function with_jquery(f) {
// ==UserScript==
// @name Show Full Domain on Hacker News posts
// @description Sets full domain on hacker news posts.
// @namespace http://userscripts.org/users/119115
// @include http://news.ycombinator.com/*
// @include https://news.ycombinator.com/*
// @match https://news.ycombinator.com/*
// @match http://news.ycombinator.com/*
// ==/UserScript==
@pachacamac
pachacamac / clusterize.rb
Created May 22, 2012 19:11
Cluster algorithm for n-dimensional data and a given number of clusters
# A
# B
#
# D
#
# C
# E
#
# F
#
@willbailey
willbailey / flocking.coffee
Created September 16, 2012 16:30
flocking algorithm
###
CoffeeScript port of http://processing.org/learning/topics/flocking.html
###
window.FlockingSketch = class FlockingSketch
# setup the environment and start the draw loop
constructor: ->
@setup()
@draw()
@Glyxbaer
Glyxbaer / gist:4564489
Last active April 9, 2017 17:24
Why Minteye was meant to be cracked

#Why Minteye was meant to be cracked ##inventing CAPTCHAs without skill

Some days ago I read a post by Samuirai about him cracking the minteye CAPTCHA (cracking minteye captcha without skill) with the google speech2text api and two days later it was covered on Hack a day. For me, it was a really straightforward approach to crack such a CAPTCHA and it was something nobody really noticed or pointed out before. It also shows how little the developers have thought about the real usefulness and security behind their idea.

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;

how to write a paper (one possible answer)

Originally appeared on nature NYC blog: http://blogs.nature.com/nyc/2011/08/10/how-to-write-a-paper-one-possible-answer

10 Aug 2011 | 19:11 EDT | Posted by chris wiggins | Category: Uncategorized

how to write a paper

a student recently asked me how to write a paper. here’s an algorithm i’d suggest, with plenty of room for an individual to deviate.

---------- Forwarded message ----------
From: chris wiggins <chris.wiggins@[YYY].edu>
Date: Wed, Aug 1, 2012 at 7:26 PM
Subject: stats history
To: hadley@[XXX].edu
Cc: chris wiggins <chris.wiggins@[YYY].edu>
Dear Hadley:
@DenisIzmaylov
DenisIzmaylov / NOTES.md
Last active November 15, 2019 07:39
Step By Step Guide to Configure a CoreOS Cluster From Scratch

Step By Step Guide to Configure a CoreOS Cluster From Scratch

This guide describes how to bootstrap new Production Core OS Cluster as High Availability Service in a 15 minutes with using etcd2, Fleet, Flannel, Confd, Nginx Balancer and Docker.

Content