Skip to content

Instantly share code, notes, and snippets.

Rich Hamburg ambidexterich

Block or report user

Report or block ambidexterich

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@ambidexterich
ambidexterich / combinators.js
Created Feb 20, 2018 — forked from Avaq/combinators.js
Common combinators in JavaScript
View combinators.js
const I = x => x;
const K = x => y => x;
const A = f => x => f(x);
const T = x => f => f(x);
const W = f => x => f(x)(x);
const C = f => y => x => f(x)(y);
const B = f => g => x => f(g(x));
const S = f => g => x => f(x)(g(x));
const P = f => g => x => y => f(g(x))(g(y));
const Y = f => (g => g(g))(g => f(x => g(g)(x)));
View gist:eb20361439830f82460da300f87ed564
AWTException
AclNotFoundException
ActivationException
AlreadyBoundException
ApplicationException
ArithmeticException
ArrayIndexOutOfBoundsException
AssertionException
BackingStoreException
BadAttributeValueExpException
@ambidexterich
ambidexterich / hash.js
Created Aug 31, 2015
Random String Generator
View hash.js
Array.apply(null, Array(12)).map(function (i) {
var c = Math.floor(Math.random()*2);
return String.fromCharCode(Math.floor(Math.random()*(127-33)+33))[c?'toUpperCase':'toLowerCase']();
}).join('')
@ambidexterich
ambidexterich / y-combinator.js
Created May 15, 2015
Y-Combinator in JS for factorization
View y-combinator.js
var Y = function (F) {
return (function (x) {
return F(function (y) {
return (x(x))(y);
});
})(function (x) {
return F(function (y) {
return (x(x))(y);
});
});
View html.css
/*
* The default style sheet used to render HTML.
*
* Copyright (C) 2000 Lars Knoll (knoll@kde.org)
* Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
View keybase.md

Keybase proof

I hereby claim:

  • I am ambidexterich on github.
  • I am hamburg (https://keybase.io/hamburg) on keybase.
  • I have a public key whose fingerprint is D7EE 399D C369 A9A1 EFAF ABC4 CBF6 0B76 AFCA DEFD

To claim this, I am signing this object:

View compass-retina-sprites.scss
$sprites: sprite-map("sprites/*.png");
$sprites-retina: sprite-map("sprites-retina/*.png");
@mixin sprite-background($name) {
background-image: sprite-url($sprites);
background-position: sprite-position($sprites, $name);
background-repeat: no-repeat;
@media (-webkit-min-device-pixel-ratio: 2), (-o-min-device-pixel-ratio: 3/2), (min-device-pixel-ratio: 2) {
background-image: sprite-url($icons-retina);
You can’t perform that action at this time.