Skip to content

Instantly share code, notes, and snippets.

View borlaym's full-sized avatar

Marton Borlay borlaym

  • Budapest, Hungary
View GitHub Profile
<link rel="import" href="../google-map/google-map.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
@borlaym
borlaym / gist:6c948341ebf6e69cc24a
Created May 11, 2014 20:35
MtG number of copies needed of each card for a Draft Simulator
var numberOfDifferentCards = 109;
var amountOfEach = 10;
var numberInBooster = 10;
var numberOfBoosters = 3;
var numberOfPlayers = 8;
var numberOfTests = 300;
var results = [];
console.clear();
@borlaym
borlaym / gist:e1bb30b3b661fd390058
Created May 9, 2014 16:55
Sample JSON with schema
{
"_contents": {
"foo": "as",
"coll": [{
"_id": "422229c393c04778e27b2f741462de29",
"meow": false
}, {
"_id": "bd9c8df15ebbac93cdade595aaf958c2",
"meow": false
}, {