Skip to content

Instantly share code, notes, and snippets.

@antirez
antirez / xmas.c
Created December 24, 2014 18:48
Happy xmas!
#include <stdio.h>
#include <stdlib.h>
int
main()
{int h=9,
d=0,x;while
(h--){for(x=0;
x<39;x++){int a=x
-6;if(a<0)a=-a;printf
anonymous
anonymous / Random Physics.SE post
Created December 23, 2012 17:20
Userscript to get a random Physics.SE post
// ==UserScript==
// @name Random Post
// @namespace stackoverflow
// @description Add timeline links to every questions
// @include http://physics.stackexchange.com/*
// @version 0.1
// ==/UserScript==
(function(){
var start=function(){
$("#hlinks-custom").each(function(){