Skip to content

Instantly share code, notes, and snippets.

View jannecederberg's full-sized avatar

Janne Cederberg jannecederberg

View GitHub Profile
@jannecederberg
jannecederberg / XORCipher.js
Last active June 5, 2017 01:32 — forked from sukima/XORCipher.js
A Super simple encryption cipher using XOR and Base64 in JavaScript
// XORCipher - Super simple encryption using XOR and Base64
// Original: https://gist.github.com/sukima/5613286
//
// Modifications:
// - URL: https://gist.github.com/jannecederberg/fc21fb1e7be93f083313729934623ab1
// - Dependency on [Underscore](http://underscorejs.org/) removed as inspired
// by zynick: https://gist.github.com/zynick/3492be3305c24d76dc09ca23d2d7b12a
// - Compared to zynick's version I'm keeping jshint, "use strict" and exports.
//
// As a warning, this is **not** a secure encryption algorythm. It uses a very
@jannecederberg
jannecederberg / photosphere_xmp.py
Created August 17, 2016 11:31 — forked from ChiChou/photosphere_xmp.py
Dump metadata from panorama photos shot by Photosphere App
#!/usr/bin/env python
"""
Dump metadata from panorama photos shot by Photosphere App
Usage
@author: @CodeColorist
@site: http://chichou.0ginr.com/blog
@jannecederberg
jannecederberg / formspree.html
Last active November 4, 2022 12:26 — forked from manfromanotherland/formspree.html
JS: Ajax send forms using the most excellent Formspree » http://formspree.io #snippet
<form id="contact-form" action="//formspree.io/[email protected]" method="post">
<input type="text" name="Name" placeholder="Name" required>
<input type="email" name="Email" placeholder="Email" required>
<textarea name="Message" cols="30" rows="6" placeholder="Message" required></textarea>
<!-- CONFIG -->
<input class="is-hidden" type="text" name="_gotcha">
<input type="hidden" name="_subject" value="Subject">
<input type="hidden" name="_cc" value="[email protected]">
<!-- /CONFIG -->
<input class="submit" type="submit" value="Send">