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:
| #!/bin/bash -e | |
| USER_NAME=user | |
| USER_PASSWORD=$(< /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c${1:-12}) | |
| # Create the non-root user | |
| echo "Creating user '${USER_NAME}'..." | |
| useradd -m -G wheel,adm,cdrom,sudo,dip,plugdev $USER_NAME | |
| # Set user password if provided |
| #!/bin/bash -e | |
| # Define variables | |
| USER_NAME="user" | |
| RDP_PORT=3389 | |
| # Create a new password for the RDP user | |
| USER_PASSWORD=$(< /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c${1:-12}) | |
| # Check for root privileges | |
| if [[ $EUID -ne 0 ]]; then |
| #!/bin/bash | |
| # Script to mount volumes to Macbook from NAS | |
| # Get Network SSID | |
| NETWORK_SSID=$(networksetup -getairportnetwork en0 | awk -F ': ' '{print $2}') && echo "NETWORK: $NETWORK_SSID" | |
| USER=<user> | |
| HOST=<hostname> | |
| # Function to mount volumes on NAS and use Mac Keychain for credentials | |
| # Note - Hostnames are configured via DHCP on DNS host (usually a router) |
| #!/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 |
| #!/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 |
| 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, |
| in JSON: | |
| { | |
| "kind": "Namespace", | |
| "apiVersion": "v1", | |
| "metadata": { | |
| "name": "test", | |
| "labels": { | |
| "name": "test" | |
| } |
I hereby claim:
To claim this, I am signing this object: