Skip to content

Instantly share code, notes, and snippets.

@curtisj44
curtisj44 / trello-power-up.user.js
Last active November 9, 2021 06:55
User Script: Trello Power-up
// ==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==
@curtisj44
curtisj44 / trello-simple-supersize-bookmarklet.js
Last active January 6, 2016 20:34
Trello Simple Supersize
var
styleId = 'simple-supersize',
style = '<style id="' + styleId + '">' +
// wider cards
'.list-wrapper { ' +
' width: 700px; ' +
'} ' +
'.list-card { ' +
' margin: 0; ' +
// 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
@curtisj44
curtisj44 / jirello.user.css
Last active June 9, 2016 21:18
A user style to make JIRA boards look a lot like Trello
/* 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;
}
@curtisj44
curtisj44 / font-stacks.css
Last active March 17, 2020 18:59
Miscellaneous font stacks
* {
/* 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
@curtisj44
curtisj44 / javascript-doc-format.js
Last active January 7, 2019 19:20
JavaScript documentation format
// Exports
// -------
// Verifies the current user has assignments
//
// Args:
// 1. `$$currentUser` - Immutable current_user object
//
// Example usage:
// `hasAssignments($$currentUser);`
@curtisj44
curtisj44 / maps.sass
Created November 10, 2018 19:26
Maps in Sass
// Maps in Sass
// ------------
// How it should be using `.scss` syntax
$mdc-typography-styles-button: (
font-size: 16px,
text-transform: none,
);
@curtisj44
curtisj44 / themer-dark-color-theme.json
Last active October 4, 2022 16:51
Custom color theme for Visual Studio Code
{
"_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",
@curtisj44
curtisj44 / bookmarking-bookmarklet.js
Last active May 11, 2023 17:58
Bookmarking Bookmarklet for Eleventy
// 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}`;
@curtisj44
curtisj44 / markdown.md
Last active March 5, 2021 20:00
Markdown Examples