A Pen by Andy Fitzsimon on CodePen.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
^imap\. | |
^staging\. | |
^get\. | |
^secure\. | |
^dev\. | |
^www\. | |
^api\. | |
^develop\. | |
^en\. | |
^es\. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function hexToRgb(hex) { | |
// Expand shorthand form (e.g. "FA7") to full form (e.g. "FFAA77") | |
var shorthandRegex = /^#?([a-f\d])([a-f\d])([a-f\d])$/i; | |
hex = hex.replace(shorthandRegex, function (m, r, g, b) { | |
return r + r + g + g + b + b; | |
}); | |
var result = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(hex); | |
return result ?{ | |
r: parseInt(result[1], 16), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// this takes all <img src=".svg"> | |
// and makes it inline <svg ...</svg> | |
// so that custom CSS can be applied | |
var Ajax = { | |
get: function (url, onsuccess, onerror) { | |
var xhr = new XMLHttpRequest(); | |
xhr.onload = function () { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
function onOpen(){ | |
var ui = DocumentApp.getUi(); | |
ui.createMenu('🔥AOT Tools 🔥') | |
.addItem('⚓️ Sidebar 🧰', 'showSidebar') | |
// .addItem("html 2 drive", "exportAsHTML") | |
.addItem("➡ Post to Jive", "postToMojo") | |
.addToUi() | |
.showSidebar(); } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verifying my Blockstack ID is secured with the address 1FtWSk8dskB43Wnudnq63MiGKuGqKp1eX https://explorer.blockstack.org/address/1FtWSk8dskB43Wnudnq63MiGKuGqKp1eX |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<style> | |
path{ | |
stroke:#d3d6d9; | |
transition:stroke-width .6s cubic-bezier(0,.72,.25,1.25) ; | |
stroke-width:3px; | |
stroke-linecap:round;} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<article class="book-reader"> | |
<input type="checkbox" id="fullscreen"> | |
<label for="fullscreen"></label> | |
<input type="checkbox" id="invert"> | |
<label for="invert"></label> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%header#header | |
.wrapper | |
%h1 | |
%a{:href => "#"} | |
Converge | |
%abbr UI | |
%a.settings{:href => "#"} settings | |
#notifications | |
#indicator |
NewerOlder