ESPN's hidden API endpoints
Latest News: http://site.api.espn.com/apis/site/v2/sports/football/college-football/news
Latest Scores: http://site.api.espn.com/apis/site/v2/sports/football/college-football/scoreboard
{ | |
"compilerOptions": { | |
"preserveConstEnums": true, | |
"strictNullChecks": true, | |
"sourceMap": true, | |
"allowJs": true, | |
"target": "es5", | |
"outDir": ".build", | |
"moduleResolution": "node", | |
"lib": ["es2015"], |
Latest News: http://site.api.espn.com/apis/site/v2/sports/football/college-football/news
Latest Scores: http://site.api.espn.com/apis/site/v2/sports/football/college-football/scoreboard
#!/bin/bash -l | |
export DOTFILES_DIR='/Users/Eric/dotfiles' | |
export IN_PROCESS_FILE='__Gathering_Installed_Packages_____It_takes_a_minute' | |
# create status file so we know the process is running | |
touch $DOTFILES_DIR/$IN_PROCESS_FILE | |
# List npm globally installed packages | |
/usr/local/bin/npm ls -g --parseable --depth=0 | awk '{gsub(/\/.*\//,"",$1); print}' | sort -u > $DOTFILES_DIR/npm.list.txt |
# Requirements: | |
# homebrew - http://brew.sh/ | |
# brew bundle - https://github.com/Homebrew/homebrew-bundle | |
# cask - https://caskroom.github.io/ (installed automatically) | |
# mas-cli - https://github.com/argon/mas | |
cask_args appdir: '/Applications' | |
tap 'caskroom/cask' | |
tap 'caskroom/versions' | |
tap 'caskroom/fonts' |
export PATH=$PATH:~/.local/bin |
# @gf3’s Sexy Bash Prompt, inspired by “Extravagant Zsh Prompt” | |
# Shamelessly copied from https://github.com/gf3/dotfiles | |
# https://www.tecmint.com/customize-bash-colors-terminal-prompt-linux/ | |
default_username='unknown' | |
OSNAME="HypriotOS: " | |
PROMPTCHAR='' |
# @gf3’s Sexy Bash Prompt, inspired by “Extravagant Zsh Prompt” | |
# Shamelessly copied from https://github.com/gf3/dotfiles | |
default_username='unknown' | |
OSNAME="HypriotOS: " | |
PROMPTCHAR='' | |
# determine OS type | |
if [ "$(uname -s)" = Darwin ]; then | |
OSNAME="OSX: " |
# ------------------------------------ | |
# Exports and aliases | |
# ------------------------------------ | |
export CONTAINERS_HOME=$HOME/containers | |
export CONTAINER_HOME=$CONTAINERS_HOME | |
export JQ_EXPR_UNIQUE_DOCKER_COMPOSE_RELATIVE_PATH_VOLUMES='with_entries(.value |= .volumes) | to_entries | map(.value) | flatten | map (. | try split(":")) | map(.[0] ) | map(. | select(. | startswith("/") | not)) | unique | .[]' |
alias rehash="source ~/.bashrc" | |
# ------------------------------------ | |
# Docker alias and function | |
# ------------------------------------ | |
# Get latest container ID | |
alias dl="docker ps -l -q" |
function fixssh() { | |
sed -i '' "$1d" $HOME/.ssh/known_hosts | |
} | |
# set container debug port in package.json | |
function set.container.debug.port () { | |
echo "Setting container port" | |
$BIN/container_debug_port_script package.json |