I hereby claim:
- I am FootballFan141 on github.
- I am footballfan141 (https://keybase.io/footballfan141) on keybase.
- I have a public key whose fingerprint is E3FE 4EB4 E792 1F45 6CA9 0F1C DCA2 31EC 693A 0AFB
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
//Called on a button click in my Main activity file | |
public MainActivity instance; | |
protected void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
instance = getInstance(); | |
//rest of code... | |
} |
Follow initial install instructions here
Add the following to the bottom (but inside the <IfModule />
block) of /etc/apache2/mods-available/pagespeed.conf
# 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] |
#!/bin/bash | |
echo 'update brew' | |
brew update | |
echo 'upgrade brew' | |
brew upgrade |
RewriteCond %{REQUEST_URI} commandline | |
RewriteRule .* / [R=301,L] |
// 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 |
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' |