Skip to content

Instantly share code, notes, and snippets.

View renoirb's full-sized avatar

Renoir Boulanger renoirb

View GitHub Profile
@renoirb
renoirb / .babelrc
Last active February 13, 2017 02:25 — forked from anonymous/index.html
Use JavaScript to fill a print form // source http://jsbin.com/kegajep
{
"plugins": [
"transform-es2015-typeof-symbol",
"transform-es2015-spread",
"transform-es5-property-mutators",
"check-es2015-constants",
"transform-es2015-block-scoping",
"transform-es2015-arrow-functions",
"transform-es2015-for-of",
"transform-es2015-template-literals",
@renoirb
renoirb / index.html
Created February 8, 2017 21:37 — forked from anonymous/index.html
Deal with hidden content overflow // source http://jsbin.com/xeheyey
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Deal with hidden content overflow</title>
<style id="jsbin-css">
* {
box-sizing: border-box;
}
@renoirb
renoirb / index.html
Created September 30, 2016 19:44 — forked from anonymous/index.html
Renoir's Challenge Use an JSON object to describe a form // source http://jsbin.com/kavume
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Renoir's Challenge</title>
<meta name="description" content="Use an JSON object to describe a form" />
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.8/angular.min.js"></script>
<script src="https://npmcdn.com/api-check@latest/dist/api-check.js"></script>
<script src="https://npmcdn.com/angular-formly@8.4.0/dist/formly.js"></script>
@renoirb
renoirb / gist:e123bd88c0abf267e1b4
Last active September 18, 2015 15:08 — forked from davatron5000/gist:2254924
Static Site Generators

Backstory: I decided to crowdsource static site generator recommendations, so the following are actual real world suggested-to-me results. I then took those and sorted them by language/server and, just for a decent relative metric, their Github Watcher count. If you want a heap of other projects (including other languages like Haskell and Python) Nanoc has the mother of all site generator lists. If you recommend another one, by all means add a comment.

Ruby

@renoirb
renoirb / bower.js
Last active September 7, 2015 02:54 — forked from wspringer/bower.coffee
Bower support for Metalsmith
/**
* Attempt to port into plain JavaScript bower.coffee MetalSmith plugin and configure it.
*
* source: https://gist.github.com/wspringer/5f404813fc9a306b8c80
**/
var lib = require('bower-files')()
,basename = require('path').basename
,readFileSync = require('fs').readFileSync;
module.exports = function(files, metalsmith, done) {
@renoirb
renoirb / lt.md
Last active August 29, 2015 14:08 — forked from darobin/lt.md