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
# Update OS | |
# '-y' automatically choose 'Yes' on interactive mode (when being asked to whether install/remove a package) | |
# Updates the package lists that need upgrading, as well as new packages that have just come to the repositories | |
#sudo apt update -y | |
# Force update using IPv4 : | |
sudo apt -o Acquire::ForceIPv4=true -y | |
# List all upgradable packages |
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
# This script assumes your : | |
# | |
# Apache Document Root = "/var/www/html" | |
# (Ubuntu) Username = "johndoe" | |
# name of existing Code Igniter project = "my-ci-website" | |
# path of your Code Igniter project = "/home/johndoe/my-ci-website" | |
# | |
# How to run this script : copy the whole content of this script then execute "sh run-codeigniter-in-ubuntu.sh" in your root directory. |
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 instacheck(name) | |
unless /[a-z0-9._]{,30}/.match(name) | |
return false | |
end | |
if /\.\./.match(name) | |
return false | |
end |
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
version: '3.1' | |
services: | |
joomla: | |
image: joomla | |
restart: always | |
depends_on: | |
- joomla_mysql_db | |
links: | |
- joomla_mysql_db:mysql |
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
version: '3.1' | |
services: | |
# Ghost | |
ghost: | |
image: ghost:4-alpine | |
restart: always | |
depends_on: | |
- mysql_db | |
ports: |
Collections of GraphQL queries and mutations that power your Strapi app!
Explore the docs »