Skip to content

Instantly share code, notes, and snippets.

View chiefy's full-sized avatar
💥

Christopher "Chief" Najewicz chiefy

💥
View GitHub Profile
#!/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 / 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",
@chiefy
chiefy / keybase.md
Last active August 5, 2021 13:31
keybase proof

Keybase proof

I hereby claim:

  • I am chiefy on github.
  • I am chiefobeef (https://keybase.io/chiefobeef) on keybase.
  • I have a public key ASBcOiWs8mKTQQ62oBoaG62amQOVTLyZYIPnFyrrUaMCkQo

To claim this, I am signing this object:

@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 / 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 / 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 &&\