Skip to content

Instantly share code, notes, and snippets.

@alexgandy
alexgandy / gist:2a83e96a9905423f9de1893865c1d004
Created February 21, 2021 19:13
taming-zell steam script
// AutoTame v2.0
// Written by: a rideable llama (Rewritten cause it was fucking awful by: Zell)
////////////////
if not listexists 'hp'
@createlist 'hp'
endif
@cleartargetqueue
if hits == 100
@removelist 'hp'
@createlist 'hp'
@alexgandy
alexgandy / boot.sh
Last active August 21, 2020 17:48
Quick EC2 Hosted Github Action Runner (Packer/Docker -- Free)
#!/bin/bash -e
cd /home/ubuntu
mkdir actions-runner && cd actions-runner
curl -O -L curl -O -L https://github.com/actions/runner/releases/download/v2.272.0/actions-runner-linux-x64-2.272.0.tar.gz
tar xzf ./actions-runner-linux-x64-2.272.0.tar.gz
INSTANCE_ID=$(wget -q -O - http://169.254.169.254/latest/meta-data/instance-id)
GH_REPO=https://github.com/meetrics-io/*****************
@alexgandy
alexgandy / gist:021d20bb5b4b59be7c142d6b2f848985
Created October 30, 2018 14:01
uorazor herd bulls walk
!Loop
Assistant.Macros.ForAction|12
// send them forward
Assistant.Macros.ForAction|3
Assistant.Macros.DoubleClickTypeAction|3713|True
Assistant.Macros.PauseAction|00:00:00.2500000
Assistant.Macros.TargetTypeAction|True|233
Assistant.Macros.PauseAction|00:00:00.2500000
Assistant.Macros.TargetRelLocAction|0|-9
Assistant.Macros.PauseAction|00:00:00.2500000
!Loop
// heal if under 75
Assistant.Macros.IfAction|0|0|75
Assistant.Macros.MacroCastSpellAction|29
Assistant.Macros.PauseAction|00:00:00.5000000
Assistant.Macros.HotKeyAction|1059|
Assistant.Macros.EndIfAction
// Check for Mobs (clear queue, clear current target, target closest grey monster)
Assistant.Macros.HotKeyAction|1195|
Assistant.Macros.HotKeyAction|1332|
### Keybase proof
I hereby claim:
* I am alexgandy on github.
* I am alexgandy (https://keybase.io/alexgandy) on keybase.
* I have a public key whose fingerprint is 1216 6B05 394F 9B2D E54B 5744 FD60 6085 BA0D 6748
To claim this, I am signing this object:
@alexgandy
alexgandy / slave-setup.sh
Last active December 15, 2015 03:49
Jenkins (Selenium) Setup Script
#!/bin/bash
# Copied from Art.sy : http://artsy.github.com/blog/2012/07/10/on-demand-jenkins-slaves-with-amazon-ec2/
# Set logrotate to keep only one unit (day or week) of each log
for f in /etc/logrotate.d/* /etc/logrotate.conf ; do
sed -i 's/rotate [0-9]*$/rotate 1/' $f
done
# Get selenium standalone
getsrc(){