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,body,iframe,div#content { | |
padding: 0; | |
margin: 0; | |
width: 100%; | |
height: 100%; | |
min-height: 100%; | |
border: 0; | |
background-color: #000000; | |
overflow: hidden; | |
} |
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 colors = [ | |
'rgb(30, 104, 35)', 'rgb(68, 163, 64)', 'rgb(140, 198, 101)', 'rgb(214, 230, 133)', 'rgb(238, 238, 238)' | |
]; | |
var days = $('.js-calendar-graph-svg').find('rect.day'); | |
days.css({ | |
fill: colors[4] | |
}); | |
days.on('click', function(e) { | |
e.stopPropagation(); | |
$this = $(this); |
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
rooms | |
1 Opera House Foyer | |
1 You are in the Foyer of the Opera House. This room has doors to the south and | |
1 west, also an unusable exit to the north. The room is quiet and you don't see | |
1 anyone around. | |
2 Cloak Room | |
2 You are in the cloak room. The room resembles a large walk in closet. You see | |
2 a brass hook on the wall. | |
3 The Bar | |
3 You are in the bar and it is extremely dark, you cannot see anything right |
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
text | |
1 You are in the Foyer of the Opera House. This room has doors to the south and | |
1 west, also an unusable exit to the north. The room is quiet and you don't see | |
1 anyone around. | |
2 You are in the cloak room. The room resembles a large walk in closet. You see | |
2 a brass hook on the wall. | |
3 You are in the bar and it is extremely dark, you cannot see anything right | |
3 now. You can't even see if there is a light switch. | |
4 You take off your cloak and hang it up on the hook. | |
6 Because you disturbed the room while moving around in the dark you made the |
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
(ns cljzmq-examples.serialization.clojure | |
(:require [clojure.edn :as edn] | |
[zeromq.zmq :as zmq])) | |
(defn send-clj | |
([socket clj-data] | |
(send-clj socket clj-data 0)) | |
([socket clj-data flags] | |
(let [data (-> clj-data | |
(pr-str) |
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 querystring = require('querystring') | |
var xhr = require('xhr') | |
if (!xhr.open) xhr = require('request') | |
var allowedProperties = [ | |
'fields', | |
'channelId', | |
'channelType', | |
'eventType', |
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
(defn actions [array-of-funcs] | |
(doseq [func array-of-funcs] (func))) |
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
***The 'properties' property is for anything that is game specific*** | |
-IF SCHEMA BELOW- | |
Player | |
- current room | |
- moves | |
- score | |
- items | |
- properties (eg. health, gold, etc...) |
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
namespace AwesomeAngularMVCApp.Controllers | |
open System.Threading.Tasks | |
open System.Web | |
open System.Web.Mvc | |
open AwesomeAngularMVCApp.Models | |
open Microsoft.AspNet.Identity.Owin | |
open System.Web.Http.Owin | |
[<Authorize>] |
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
/* | |
AST tree generated from parsing the following Design By Numbers program: | |
paper 30 | |
repeat A 0 300 | |
{ | |
pen 50 | |
line 0 55 100 55 |
OlderNewer