This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
This Scheduler will run once every minute unlike the Heroku scheduler which only runs every 10 mintues. | |
To use this scheduler with Laravel 5.4+ add this file to /app/Console/Commands/RunScheduler.php | |
Register this file in app/Console/Kernel.php |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#cloud-config | |
package_upgrade: true | |
runcmd: | |
- rpm --import "https://pgp.mit.edu/pks/lookup?op=get&search=0xee6d536cf7dc86e2d7d56f59a178ac6c6238f52e" | |
- yum install -y yum-utils | |
- yum-config-manager --add-repo https://packages.docker.com/1.10/yum/repo/main/centos/7 | |
- yum install -y docker-engine | |
- yum list installed clusterhq-release || yum install -y https://clusterhq-archive.s3.amazonaws.com/centos/clusterhq-release$(rpm -E %dist).noarch.rpm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Based on documentation from Packet.net | |
# https://www.packet.net/help/kb/hardware/how-do-i-configure-an-nvme-flash-drive/ | |
#NVME01N1 Setup | |
parted -a optimal /dev/nvme0n1 mklabel gpt | |
parted -a optimal /dev/nvme0n1 mkpart primary ext4 0% 100% | |
mkfs.ext4 /dev/nvme0n1 |