Skip to content

Instantly share code, notes, and snippets.

View tkulick's full-sized avatar
Leading Enterprise Technology at Hamilton Lane

Tory Kulick tkulick

Leading Enterprise Technology at Hamilton Lane
View GitHub Profile
@tkulick
tkulick / test.tmp
Last active August 30, 2017 14:16
Test gist
This is just a test
@tkulick
tkulick / landscape-common
Created August 31, 2017 12:15
landscape-common items for macOS
#####MOTD
#!/bin/sh
cores=$(grep -c ^processor /proc/cpuinfo 2>/dev/null)
[ "$cores" -eq "0" ] && cores=1
threshold="${cores:-1}.0"
if [ $(echo "`cut -f1 -d ' ' /proc/loadavg` < $threshold" | bc) -eq 1 ]; then
echo
echo -n " System information as of "
/bin/date
echo
@tkulick
tkulick / timecapsule.md
Last active October 26, 2017 00:58
Time Capsule Mounting

For /etc/fstab

#Time Capsule //192.168.1.112/Data/Media /mnt/Video cifs password=XXXXXX,uid=1000,sec=ntlm,vers=1.0,user 0 0

Keybase proof

I hereby claim:

  • I am tkulick on github.
  • I am tkulick (https://keybase.io/tkulick) on keybase.
  • I have a public key ASALR-PU7g9TJiPJrns7nFmIU3FHSyjXVaJhEZijvhAGXgo

To claim this, I am signing this object:

@tkulick
tkulick / ptero.sh
Created July 8, 2018 00:41
Pterodactyl Automation
# If the game can be managed via Pterodactyl; install and run it!
# https://docs.pterodactyl.io/docs/downloading
if [ "$GAMESERVER" == "mcserver" ]
then
add-apt-repository -y ppa:ondrej/php
add-apt-repository -y ppa:chris-lea/redis-server
curl -sS https://downloads.mariadb.com/MariaDB/mariadb_repo_setup | sudo bash
apt update
apt -q -y install php7.2 php7.2-cli php7.2-gd php7.2-mysql php7.2-pdo php7.2-mbstring php7.2-tokenizer php7.2-bcmath php7.2-xml php7.2-fpm php7.2-curl php7.2-zip mariadb-server nginx curl tar unzip git redis-server
mkdir -p /var/www/pterodactyl