Skip to content

Instantly share code, notes, and snippets.

View gabrielsr's full-sized avatar

Gabriel Rodrigues gabrielsr

View GitHub Profile
coins = [1, 5, 10, 25, 50, 100, 200, 500, 1000, 2000, 5000, 10000]
ccount = [i for i in range(10000 + 1)]
cselection = [None for i in range(10000 + 1)]
for c in coins:
ccount[c] = 1
cselection[c] = (c)
@gabrielsr
gabrielsr / jokenPo.js
Created August 17, 2018 19:57
jokenPo simulator
function match(){
const END = 28;
const INITIAL_PLAYER_ONE_POS = 1;
const INITIAL_PLAYER_TWO_POS = 28;
let player_1 = 1;
let player_2 = 28;
let time = 0;
//RUN
@gabrielsr
gabrielsr / label.css
Created August 2, 2015 14:35
Printing Labels with html and css - PIMACO A4355, A4, 27 labels per page
@media print {
/* Your styles here */
}
@page {
size: 210mm 297mm;
outline: 1pt dotted;
margin: 0;
padding-top: 0;
}