Skip to content

Instantly share code, notes, and snippets.

View mbejda's full-sized avatar
🎯
Focusing

Milos Bejda mbejda

🎯
Focusing
View GitHub Profile
@mbejda
mbejda / espn-api-list.md
Created December 13, 2023 21:13 — forked from nntrn/espn-api-list.md
List of nfl api endpoints from espn

List of NFL API Endpoints

This page has been updated a lot in the past 2 years. Older revisions you might like more than this one:

  • June 2021 - list of endpoints for other sports/leagues (i.e. basketball, baseball, lacrosse, rugby)
  • August 2021 - get historical fantasy league data
  • September 2021 - list of endpoints in plain text
  • May 2023 - collapsed endpoint response examples

Additional Resources

@mbejda
mbejda / states_by_fips.json
Created October 1, 2019 14:16 — forked from eupharis/states_by_fips.json
State FIPS JSON (Abbreviation and Name)
{
"01": {
"abbreviation": "AL",
"name": "Alabama"
},
"02": {
"abbreviation": "AK",
"name": "Alaska"
},
"03": {
@mbejda
mbejda / states_by_fips.json
Created October 1, 2019 14:16 — forked from eupharis/states_by_fips.json
State FIPS JSON (Abbreviation and Name)
{
"01": {
"abbreviation": "AL",
"name": "Alabama"
},
"02": {
"abbreviation": "AK",
"name": "Alaska"
},
"03": {
@mbejda
mbejda / Caddyfile
Created April 15, 2019 01:13 — forked from abiosoft/Caddyfile
Caddy wordpress docker-compose
:80
root /usr/src/wordpress
gzip
fastcgi / wordpress:9000 php
rewrite {
if {path} not_match ^\/wp-admin
to {path} {path}/ /index.php?_url={uri}
}
log stdout
errors stderr
@mbejda
mbejda / install-ruby.sh
Created June 5, 2016 14:25 — forked from lukearmstrong/install-ruby.sh
Install enough to get Ruby and Sass working on RHEL/CentOS
# lol redhat
su
# Install deps
yum install libyaml libyaml-devel openssl libxml2-devel bison libxslt-devel openssl-devel tcl tk libffi tcl-devel tk-devel libffi-devel
# Download Ruby
cd /usr/local/src/
wget http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p392.tar.gz
tar -xvzf ruby-1.9.3-p392.tar.gz
@mbejda
mbejda / nginx.conf
Created March 19, 2016 06:11 — forked from sansmischevia/nginx.conf
nginx http proxy to s3 static websites
##
## This nginx.conf servers as the main config file for webflow reverse proxy
##
## RCS:
## https://gist.github.com/sansmischevia/5617402
##
## Hardening tips:
## http://www.cyberciti.biz/tips/linux-unix-bsd-nginx-webserver-security.html
##
@mbejda
mbejda / gist:fac59b9e43ea20f27351
Last active August 29, 2015 14:25 — forked from frozeman/gist:b3f016de58b04c99cfc3
PhantomJS Async Steps Pattern
var page = new WebPage(), testindex = 0, loadInProgress = false;
page.onConsoleMessage = function(msg) {
console.log(msg);
};
//This sets loadInProgress to true when a form is submitted and the page gets redirected.
page.onNavigationRequested = function() {
loadInProgress = true;
}
page.onLoadStarted = function() {