Skip to content

Instantly share code, notes, and snippets.

View RnbWd's full-sized avatar

RnbWd RnbWd

View GitHub Profile

Keybase proof

I hereby claim:

  • I am rnbwd on github.
  • I am rnbwd ( on keybase.
  • I have a public key ASDx8CZyUzEpVwNV2UNF1ZCtpvE6ctq2yDoMRsgT7jBMNgo

To claim this, I am signing this object:

RnbWd / Settings-User
Last active August 29, 2015 14:20
Sublime Plugins
/* I'm only listing most important in my main Settings-User, but you can find all potential options in the Settings Default */
/* Turning file indexing off in sublime 3 will prevent it from bringing your computer to a halt for 5 mins (and I have a decent mac) */
"enable_telemetry": "disabled",
"font_size": 16,
"trim_trailing_white_space_on_save": true,
"ensure_newline_at_eof_on_save": true,
"atomic_save": true,
RnbWd / watcher.js
Last active August 29, 2015 14:13
Globby Watcher
var globby = require('globby');
var chokidar = require('chokidar');
var task = require('../');
globby(['glob/glob*.glob'], function (err, paths) {
if (err) return cb(err);
task.files = paths;
RnbWd / clj_js
Created July 16, 2014 06:47
(ns clj_js)
(def ^:export clj-js cljs.core/clj->js)
(defn ^:export js-clj
([x] (cljs.core/js->clj x))
([x keywordize-keys] (cljs.core/js->clj x :keywordize-keys keywordize-keys)))
RnbWd / gulp-ify
Last active August 29, 2015 14:02
gulp.task('gulpify', function() {
//using vinyl-transform lets us use any transforms available to browserify
.on('error', $.util.log)
// converting .jsx/coffee/etc. into a temp folder prior to 'bundling' reduces additional boilerplate later-on
RnbWd / build.js
Last active September 7, 2016 16:28
var gulp = require('gulp');
var $ = require('gulp-load-plugins')();
var config = require('../config.json');
var bundler = require('./bundler');
process.env.APP_ID = config.Client.AppId;
process.env.JS_KEY = config.Client.jsKey;
gulp.task('scripts', function() {
gulp.src('./src/js/init.js', {read: false})
RnbWd / gist:fc6388bf028eb7786660
Last active August 29, 2015 14:01
var $ = require('gulp-load-plugins')();
var reactify = require('reactify');
var envify = require('envify');
var browserify = require('browserify');
var watchify = require('watchify');
//watchify with source maps
gulp.task('watchify', function() {
var w = watchify({entries: ['./src/js/init.jsx'],
RnbWd / index.html
Last active December 25, 2015 13:19
Geometric Triforce Fractal
<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8">
<title>D3 Test</title>
<script src=""></script>
body {
background-color: grey;