Skip to content

Instantly share code, notes, and snippets.

View chiefy's full-sized avatar
💥

Christopher "Chief" Najewicz chiefy

💥
View GitHub Profile
@chiefy
chiefy / find_related.js
Created May 22, 2014 16:41
Find related properties inside object
@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 / .dockerignore
Last active January 16, 2016 16:59
examples for a blog post
node_modules
.git
@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 / 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 / Dockerfile
Created June 25, 2016 22:28
vault example dockerfile
FROM alpine:latest
ENV \
VAULT_VERSION=0.6.0
RUN \
export VAULT_ZIP=vault_${VAULT_VERSION}_linux_amd64.zip; \
apk update &&\
apk add curl &&\
curl -s https://releases.hashicorp.com/vault/${VAULT_VERSION}/vault_${VAULT_VERSION}_SHA256SUMS | grep linux_amd64 > /tmp/vaultsum &&\
@chiefy
chiefy / test_cgi_args.sh
Created May 11, 2017 00:31
testing cmd.io stuff
#!/bin/bash
user=${1:-chiefy}
hostname=localhost
port=2223
ssh="ssh ${user}@${hostname} -p ${port}"
cmd_name=tester
test_cmd=$(cat <<'EOD'
#!cmd.io alpine bash
#!/bin/bash
@chiefy
chiefy / xrt500.keytable
Created July 18, 2015 18:00
Vizio XRT500 LIRC Keytable
# table: xrt500, type: NEC
0x444 KEY_OK
0x445 KEY_UP
0x446 KEY_DOWN
0x447 KEY_LEFT
0x448 KEY_RIGHT
0x449 KEY_EXIT
0x44a KEY_BACK
0x41c KEY_MENU
@chiefy
chiefy / seven.md
Last active August 9, 2019 22:38
Seven on Seven Notes

General Film Info / Trivia

  • Seven was released in the United States on September 21, 1979, where it premiered in Los Angeles.
  • The only film not actually owned by Writer/Director/Producer Andy Sidaris himself because it was produced by Melvin Simon Productions and released by American International Pictures.
  • There is no credited composer on the film. Writer/Director Andy Sidaris may have possibly used music from ABC's Wide World of Sports vast music library to score the film since Sidaris worked on that show for more than a decade. Even the music tracks aren't credited to specific composers during the end credits.
  • Prior to Directing this film, Andy Sidaris was a Director for ABC Sports starting in the late 60's winning 7 Emmy's for his work during the Olympics in 1968 and 1976. He used the experiences directing on that show for this film because of the style and look of it.
  • There are two versions of this film. One version that was available on the MGM digital cable channel which only r
@chiefy
chiefy / resume.json
Last active August 1, 2020 18:16
Christopher Najewicz's Resume
{
"meta": {
"theme": "spartan"
},
"awards": [
{
"awarder": "SUNY Buffalo Department of Media Studies",
"date": "1999-06-01",
"summary": "Awarded to outstanding digital work",
"title": "SUNY Media Studies Senior Award"