Skip to content

Instantly share code, notes, and snippets.

View westsouthnight's full-sized avatar
🎯
AWS DevOps Technical Architect

Rostislav Grigoryev westsouthnight

🎯
AWS DevOps Technical Architect
View GitHub Profile
@BerkhanBerkdemir
BerkhanBerkdemir / composer.bash
Created November 19, 2017 20:30
One line composer install to /usr/local/bin
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
@stojg
stojg / consul
Created December 1, 2014 04:51
consul service init script for debian
#!/bin/sh
### BEGIN INIT INFO
# Provides: consul
# Required-Start: $local_fs $remote_fs
# Required-Stop: $local_fs $remote_fs
# Default-Start: 2 3 4 5
# Default-Stop: S 0 1 6
# Short-Description: Consul service discovery framework
# Description: Healthchecks local services and registers
# them in a central consul database.