Skip to content

Instantly share code, notes, and snippets.

Avatar

Janne Cederberg jannecederberg

View GitHub Profile
@jannecederberg
jannecederberg / XORCipher.js
Last active Jun 5, 2017 — forked from sukima/XORCipher.js
A Super simple encryption cipher using XOR and Base64 in JavaScript
View XORCipher.js
// 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 Aug 17, 2016 — forked from ChiChou/photosphere_xmp.py
Dump metadata from panorama photos shot by Photosphere App
View photosphere_xmp.py
#!/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 Jan 17, 2021 — forked from edmundojr/formspree.html
JS: Ajax send forms using the most excellent Formspree » http://formspree.io #snippet
View formspree.html
<form id="contact-form" action="//formspree.io/your@email.com" 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@cc.com">
<!-- /CONFIG -->
<input class="submit" type="submit" value="Send">