Pure CSS. Inspiration:
A Pen by Anonasaurus Rex on CodePen.
String.prototype.enlolcrypt = function (cipher) { | |
cipher = cipher || "aeoiubcdfghjklmnpqrstvwxyz"; | |
return this.split("").map(function (T) { | |
var c = /[A-Z]/.test(T), T = T.toLowerCase(), i = cipher.indexOf(T); | |
if (/[^a-z]/.test(T)) { return T; } | |
if ((new RegExp("["+cipher.substr(0,5)+"]")).test(T)) { | |
T = cipher[(i+2)%5]; | |
} else { | |
T = cipher[(i+5)%21+5]; |
String.prototype.enlolcrypt2 = function () { | |
var cipher = "aeoiubcdfghjklmnpqrstvwxyz"; | |
return this.split("").map(function (T) { | |
var c = /[A-Z]/.test(T), T = T.toLowerCase(), i = cipher.indexOf(T); | |
if (/[^a-z]/.test(T)) { return T; } | |
if (/[aeoiu]/.test(T)) { | |
T = cipher[(i+2)%5]; | |
} else { | |
T = cipher[(i+5)%21+5]; |
{ | |
"info": { | |
"title": "experiments", | |
"author": "forresto", | |
"description": "", | |
"url": "various-timers-%2B-concat", | |
"parents": [ | |
"https://gist.github.com/3311840" | |
] | |
}, |
parseUri = (uri) -> | |
result = {} | |
a = document.createElement 'a' | |
props = 'protocol hostname host pathname port search hash href'.split ' ' | |
a.href = uri | |
# Copy relevant properties | |
result[prop] = a[prop] for prop in props | |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
import Twitter from 'twitter'; | |
const client = new Twitter({ | |
consumer_key: process.env.TWITTER_CONSUMER_KEY, | |
consumer_secret: process.env.TWITTER_CONSUMER_SECRET, | |
access_token_key: process.env.TWITTER_ACCESS_TOKEN_KEY, | |
access_token_secret: process.env.TWITTER_ACCESS_TOKEN_SECRET | |
}); | |
let getFaves = function () { |
Pure CSS. Inspiration:
A Pen by Anonasaurus Rex on CodePen.