Skip to content

Instantly share code, notes, and snippets.

View Acconut's full-sized avatar

Marius Kleidl Acconut

View GitHub Profile
// THIS ISN'T EVEN MY FINAL FORM
console.log((function (ctxt) {
cats: {
with(ctxt) {
try {
return cats
} finally {
break cats
}
}
@karlwestin
karlwestin / errorhandler.js
Created July 31, 2014 09:22
simple window.onerror handler
function errorHandler(msg, url, line, column, err) {
// firefox bug to watch for 5 arg error handler
// https://bugzilla.mozilla.org/show_bug.cgi?id=630464
/*
* most browsers don't give column number,
* but chrome can do it sometimes
*/
if(typeof column == "object") {
err = column;
anonymous
anonymous / 01.configure
Created October 5, 2014 18:58
2014-10-05 14:34:40 -0400
./configure
--prefix=/home/brewer/.linuxbrew/Cellar/ghostscript/9.15
--disable-cups
--disable-compile-inits
--disable-gtk
--with-system-libtiff
--without-x
anonymous
anonymous / 01.configure
Created October 5, 2014 19:08
2014-10-05 15:03:47 -0400
./configure
--disable-osx-universal-binary
--prefix=/home/brewer/.linuxbrew/Cellar/imagemagick/6.8.9-7
--disable-dependency-tracking
--enable-shared
--disable-static
--without-pango
--with-modules
anonymous
anonymous / -
Created October 27, 2014 11:26
Image: ./input-87d36fbe8c87ea03cf7fc7a4907202be.tif
Format: TIFF (Tagged Image File Format)
Mime type: image/tiff
Class: DirectClass
Geometry: 1241x3747+0+0
Resolution: 240x240
Print size: 5.17083x15.6125
Units: PixelsPerInch
Type: TrueColor
Base type: TrueColor
@morganrallen
morganrallen / _README.md
Last active January 15, 2023 19:41
Janky Browser

JankyBrowser

The only cross-platform browser that fits in a Gist!

One line install. Works on Linux, MacOSX and Windows.

Local Install

$> npm install http://gist.github.com/morganrallen/f07f59802884bcdcad4a/download
anonymous
anonymous / index.html
Created November 29, 2014 13:25
// source http://jsbin.com/hahopivaqa
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JS Bin</title>
<style id="jsbin-css">
canvas {
filter: url(#svgBlur);
filter: blur(1px);
}