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 w = 960, | |
h = 550; | |
// Matrix Layout | |
// ------------ | |
var Matrix = function() { | |
var width = 1, | |
height = 1, | |
cols = 4; |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.js"></script> | |
<script type="text/javascript" src="matrix.js"></script> | |
<style type="text/css"> | |
rect { | |
fill: steelblue; | |
fill-opacity: .8; |
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
#! /bin/bash | |
# Convert Landsat 8 GeoTIFF images into RGB pan-sharpened JPEGs. | |
# | |
# Requirements: | |
# * gdal http://www.mapbox.com/tilemill/docs/guides/gdal/ | |
# * convert (image-magick) | |
# | |
# Reference info: | |
# http://www.mapbox.com/blog/putting-landsat-8-bands-to-work/ |
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
define('nyt5/analytics',[],function() { | |
var canonical = document.querySelector("link[rel='canonical']").href, | |
pageview = ['_trackPageview']; | |
if (canonical) { | |
var a = document.createElement("a"); | |
a.href = canonical; | |
if (a.pathname != document.location.pathname) pageview.push(a.pathname); | |
} |
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
// Support: Firefox 18+ | |
// Can't be in strict mode, several libs including ASP.NET trace | |
// the stack via arguments.caller.callee and Firefox dies if | |
// you try to trace through "use strict" call chains. (#13335) | |
// | |
var arr = []; | |
-- | |
// Support: Android<4.1 | |
// Make sure we trim BOM and NBSP | |
rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, |
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
define([], function() { | |
// Test more | |
// now more | |
return { | |
boot: function(el) { | |
console.log('test'); | |
console.log('test'); |
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
<div class="shareButtons"> | |
{{#each media}} | |
<button on-click="share:{{this}}" class="share-{{this}}"></button> | |
{{/each}} | |
</div> | |
<style> | |
.shareButtons{ | |
font-size:0; | |
} |
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
<!DOCTYPE html> | |
<html class="wf-pressstart2p-n4-active wf-active"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Steam Community :: Monster Summer Sale</title> | |
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon"> | |
<link href="http://steamcommunity-a.akamaihd.net/public/shared/css/motiva_sans.css?v=F3z3QpekjE2f" rel="stylesheet" type="text/css"> | |
<link href="http://steamcommunity-a.akamaihd.net/public/shared/css/buttons.css?v=4iAytERcUqWU" rel="stylesheet" type="text/css"> | |
<link href="http://steamcommunity-a.akamaihd.net/public/shared/css/shared_global.css?v=XXN4vhirCNMy" rel="stylesheet" type="text/css"> |
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
// http://steamcommunity-a.akamaihd.net/public/javascript/minigame/towerattack.js | |
// <script> | |
"use strict" | |
window.k_ScreenWidth = 1280; | |
window.k_ScreenHeight = 720; | |
var g_JSCacheKey = 'as8wg42t0w'; | |
var g_rgTextureCache = { |
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
// <script> | |
"use strict"; | |
window.k_ETowerAttackAbility_Invalid = 0; | |
window.k_ETowerAttackAbility_Attack = 1; | |
window.k_ETowerAttackAbility_ChangeLane = 2; | |
window.k_ETowerAttackAbility_Respawn = 3; | |
window.k_ETowerAttackAbility_ChangeTarget = 4; | |
window.k_ETowerAttackElement_Invalid = 0; |