Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
🍕 breaking infrastructure

Christopher "Chief" Najewicz chiefy

💭
🍕 breaking infrastructure
View GitHub Profile
View streams.json
{
"BBC": "",
"BBC - Radio 1": "http://stream.live.vc.bbcmedia.co.uk/bbc_radio_one",
"BBC - Radio 2": "http://stream.live.vc.bbcmedia.co.uk/bbc_radio_two",
"BBC - Radio 3": "http://stream.live.vc.bbcmedia.co.uk/bbc_radio_three",
"BBC - Radio 4": "http://stream.live.vc.bbcmedia.co.uk/bbc_radio_fourfm",
"BBC - Radio 4 LW": "http://stream.live.vc.bbcmedia.co.uk/bbc_radio_fourlw",
"BBC - Radio 5 live": "http://stream.live.vc.bbcmedia.co.uk/bbc_radio_five_live",
"BBC - Radio 6 Music": "http://stream.live.vc.bbcmedia.co.uk/bbc_6music",
"BBC - Radio 1Xtra": "http://stream.live.vc.bbcmedia.co.uk/bbc_1xtra",
View daddylive.sh
#!/bin/bash
channel=${1}
use_chromecast=${2:-"false"}
player="mpv"
#https://www.eplayer.to/daddylive.php?live=44&vw=100vw&vh=100vh
res=$(curl -kSs \
-H 'referer: https://daddylive.me/' \
View mpd.conf
# An example configuration file for MPD.
# Read the user manual for documentation: http://www.musicpd.org/doc/user/
# Files and directories #######################################################
#
# This setting controls the top directory which MPD will search to discover the
# available audio files and add them to the daemon's online database. This
# setting defaults to the XDG directory, otherwise the music directory will be
# be disabled and audio files will only be accepted over ipc socket (using
@chiefy
chiefy / resume.json
Last active Aug 1, 2020
Christopher Najewicz's Resume
View resume.json
{
"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"
@chiefy
chiefy / seven.md
Last active Aug 9, 2019
Seven on Seven Notes
View seven.md

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 / test_cgi_args.sh
Created May 11, 2017
testing cmd.io stuff
View test_cgi_args.sh
#!/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 / Dockerfile
Created Jun 25, 2016
vault example dockerfile
View 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 &&\
View err.log
09:14:53 npm http GET https://registry.npmjs.org/get-stdin/3.0.2
09:14:53 npm http GET https://registry.npmjs.org/grunt-contrib-concat/0.5.1
09:14:53 npm http GET https://registry.npmjs.org/grunt/0.4.5
09:14:53 npm http GET https://registry.npmjs.org/grunt-contrib-copy/0.7.0
09:14:53 npm http GET https://registry.npmjs.org/grunt-contrib-uglify/0.6.0
09:14:53 npm http GET https://registry.npmjs.org/grunt-contrib-clean/0.6.0
09:14:53 npm http GET https://registry.npmjs.org/grunt-contrib-cssmin/0.12.3
09:14:53 npm http GET https://registry.npmjs.org/grunt-contrib-jshint/0.10.0
09:14:53 npm http GET https://registry.npmjs.org/grunt-img/0.1.8
09:14:53 npm http GET https://registry.npmjs.org/grunt-karma/0.9.0
@chiefy
chiefy / index.js
Last active Feb 8, 2016
weird seneca thing
View index.js
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);