Skip to content

Instantly share code, notes, and snippets.

// ==UserScript==
// @name SimpleCD ads removal
// @namespace http://www.onthewings.net/
// @version 0.1
// @description Remove ads from SimpleCD.
// @match http://simplecd.me/*
// @copyright 2014 Andy Li
// ==/UserScript==
var nodes = document.querySelectorAll('a[id*=__lgUnion_a__]');
From c83068bd7b95b3e29b2edc9410cea4b14625f3aa Mon Sep 17 00:00:00 2001
From: Jeremie Dimino <jdimino@janestreet.com>
Date: Wed, 12 Mar 2014 14:39:21 +0000
Subject: [PATCH] Do not pass -fno-defer-pop to clang
---
configure | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/configure b/configure
enum ChirpMethod {
Linear;
Quadratic(vertexZero:Bool);
Logarithmic;
Hyperbolic;
}
class Chirp {
/**
Ported from Scipy.
PS C:\WINDOWS\system32> cinst SQlite -version 3.8.5.20140809
Chocolatey (v0.9.8.27) is installing 'SQlite' and dependencies. By installing you accept the license for 'SQlite' and ea
ch dependency you are installing.
SQLite v3.8.5.20140809
Old installation directory for SQLite detected (C:\ProgramData\chocolatey\bin). If you want to use the new installation
directory (ChocolateyBinRoot\SQLite), remove the sqlite*.dll sqlite*.def files from your old installation directory and
reinstall this package with the '-force' parameter.
Downloading SQLite 64 bit
from 'https://www.sqlite.org/2014/sqlite-dll-win64-x64-3080500.zip'
@andyli
andyli / Neko.2.0.0.nuspec
Last active August 29, 2015 14:14
Neko Chocolatey package
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>neko</id>
<title>Neko</title>
<version>2.0.0</version>
<authors>Haxe Foundation</authors>
<licenseUrl>https://github.com/HaxeFoundation/neko/blob/master/LICENSE</licenseUrl>
<projectUrl>http://nekovm.org/</projectUrl>
<iconUrl>https://cdn.rawgit.com/andyli/cc07575f598351e0ad74/raw/6a9cae9a136670c0052356b773f8e13bf37c13dd/logo.png</iconUrl>
@andyli
andyli / Haxe.3.1.3.nuspec
Created January 26, 2015 18:24
Haxe Chocolatey package
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>haxe</id>
<version>3.1.3</version>
<title>Haxe</title>
<authors>Haxe Foundation</authors>
<licenseUrl>http://haxe.org/foundation/open-source.html</licenseUrl>
<projectUrl>http://haxe.org/</projectUrl>
<iconUrl>http://haxe.org/img/haxe-logo.svg</iconUrl>
@andyli
andyli / cmd-arg.md
Last active August 29, 2015 14:16
Command line argument escaping
@andyli
andyli / AlphaID.hx
Created April 6, 2010 19:55
HaXe version of AlphabeticID. It translates a numeric identifier into a short string and backwards.
/**
* HaXe version of AlphabeticID
* Author: Andy Li <andy@onthewings.net>
* ported from...
*
* Javascript AlphabeticID class
* Author: Even Simon <even.simon@gmail.com>
* which is based on a script by Kevin van Zonneveld <kevin@vanzonneveld.net>)
*
* Description: Translates a numeric identifier into a short string and backwords.
@andyli
andyli / Main.cpp
Created June 13, 2010 08:50
To illustrate a hxcpp bug.
#include <hxcpp.h>
#ifndef INCLUDED_A
#include <A.h>
#endif
#ifndef INCLUDED_Main
#include <Main.h>
#endif
#ifndef INCLUDED_haxe_Log
#include <haxe/Log.h>
@andyli
andyli / away3dlite_haxe.hxml
Created September 3, 2010 13:21
away3dlite_haxe.hxml
#use it in terminal:
#haxe away3dlite_haxe.hxml
-swf away3dlite_haxe.swc
-swf-version 10
#the class that contain static function main()
-main Main