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
// What does this do? | |
// | |
// It adds two buttons the GitHub PR UI which, when clicked, copy markdown | |
// footnote links to the users clipboard. Which links?: | |
// 1. A preview url | |
// 2. The Jira ticket | |
// 3. The PR URL | |
const startingLinkNumber = parseInt(window.prompt('What is the next link number?')); |
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
import "./custom-spring.css"; | |
// import { Pane } from "tweakpane"; | |
const box = document.querySelector(".box"); | |
interface SpringOptions { | |
stiffness: number; | |
mass: number; | |
damping: number; | |
end: number; |
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
// Outputs json that includes your styles, their names, colors, etc. | |
// It's shaped like this: | |
// | |
// [ | |
// { | |
// "name": "Danger", | |
// "key": "cab6ae8c5b6634d6exampleKey151b4ee724", | |
// "description": "", | |
// "color": { | |
// "type": "SOLID", |
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
const oneCorePaintStyles = [ | |
{ | |
"name": "Roles/Interactive/Interactive Primary", | |
"key": "18ecca921484122521d9d31c21d32217b76a8214", | |
"description": "", | |
"color": { | |
"type": "SOLID", | |
"visible": true, | |
"opacity": 1, | |
"blendMode": "NORMAL", |
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
.toolbar-container { | |
height: 66px; | |
box-sizing: border-box; | |
border-top: 1px solid #edeeee; | |
border-bottom: 1px solid #edeeee; | |
padding: 0 16px; | |
background-color: #fff; | |
} | |
.toolbar-section1 .toolbar-item:first-child { |
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
import React from "react"; | |
import { | |
Grid, | |
GridItem, | |
Stack, | |
StackItem, | |
Dropdown, | |
DropdownItem, | |
TextField, | |
Button, |
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
<!DOCTYPE html> | |
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office"> | |
<head> | |
<meta charset="utf-8"> <!-- utf-8 works for most cases --> | |
<meta name="viewport" content="width=device-width"> <!-- Forcing initial-scale shouldn't be necessary --> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <!-- Use the latest (edge) version of IE rendering engine --> | |
<meta name="x-apple-disable-message-reformatting"> <!-- Disable auto-scale in iOS 10 Mail entirely --> | |
<title>Epiphany - Reset Your Password</title> <!-- The title tag shows in email notifications, like Android 4.4. --> | |
<!-- Web Font / @font-face : BEGIN --> |
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
<!DOCTYPE html> | |
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office"> | |
<head> | |
<meta charset="utf-8"> <!-- utf-8 works for most cases --> | |
<meta name="viewport" content="width=device-width"> <!-- Forcing initial-scale shouldn't be necessary --> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <!-- Use the latest (edge) version of IE rendering engine --> | |
<meta name="x-apple-disable-message-reformatting"> <!-- Disable auto-scale in iOS 10 Mail entirely --> | |
<title>Epiphany - Welcome!</title> <!-- The title tag shows in email notifications, like Android 4.4. --> | |
<!-- Web Font / @font-face : BEGIN --> |
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
<aside class="featured_aside"> | |
[caption id="attachment_80262" align="alignleft" width="175"] | |
<img class="wp-image-80262 featured_aside_img" alt="SHORT IMAGE DESCRIPTION HERE" src="LINK TO IMAGE HERE" width="175" /> | |
<br /><br /> | |
<p class="featured_aside_caption">Caroline's joy is evident as she comforts Johanser after surgery.</p> | |
[/caption] | |
</aside> |
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
/** | |
* placefill.js - A polyfill for the placeholder attribute. | |
* @author Daniel Golden <danielgolden90@gmail.com> | |
*/ | |
var $place_holder_inputs = $('input[placeholder]'); | |
var place_holder_text = $('input').attr('placeholder'); | |
// make value attribute of all inputs with placeholder attribute equal to | |
// value of placeholder attribute |
NewerOlder