Skip to content

Instantly share code, notes, and snippets.

View FootballFan141's full-sized avatar
👋
Hello!

Travis FootballFan141

👋
Hello!
View GitHub Profile
@FootballFan141
FootballFan141 / XboxGamerScore.js
Created May 18, 2024 02:25 — forked from saiteja09/XboxGamerScore.js
Widget for Yearly Xbox GamerScore Tracking for use with Scriptable app in iOS
let xbox_refreshtoken = null
let xbox_clientid = null
let xbox_clientsecret = null
let xbox_credential_base64 = null
let xbox_authorization = null
let xbox_id = null
let xbox_profileurl = 'https://peoplehub.xboxlive.com/users/me/people/xuids(<xid>)/decoration/detail,preferredColor,presenceDetail,multiplayerSummary'
let xbox_titleHistoryurl = 'https://titlehub.xboxlive.com/users/xuid(<xid>)/titles/titleHistory/decoration/GamePass,TitleHistory,Achievement,Stats'
let xbox_achievementsurl = 'https://achievements.xboxlive.com/users/xuid(<xid>)/achievements?orderBy=UnlockTime&unlockedOnly=true'
const xbox_tokenurl = 'https://login.live.com/oauth20_token.srf'
// Unity C# Cheat Sheet
// I made these examples for students with prior exerience working with C# and Unity.
// Too much? Try Unity's very good tutorials to get up to speed: https://unity3d.com/learn/tutorials/topics/scripting
@FootballFan141
FootballFan141 / fix_openssl_catalina.sh
Created January 24, 2020 23:48 — forked from llbbl/fix_openssl_catalina.sh
fix missing openssl files in catalina
#!/bin/bash
echo 'update brew'
brew update
echo 'upgrade brew'
brew upgrade
@FootballFan141
FootballFan141 / http-get-dos.conf
Created January 18, 2020 22:45 — forked from petarnikolovski/http-get-dos.conf
Fail2ban Configuration
# Fail2Ban configuration file
#
# NOTE
# You should set up in the jail.conf file, the maxretry and findtime carefully in order to avoid false positives.
#
# Author: http://www.go2linux.org
# Modified by: samnicholls.net
# * Mon 6 Jun 2016 - Updated failregex to capture HOST group correctly
[Definition]
@FootballFan141
FootballFan141 / sublimehints.md
Created July 23, 2018 04:00 — forked from tibbon/sublimehints.md
Sublime Hints of the Day

David's Sublime Hints

Hint 1 - Set default indentation to 2 spaces

A tab size of 2 almost always looks better and can fit more on screen

  • Click on Sublime Text -> Preferences -> Settings - User
  • Alter the file to add "tab_size: 2" and save it

Mine looks like the following:

@FootballFan141
FootballFan141 / pagespeed-module.md
Created July 13, 2018 04:13 — forked from harryfinn/pagespeed-module.md
Pagespeed module (Apache) instructions

Using Google Pagespeed module (Apache)

Install

Follow initial install instructions here

Recommended additional modules

Add the following to the bottom (but inside the <IfModule /> block) of /etc/apache2/mods-available/pagespeed.conf