Skip to content

Instantly share code, notes, and snippets.

View wilmoore's full-sized avatar
🦄
Proverbs 3:21

Wil (₩) Moore III wilmoore

🦄
Proverbs 3:21
View GitHub Profile
module.exports = spacify;
/**
* Separate characters in a string with a space.
*
* @param {String} str
* string to transform.
*
* @return {String}
* Space separated string.
@wilmoore
wilmoore / qw.sweet.js
Last active August 29, 2015 13:56
First Attempt at SweetJS macro development.
macro makeString {
case { _ $tok } => {
return [makeValue(#{$tok}[0].token.value, #{here})]
}
}
macro qw {
rule { ($delimited ...) } => { [$(makeString $delimited) (,) ...] }
}
@wilmoore
wilmoore / index.js
Created February 17, 2014 00:40
requirebin sketch
var selectn = require('selectn');
var talk = {
info: { name: 'Go Ahead, Make a Mess' }
};
var talk = selectn('info.name', talk);
console.log(talk);
@wilmoore
wilmoore / dabblet.css
Created March 29, 2014 19:47
CSS3 Border-Radius with Border - Circle Avatars
/**
* CSS3 Border-Radius with Border - Circle Avatars
*/
/* General Styles */
body {
background: url(http://subtlepatterns.com/patterns/white_texture.png);
font: 100 14px sans-serif;
color: #444555; text-shadow: 0 2px white;
@wilmoore
wilmoore / snowcrash.rb
Last active August 29, 2015 14:05
snowcrash.rb
require 'formula'
class Snowcrash < Formula
homepage 'http://apiblueprint.org'
head 'https://github.com/apiaryio/snowcrash.git', :tag => 'v0.12.1'
def install
system "./configure"
system "make", "snowcrash"
bin.install Dir["bin/snowcrash"]
@wilmoore
wilmoore / jasmine-node.rb
Last active August 29, 2015 14:05
jasmine-node
require 'formula'
class JasmineNode < Formula
homepage 'https://github.com/mhevery/jasmine-node'
url 'https://github.com/mhevery/jasmine-node/archive/1.14.5.tar.gz'
sha1 'd4f4776476a114ba6a1d0d368cdb4988d39e4cf0'
depends_on "node"
def install
@wilmoore
wilmoore / homebrew.md
Created August 23, 2014 17:22
Brew doctor isn't always correct and /usr/local is not a panacea
@wilmoore
wilmoore / .gitignore
Last active August 29, 2015 14:05
Bootstrap + Duo Bootstrap (haha)
.DS_Store
node_modules
build
require 'tire'
# Tire.configure { logger STDERR, level: 'debug' }
Tire.index('movie-titles') do
delete
create \
settings: {
index: {
analysis: {
require 'formula'
class ZshNotify < Formula
homepage 'https://github.com/marzocchi/zsh-notify'
head 'https://github.com/marzocchi/zsh-notify.git'
depends_on 'terminal-notifier'
def install
prefix.install Dir['*']