Skip to content

Instantly share code, notes, and snippets.

@saming
saming / custom.css
Created April 22, 2014 12:19
A custom CSS for venue - a node.js module
@import url(http://fonts.googleapis.com/css?family=Open+Sans:300,400,600);
html {
position: relative; color: white;
background: url("/resource/crisp.jpg") center fixed;
font-family: "Open Sans", sans-serif;
min-height: 100%; }
body {
margin: 0px; }
var translate = {
'A': ".-",
'B': "-...",
'C': "-.-.",
'D': "-..",
'E': ".",
'F': "..-.",
'G': "--.",
'H': "....",
'I': "..",
@saming
saming / e3.js
Last active December 18, 2015 08:49
Now working as intended, will add more bullshit. Find a live example at http://saming.free.fr/p/e3/ (not always up-to-date and also customized).
// E3.js: your favorite gaming bullshit generator
// Just include this script in a basic html file
// eg: about:blank > Scratchpad > paste > CTRL+R
// Attribute
function getgdvar(str) {
if(str==="NOUN") {return nouns;}
else if(str==="ADJECTIVES") {return adjectives;}
else if(str==="ADJECTIVE") {return adjectives;}
else if(str==="NORMADJ") {return normadj;}