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> | |
<script src="/path/to/jquery.js"></script> <!-- This is where jQuery resides, in this file --> | |
<script src="/path/to/our/script.js"></script> <!-- This is where we write OUR javascript. We can now use all the goodies in jQuery --> | |
</head> | |
<body> | |
<ul> | |
<li>Stuff 1</li> | |
<li>Stuff 2</li> | |
</ul> |
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
#navbar { | |
width: 800px; | |
border-bottom: 2px solid #ce4dd6; | |
} | |
#navbar li { | |
float: left; | |
width: 150px; | |
background-color: #e5a0e9; | |
} | |
#navbar li:hover { |
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
name = Responsive tables | |
description = Zurb responsive tables | |
core = 7.x | |
dependencies[] = views | |
files[] = responsive_tables.module | |
files[] = responsive_tables.views.inc | |
files[] = responsive_tables_plugin_style_responsive_table.inc |
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
javascript:(function(){$('body').append('<script src=\'http://pinnacleofdestruction.net/tt/autott_voteonly.js\'></script>');})(); |
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 "compass"; | |
// an extendable class | |
.extendable-style { | |
font-weight: bold; | |
line-height: 1.7; | |
} | |
// apply | |
.thingy-1{ @extend .extendable-style; } | |
.child .of .something{ @extend .extendable-style; } |
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
javascript:document.write(%27<!DOCTYPE html><html><head><meta charset%3D"utf-8"><title>Responsive Design Testing</title><style>body %7B margin: 20px%3B font-family: sans-serif%3B overflow-x: scroll%3B %7D.wrapper %7B width: 6000px%3B %7D.frame %7B float: left%3B %7Dh2 %7B margin: 0 0 5px 0%3B %7Diframe %7B margin: 0 20px 20px 0%3B border: 1px solid %23666%3B %7D</style></head><body><div class%3D"wrapper"><div class%3D"frame"><h2>240<span> x 320</span> <small>(mobile)</small></h2><iframe src%3D"%27 %2B window.location %2B %27" sandbox%3D"allow-same-origin allow-forms" seamless width%3D"240" height%3D"320"></iframe></div><div class%3D"frame"><h2>320<span> x 480</span> <small>(mobile)</small></h2><iframe src%3D"%27 %2B window.location %2B %27" sandbox%3D"allow-same-origin allow-forms" seamless width%3D"320" height%3D"480"></iframe></div><div class%3D"frame"><h2>480<span> x 640</span> <small>(small tablet)</small></h2><iframe src%3D"%27 %2B window.location %2B %27" sandbox%3D"allow-same-origin allow-forms" seamle |
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
/** | |
* @each basically lets us iterate over lists. What's a list? | |
* Check it: | |
* | |
* Lists in SASS appear in two main formats, separated | |
* by commas or spaces: | |
* | |
* 1. The sequence of values found in compound properties | |
* like border or background. For example: "1px solid black" | |
* is actually a list to SASS that can be looped over. |
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 unwatchme = 'name_of_org'; | |
jQuery('.subscription-row').each(function(){ | |
if (jQuery('a[href*="' + unwatchme + '"]', jQuery(this)).length > 0) { | |
jQuery('.js-unsubscribe-form .minibutton', jQuery(this)).click(); | |
} | |
}); |
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_face": "Fira Mono OT", | |
"highlight_modified_tabs": true, | |
"ignored_packages": | |
[ | |
"Vintage" | |
], | |
"indent_guide_options": | |
[ | |
"draw_normal", |