Skip to content

Instantly share code, notes, and snippets.

jonatasrenan

Block or report user

Report or block jonatasrenan

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@gistwebdev
gistwebdev / vhost
Last active Mar 12, 2019
Script to create apache2 virtual hosts
View vhost
#!/bin/bash
#
# Display usage info
vhost-usage() {
cat <<"USAGE"
Usage: vhost [OPTIONS] <name>
-h|--help this screen
-pub to create the webhost root in ~/www/name/public/
-url to specify a local address, default is http://name.local
You can’t perform that action at this time.