Skip to content

Instantly share code, notes, and snippets.

View chiefy's full-sized avatar
💥

Christopher "Chief" Najewicz chiefy

💥
View GitHub Profile
@chiefy
chiefy / streamdetector-vlc-chromecast.sh
Last active July 3, 2023 18:11
nhlbite and the stream detector script
#!/usr/bin/env bash
#
# This script is a proxy streamer for most of those :cough: sports sites
#
# You'll need:
# * the stream detector Firefox extension (https://addons.mozilla.org/en-US/firefox/addon/hls-stream-detector/)
# * VLC
# * streamlink (https://streamlink.github.io/install.html)
# * bash (linux/osx)
@chiefy
chiefy / streams.json
Created October 7, 2021 13:25
pifi stations
{
"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",
#!/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/' \
@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"
@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 / 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 / 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 / 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: