Skip to content

Instantly share code, notes, and snippets.

View chiefy's full-sized avatar
💥

Christopher "Chief" Najewicz chiefy

💥
View GitHub Profile
@chiefy
chiefy / index.js
Last active February 8, 2016 20:25
weird seneca thing
var seneca = require('seneca')();
seneca
.use('plugin')
.add({role: 'plugin', name: 'poop'}, function onPoop(msg, respond) {
respond(null, {message: 'this is not from plugin poop!'});
});
seneca.act({role: 'plugin', name: 'poop'}, console.log);
@chiefy
chiefy / wercker.yml
Created February 3, 2016 17:36
wercker
dev:
box:
id: quay.io/oddnetworks/alpine-nodejs-builder
tag: 4.2.6
registry: https://quay.io
services:
- elasticsearch
steps:
@chiefy
chiefy / .dockerignore
Last active January 16, 2016 16:59
examples for a blog post
node_modules
.git
@chiefy
chiefy / github_buttons.rb
Last active August 29, 2015 14:03
Jekyll tag plugin for creating GitHub style social buttons: https://github.com/ntkme/github-buttons
# Jekyll tags to support GitHub buttons on your site
#
# For more info: https://github.com/ntkme/github-buttons
#
# Installation:
# 1. Copy this gist to Jekyll's `_plugins` folder
# 2. Include the following script tag in your default template:
# <script async defer id="github-bjs" src="//buttons.github.io/buttons.js"></script>
#
# Usage:
@chiefy
chiefy / find_related.js
Created May 22, 2014 16:41
Find related properties inside object