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
#!/usr/bin/env xonsh | |
distro = "trusty" | |
url_nginx = "http://nginx.org/packages/debian/" | |
paquetes_php = [ | |
"php7.2", | |
"php7.2-cgi", | |
"php7.2-cli", | |
"php7.2-curl", | |
"php7.2-dev", |
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
#!/usr/bin/env bash | |
# Post: https://laracasts.com/discuss/channels/tips/tip-how-to-enable-ssl-in-homestead-20 | |
# Populate this array with each of your dev site hostnames. | |
sites_hosts=( app.local ) # array, e.g., www.example.dev | |
# Config for SSL. | |
SSL_DIR="/etc/nginx/ssl" | |
PASSPHRASE="secret" |
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
def base16(arg): | |
# Helpers | |
def s(cmd): | |
return cmd.strip('\n') if type(cmd) is str else cmd | |
def l(cmd): | |
return cmd.split("\n")[:-1] if type(cmd) is str else cmd | |
def all_themes(): | |
for theme in l(s($(ls -1 $BASE16_SHELL/scripts))): |