- compile california style sheets
- update scripts
- make the code minified
This file contains hidden or 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 jquery plugin | |
* by jenn schiffer | |
*/ | |
(function($) { | |
var pluginName = 'pluginName'; | |
var defaults = { |
This file contains hidden or 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 z=1; | |
$('*').each(function(){ | |
$(this).css({ | |
'position' :'relative', | |
'z-index':z, | |
'box-shadow':'-1px -1px 5px #000', | |
'border':'1px solid #666', | |
'left':'1px','top':'1px' | |
}); | |
z++; |
This file contains hidden or 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
// $gridRegular = a jsgrid table | |
var $outerScroller = $gridRegular.closest('.inner'); | |
$gridRegular.scrollersAnywhere({ | |
scrollerLocation : { | |
element : $outerScroller.parent(), | |
placeWhere : 'before', | |
}, | |
scrollerID : 'top-scroll-' + gridRegularID, | |
innerWidth : $gridRegular.width(), |
This file contains hidden or 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
everything i write on medium is a lie | |
xoxo j$ |
This file contains hidden or 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
// CanvasPaint r1 | |
// by Christopher Clay <[email protected]> | |
// | |
// The code in this file is dedicated to the Public Domain | |
// http://creativecommons.org/licenses/publicdomain/ | |
// | |
//some global vars | |
var canvas, c, canvastemp, ctemp, canvassel, csel, canvasundo, cundo, wsp, imgd, co, check; | |
var iface = { dragging:false, resizing:false, status:null, xy:null, txy:null } |
This file contains hidden or 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
// 1. create a new bookmark on your browser | |
// 2. paste the following code - starting at "javascript:" into the URL part of the add-bookmark menu. | |
// 3. go to http://www2.warnerbros.com/spacejam/movie/jam.htm | |
// 4. click the bookmark for automatic space jam 2 | |
// xoxo j$ | |
javascript:(function(){document.getElementsByTagName("html")[0].innerHTML=document.getElementsByTagName("html")[0].innerHTML.replace(/1996/g,"2014");var images=document.getElementsByTagName("img");var length=images.length;while(length--){if(images[length].src=="http://www2.warnerbros.com/spacejam/movie/img/p-jamlogo.gif"){images[length].src="http://f.cl.ly/items/1a10103W3Z010W192n23/p-jamlogo.png"}}}()); |
This file contains hidden or 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
lol |
This file contains hidden or 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 uploadToImgur = function() { | |
var imgDataURL = DOM.$canvas[0].toDataURL('image/png').replace(/^data:image\/(png|jpg);base64,/, ''); | |
$.ajax({ | |
method: 'POST', | |
url: 'https://api.imgur.com/3/image', | |
headers: { | |
Authorization: 'Client-ID ' + imgur.clientId, | |
}, | |
dataType: 'json', | |
data: { |