Skip to content

Instantly share code, notes, and snippets.

@geibi
geibi / gist:ca95774caf63cd38e83d
Created Jul 23, 2015
Bonfire: Roman Numeral Converter - freecodecamp
View gist:ca95774caf63cd38e83d
function convert(num) {
var arRomans = [
["I", "II", "III", "IV", "V", "VI", "VII", "VIII", "IX"], //1
["X", "XX", "XXX", "XL", "L", "LX", "LXX", "LXXX", "XC"], //10
["C", "CC", "CCC", "CD", "D", "DC", "DCC", "DCCC", "CM"] //100
];
var arConverted = [];
var strConverted = "";
@geibi
geibi / SassMeister-input-HTML.html
Created Jul 30, 2014
Generated by SassMeister.com.
View SassMeister-input-HTML.html
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>vertical rhythm</title>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<h1>Headline</h1>
@geibi
geibi / SassMeister-input-HTML.html
Created Jul 30, 2014
Generated by SassMeister.com.
View SassMeister-input-HTML.html
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>vertical rhythm</title>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<h1>Headline</h1>
@geibi
geibi / SassMeister-input-HTML.html
Created Jul 30, 2014
Generated by SassMeister.com.
View SassMeister-input-HTML.html
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>singularity and bundler test</title>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
@geibi
geibi / SassMeister-input-HTML.html
Created Jul 30, 2014
Generated by SassMeister.com.
View SassMeister-input-HTML.html
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>vertical rhythm</title>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<h1>Headline</h1>
@geibi
geibi / SassMeister-input-HTML.html
Created Jul 22, 2014
Generated by SassMeister.com.
View SassMeister-input-HTML.html
<input>
<input class="formerror">
@geibi
geibi / SassMeister-input-HTML.html
Created Jul 21, 2014
Generated by SassMeister.com.
View SassMeister-input-HTML.html
<div class="container">
<div class="news">NEWS</div>
<div class="content">CONTENT</div>
</div>
<br />
<div class="container">
<div class="item">item 1</div>
<div class="item">item 2</div>
<div class="item">item 3</div>
<div class="item">item 4</div>
@geibi
geibi / SassMeister-input-HTML.html
Created Jul 21, 2014
Generated by SassMeister.com.
View SassMeister-input-HTML.html
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>singularity and bundler test</title>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
@geibi
geibi / SassMeister-input-HTML.html
Created Jul 21, 2014
Generated by SassMeister.com.
View SassMeister-input-HTML.html
<div class="container">
<div class="news">NEWS</div>
<div class="content">CONTENT</div>
</div>
<br />
<div class="container">
<div class="item">item 1</div>
<div class="item">item 2</div>
<div class="item">item 3</div>
<div class="item">item 1</div>
@geibi
geibi / SassMeister-input-HTML.html
Created Jul 21, 2014
Generated by SassMeister.com.
View SassMeister-input-HTML.html
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>singularity and bundler test</title>
<link rel="stylesheet" href="css/style.css">
</head>
<body>