Skip to content

Instantly share code, notes, and snippets.

View gamecubate's full-sized avatar

Alexandre Rousseau gamecubate

View GitHub Profile
@gamecubate
gamecubate / index.html
Created July 28, 2023 14:37
packary test
<header>
<h1>&nbsp;</h1>
</header>
<main></main>
<footer>
<h1>FOOTER</h1>
</footer>
(ns rps.app
(:require [reagent.core :as r]
[cljs.core.logic :as m :refer [membero]]
[clojure.core.logic.pldb :as pldb :refer [db-rel db with-db with-dbs]]
;; DATA
(def default-data {:player-hand nil
:computer-hand nil
:outcome nil
:player-score 0
@gamecubate
gamecubate / index.html
Last active March 14, 2016 04:09
Treemap
<!DOCTYPE html>
<meta charset="utf-8">
<style>
body {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
margin: 0;
width: 960px;
height: 500px;
}
@gamecubate
gamecubate / index.html
Last active December 15, 2015 14:29
[Leaflet +] MapBox + d3
<!DOCTYPE html>
<meta charset="utf-8">
<head>
<style>
body {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
width: 960px;
height: 500px;
position: relative;
@gamecubate
gamecubate / 0_reuse_code.js
Last active August 29, 2015 14:15
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
id nom idRégionÉlectorale idCarte
619 Charlesbourg 1 1
623 Jean-Lesage 1 1
643 Jean-Talon 1 1
663 Lévis 11 1
633 Taschereau 1 1
639 Vanier-Les Rivières 1 1
437 Acadie 2 2
373 Anjou—Louis-Riel 2 2
473 Blainville 13 2
@gamecubate
gamecubate / circonscriptions.csv
Last active August 29, 2015 13:58
Elections Québec 2014
619 Charlesbourg 1 1
623 Jean-Lesage 1 1
643 Jean-Talon 1 1
663 Lévis 11 1
633 Taschereau 1 1
639 Vanier-Les Rivières 1 1
437 Acadie 2 2
373 Anjou—Louis-Riel 2 2
473 Blainville 13 2
@gamecubate
gamecubate / .gistup
Last active August 29, 2015 13:57
Radio buttons test
gistup