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/bash | |
# | |
# Shell script for install Curl with HTTP2 support. Script run on Ubuntu 16.04, 18.04 or 20.04 | |
# | |
# Notes: | |
# - Ubuntu environment is assumed | |
# - I did run shell script on Ubuntu 18.04 | |
# | |
# Gratitude: |
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/bash | |
# | |
# Shell script for remote deployment. | |
# | |
# Notes: | |
# - Git is assumed | |
# - Composer is assumed | |
# - NPM is assumed | |
# - Windows host and Cygwin environment is assumed |
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
# | |
# Change PHP version easily with aliases | |
# | |
# Install: | |
# - Exec the next command: $cd ~ && touch .bash_aliases && gedit .bash_aliases | |
# - Copy the gist content and save | |
# - Exec the next command: $. .bashrc | |
# | |
# Notes: | |
# - Linux environment is assumed |
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
# Deployer system | |
DEP_APPLICATION="starter-boilerplate" | |
DEP_REPOSITORY="https://github.com/jjpeleato/[name].git" | |
DEP_SLACK_HOOK="https://hooks.slack.com/services/[key]" | |
DEP_DEV_HOSTNAME="" | |
DEP_DEV_PORT=22 | |
DEP_DEV_USER="" | |
DEP_DEV_HTTP_USER="" | |
DEP_DEV_DEPLOY_PATH="" |
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
# Deployer system | |
DEP_APPLICATION="starter-boilerplate" | |
DEP_REPOSITORY="https://github.com/jjpeleato/[name].git" | |
DEP_SLACK_HOOK="https://hooks.slack.com/services/[key]" | |
DEP_DEV_HOSTNAME="" | |
DEP_DEV_PORT=22 | |
DEP_DEV_USER="" | |
DEP_DEV_HTTP_USER="" | |
DEP_DEV_DEPLOY_PATH="" |
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
# See: https://lando.dev/ | |
name: starterboilerplate | |
# See: https://docs.devwithlando.io/tutorials/wordpress.html | |
recipe: wordpress | |
config: | |
php: "7.3" | |
webroot: public | |
database: mariadb | |
xdebug: true |
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/bash | |
# | |
# Disable strict MySQL or MariaDB mode for WordPress. | |
# | |
# Look at: | |
# - Find "$incompatible_modes" variable on "./wp-includes/wp-db.php" | |
# | |
# Notes: | |
# - root user is assumed |
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
[user] | |
name = José J. Peleato Pradel | |
email = jjpeleato@example.com | |
[color] | |
ui = auto | |
[color "branch"] | |
current = yellow bold | |
local = green bold | |
remote = cyan bold | |
[color "diff"] |
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/bash | |
# | |
# Shell script to backup MySQL database. | |
# | |
# Notes: | |
# - MySQL or MariaDB is assumed | |
# - mysqldump is assumed | |
# - gzip is assumed | |
# - UNIX target environment is assumed |
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
# See: https://lando.dev/ | |
name: htmlboilerplate | |
# See: https://docs.devwithlando.io/config/proxy.html | |
proxy: | |
appserver_nginx: | |
- web.htmlboilerplate.lndo.site | |
appserver: | |
- php.htmlboilerplate.lndo.site | |
node: |
NewerOlder