Skip to content

Instantly share code, notes, and snippets.

View Poltergeist's full-sized avatar

Philipp Hinrichsen Poltergeist

  • Hamburg
View GitHub Profile
/* jshint esnext: true */
var array = [1337, 1553, 1224],
i = 0,
l = list(),
item = l.next();
function *list() {
for (var c = 0; c < array.length; c++) {
yield array[c];
}
}
@Poltergeist
Poltergeist / index.html
Created November 19, 2014 09:51
Simple Map [add your bin description] // source http://jsbin.com/gidoqo
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="[add your bin description]" />
<title>Simple Map</title>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no">
<meta charset="utf-8">
<style>
html, body, #map-canvas {
height: 100%;
@Poltergeist
Poltergeist / superbook.9.5.md
Last active August 29, 2015 14:13
superbook

Character Creation 2

Tables 2

Step By Step 3

Character Advancement 6

Qualities 7

@Poltergeist
Poltergeist / builds.md
Last active August 29, 2015 14:18
chery picking leveling diablo3
/**
* loading 2
*/
.circle{
height: 100px;
width: 50px;
position: relative;
top: 0;
left: 0;
@Poltergeist
Poltergeist / xss
Created April 8, 2011 14:16
location
alert('read it!');
window.location='https://encrypted.google.com/search?hl=de&source=hp&biw=1920&bih=664&q=xss&aq=f&aqi=g4g-s2g2g-s1g1&aql=&oq=';
@Poltergeist
Poltergeist / .gitignore
Created May 10, 2011 09:55
My .gitignore dummy
.htaccess
.DS_Store
var test;
mkdir -p /Users/$USER/Applications/DropboxAltStarter.app/Contents/MacOS/
cat <<EOF >/Users/$USER/Applications/DropboxAltStarter.app/Contents/Info.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleExecutable</key>
@Poltergeist
Poltergeist / dabblet.css
Created December 16, 2011 00:12
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
html{
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height:100%;
}
h1{
text-align:center;