Skip to content

Instantly share code, notes, and snippets.

View chris-gillatt's full-sized avatar

Chris Gillatt chris-gillatt

View GitHub Profile
@chris-gillatt
chris-gillatt / ff.sh
Last active May 22, 2024 07:03
Fantasy Football: GSL Chip Checker
#!/bin/bash
entry_ids=("4117721" "3547999" "1773533" "1775906" "7861432" "3591004" "5436691")
for entry_id in "${entry_ids[@]}"; do
response=$(curl -s "https://fantasy.premierleague.com/api/entry/$entry_id/history/")
echo "Entry ID: $entry_id"
chips=$(echo "$response" | jq '.chips')
if [ "$chips" = "[]" ]; then
@chris-gillatt
chris-gillatt / package.sh
Last active May 13, 2024 09:11
package.sh
#!/bin/bash -e
# Brew package script for GitHub Actions
# Author: C Gillatt | https://github.com/chris-gillatt | Provided under the MIT license
# Prefix log output with the name of the script for easy identification.
announce () {
echo "$(basename "$0"): $*"
} # End announce
announce "Starting up @ $(date)"
[/Script/Engine.GameUserSettings]
bUseDesiredScreenHeight=False
[ScalabilityGroups]
sg.ResolutionQuality=100.000000
sg.ViewDistanceQuality=4
sg.AntiAliasingQuality=4
sg.ShadowQuality=3
sg.PostProcessQuality=4
sg.TextureQuality=4
Filename Format
%3 %1 - %4
Playlist Filename Format
%1\%2\playlist
@chris-gillatt
chris-gillatt / Vagrantfile
Created September 10, 2018 16:53
Vagrant file for Windows Server 2012r2 w/RDP port forwarding
Vagrant.configure("2") do |config|
config.vm.box = "opentable/win-2012r2-standard-amd64-nocm"
config.vm.guest = :windows
config.vm.communicator = "winrm"
config.vm.boot_timeout = 600
config.vm.graceful_halt_timeout = 600
# Create a forwarded port mapping which allows access to a specific port
# within the machine from a port on the host machine. In the example below,
@chris-gillatt
chris-gillatt / gist:c7e1eeb47471048039361f16e13f7c6c
Created May 22, 2018 16:15
Create a Kubenetes namespace using a file
in JSON:
{
"kind": "Namespace",
"apiVersion": "v1",
"metadata": {
"name": "test",
"labels": {
"name": "test"
}

Keybase proof

I hereby claim:

  • I am chris-gillatt on github.
  • I am chrisgillatt (https://keybase.io/chrisgillatt) on keybase.
  • I have a public key ASAtZ7b4w252XDVFXhTc3dU-nxoCkYHkPh1KMWtUYUdYGAo

To claim this, I am signing this object:

@chris-gillatt
chris-gillatt / README.md
Last active September 23, 2018 18:33
CS GO Config

Solex's CS:GO Config

This is my CS:GO autoexec config. Feel free to use it as you please.