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
@-moz-viewport { | |
width: device-width; | |
} | |
@-ms-viewport { | |
width: device-width; | |
@media screen and (max-width: 400px) { | |
width: 320px; | |
} |
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 windowBottom = $(window).scrollTop() + $(window).height(); | |
$(window).scroll(function () { | |
$('.hideme').each(function (i) { | |
var $this = $(this), | |
objectBottom = $(this).position().top + $(this).outerHeight(); | |
if (windowBottom > objectBottom) { | |
$(this).animate({'opacity': '1'}, 500); | |
} |
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 Make Trello more awesome | |
// @downloadURL https://gist.github.com/curtisj44/9491644 | |
// @grant none | |
// @include https://trello.com/* | |
// @name Trello | |
// @namespace trello | |
// @require https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js | |
// @version 2.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
Show hidden characters
{ | |
// v3.0.4 | |
"always_show_minimap_viewport": true, | |
"auto_close_tags": false, | |
"auto_indent": false, | |
"auto_match_enabled": false, | |
"binary_file_patterns": [ | |
"*.sassc", | |
"*/tmp/*" |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>name</key> | |
<string>DesertEx Remix</string> | |
<key>author</key> | |
<string>Curtis Jurgensen (originally based Ming Bai on Vim, then remixed by Dylan Sarber)</string> |
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 link, | |
id = 'Pesticide'; | |
pesticide = document.getElementById(id); | |
if (pesticide === null) { | |
console.log(id + ' added'); | |
link = document.createElement('link'); | |
link.id = id; | |
link.rel = 'stylesheet'; |
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
if ($('.mood-board').length > 0) { | |
// off | |
$('.mood-board').remove(); | |
} else { | |
// on | |
var | |
$attachment = $('.attachment-thumbnail'), | |
$this, | |
board = '<style class="mood-board">' + | |
'.body-board-view {' + |
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
=font-smoothing($apply: true) { | |
@if ($apply == true) { | |
-moz-osx-font-smoothing: grayscale; | |
-webkit-font-smoothing: antialiased; | |
} @else { | |
-moz-osx-font-smoothing: auto; | |
-webkit-font-smoothing: subpixel-antialiased; | |
} | |
} |
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
#A list of strings I don't want to see in CSS and HTML | |
*margin | |
*padding | |
'Arial' | |
Arial; | |
Arial, Helvetica | |
Georgia; | |
Lucida Grande, |
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> | |
<!-- | |
inspired by: | |
https://gist.github.com/nfreear/4714368 | |
https://github.com/jbmoelker/a11y-boilerplate | |
--> | |
<html class="no-js" lang="en-US"> | |
<head> |
OlderNewer