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
// ==UserScript== | |
// @description Trello + sound | |
// @downloadURL https://gist.github.com/curtisj44/a519b52846dd9760ed59 | |
// @grant none | |
// @include https://trello.com/* | |
// @name Trello Power-up | |
// @namespace trello | |
// @require https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js | |
// @version 0.3.0 | |
// ==/UserScript== |
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
var | |
styleId = 'simple-supersize', | |
style = '<style id="' + styleId + '">' + | |
// wider cards | |
'.list-wrapper { ' + | |
' width: 700px; ' + | |
'} ' + | |
'.list-card { ' + | |
' margin: 0; ' + |
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
// Full Height | |
javascript:document.write('<!DOCTYPE%20html><html><head><meta%20charset="utf-8"><title>Responsive%20Design%20Testing</title><style>html{background:#333}body{margin:0%2020px;font-family:Consolas,monospace;overflow-x:scroll;}.wrapper{width:5617px;}.frame{float:left;height:10000px;}h2{margin:20px;color:rgba(255,255,255,.5);font-weight:normal;font-size:1em;}iframe{margin:0%2020px%2020px;border:0;height:100%;background:#fff;}</style></head><body><div%20class="wrapper"><div%20class="frame"><h2>240</h2><iframe%20src="'%20+%20window.location%20+%20'"%20seamless%20width="240"></iframe></div><div%20class="frame"><h2>320</h2><iframe%20src="'%20+%20window.location%20+%20'"%20seamless%20width="320"></iframe></div><div%20class="frame"><h2>375</h2><iframe%20src="'%20+%20window.location%20+%20'"%20seamless%20width="375"></iframe></div><div%20class="frame"><h2>480</h2><iframe%20src="'%20+%20window.location%20+%20'"%20seamless%20width="480"></iframe></div><div%20class="frame"><h2>640</h2><iframe%20src="'%20+%20w |
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
/* v1.0.3 */ | |
@namespace url(http://www.w3.org/1999/xhtml); | |
@-moz-document domain("atlassian.net") { | |
/* Backlog Ticket Preview */ | |
#ghx-detail-view { | |
width: 0 !important; | |
} |
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
* { | |
/* System sans-serif */ | |
/* ----------------- */ | |
/* github.com - 20200211 */ | |
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji' | |
/* tj.ie - 20200211 */ | |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sansserif |
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
// Exports | |
// ------- | |
// Verifies the current user has assignments | |
// | |
// Args: | |
// 1. `$$currentUser` - Immutable current_user object | |
// | |
// Example usage: | |
// `hasAssignments($$currentUser);` |
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
// Maps in Sass | |
// ------------ | |
// How it should be using `.scss` syntax | |
$mdc-typography-styles-button: ( | |
font-size: 16px, | |
text-transform: none, | |
); | |
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
{ | |
"_version": "1.27.2", | |
"_source": "https://gist.github.com/curtisj44/e72d8e1dfd950b69fc30eb5b31501795/edit", | |
"_colors": { | |
"black-background": "#2b2b2b", | |
"blue-light": "#87CEEB", | |
"blue-dark": "#2B91AF", | |
"gray-light (default text)": "#C0C0C0", | |
"grey-medium": "#808080", |
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
// TODO: update this path to your repo on GitHub | |
const repo = "https://github.com/your-path/goes-here/new/master/posts"; | |
const getToday = () => { | |
const today = new Date(); | |
let dd = today.getDate(); | |
let mm = today.getMonth() + 1; | |
const yyyy = today.getFullYear(); | |
if (dd < 10) dd = `0${dd}`; |