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
/** | |
* Gems gems gems gems gems gems gems | |
*/ | |
.gem { display: block; padding-left: 90px; line-height: 80px; font-size: 70px; font-family: Helvetica, Arial, sans-serif; } | |
.gem.gem-green { background: transparent url(http://images4.wikia.nocookie.net/__cb20100522145657/ztreasureisle/images/7/75/Green_Gem-icon.png) top left no-repeat; } | |
.gem.gem-red { background: transparent url(http://images4.wikia.nocookie.net/__cb20100522145543/ztreasureisle/images/a/af/Red_Gem-icon.png) top left no-repeat; } |
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
#!/bin/zsh | |
local IFS=$'\n' | |
for voice in `say -v '?' | cut -c1-20 | sed 's/ *$//g' | tr '[A-Z]' '[a-z]'` | |
do | |
for alphabet in `perl -le 'do { print $_ } foreach (a..z);'` | |
do | |
if [ ! -d ${voice} ] | |
then |
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
{ | |
"id": 1024, | |
"name": "Midsomer Murders", | |
"engine": "Go-No-Go", | |
"description": "Exercise your working memory", | |
"assets": { | |
"screen": { | |
"background-image": "http://placehold.it/800x600" |
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
/** | |
* ABC Brain Fit Login box | |
*/ | |
h1, h2, h3, h4, h4, p { margin: 0; padding: 0; } | |
html, body { | |
background: #004164; | |
background: linear-gradient(top, #003f61, #004164); | |
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
/** | |
* ABC Brain Fit Login box | |
*/ | |
h1, h2, h3, h4, h4, p { margin: 0; padding: 0; } | |
html, body { | |
background: #004164; | |
background: linear-gradient(top, #003f61, #004164); | |
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 GameState = function (ctx) { | |
this.ctx = ctx; | |
}; | |
GameState.prototype = { | |
init: function (timestamp) { | |
this.start = timestamp; | |
}, | |
draw: function (timestamp) { |
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
/** | |
* Game icon for ABC Brainfit | |
*/ | |
.game,.game.locked::after,.game h4 { | |
display:block; | |
margin:0; | |
box-sizing:border-box | |
} |
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
/** | |
* Game icon | |
*/ | |
.game { | |
display: block; | |
margin: 0; padding: 0; | |
width: 100px; height: 100px; | |
position: relative; |
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
// Very simple client-side only, data-less, templating system. | |
// | |
// Usage: | |
// <div data-view="footer" data-type="partial"></div> | |
// <div data-view="article" data-type="view"></div> | |
var tempted = function (context) { | |
if (!context) { | |
context = window.document; | |
} |
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
// Extract FunctionBody as eval expects FunctionBody | |
Function.prototype.getBody = function() { | |
var m = this.toString().match(/\{([\s\S]*)\}/m)[1]; | |
return m.replace(/^\s*\/\/.*$/mg,''); | |
}; | |
var GLOBAL = "GLOBAL"; | |
function foo () { |