Skip to content

Instantly share code, notes, and snippets.

Martin Kleppe aemkei

Block or report user

Report or block aemkei

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
@aemkei
aemkei / LICENSE.txt
Last active Dec 10, 2019 — forked from 140bytes/LICENSE.txt
Binary Tetris - 140byt.es
View LICENSE.txt
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
@aemkei
aemkei / SandBox.js
Created Oct 7, 2012 — forked from line-o/SandBox.js
Is it possible to sandbox JS code
View SandBox.js
function sandbox(script, context){
context.window = {};
for (var key in context){
context.window[key] = context[key];
}
context.global = context.window;
eval("with (context){~function(){'use strict';" + script + "}()}");
}
@aemkei
aemkei / README.md
Last active Jun 26, 2019
Google Maps URL Pano ID Extractor
View README.md

StreetView URL Extractor

Paste a Google Maps URL and get back the parameters used to create a panorama.

@aemkei
aemkei / LICENSE.txt
Created Aug 9, 2011 — forked from 140bytes/LICENSE.txt
Game of Life - 140byt.es
View LICENSE.txt
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
@aemkei
aemkei / LICENSE.txt
Created May 24, 2011 — forked from 140bytes/LICENSE.txt
140byt.es - Base64 Encoder / Decoder
View LICENSE.txt
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
@aemkei
aemkei / geosyl.js
Created Dec 4, 2015
Geosyl.js – Convert Latitude longitude Pairs to Readable Words
View geosyl.js
// Geosyl.js – Convert Latitude longitude Pairs to Readable Words.
// based on David Troy's https://github.com/davetroy/hash-js
// also see: http://www.movable-type.co.uk/scripts/hash.html
// Distributed under the MIT License
geosyl = (function(){
var bits = [32, 16, 8, 4, 2, 1],
vocals = 'aeiou'.split(''),
consonants = 'kgsztdnhfpmyr'.split(''),
@aemkei
aemkei / puppeteer.md
Created Aug 1, 2012
Web Puppeteer Docs
View puppeteer.md

Quick reference for Google's Web Puppeteer:

Members

attribute

Returns true iff the element is present and has the given attribute key/value pair. Since the name of the attribute specifying the element's class is either called 'class' or 'className', depending on the browser, use clazz() instead of this function for testing the value of the class with cross-browser compatibility.

blur

Returns true if the element is shown, and if it is, blurs it.

@aemkei
aemkei / LICENSE.txt
Created Oct 5, 2011 — forked from 140bytes/LICENSE.txt
JS ASCII Logo - 140byt.es
View LICENSE.txt
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
@aemkei
aemkei / LICENSE.txt
Created Oct 27, 2011 — forked from 140bytes/LICENSE.txt
Lorenz Attractor - 140byt.es
View LICENSE.txt
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
@aemkei
aemkei / LICENSE.txt
Created Aug 30, 2011 — forked from 140bytes/LICENSE.txt
Leading Zeros - 140byt.es
View LICENSE.txt
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
You can’t perform that action at this time.