-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e92662c
commit 39eaeaa
Showing
35 changed files
with
8,575 additions
and
17 deletions.
There are no files selected for viewing
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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/usr/local/etc/php/7.2 |
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 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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
#!/bin/bash | ||
# | ||
# Restarts Apache. | ||
# | ||
# Copyright: Copyright (C) 2018 Justin Hartman <[email protected]> (https://justin.hartman.me) | ||
# Author : Justin Hartman <[email protected]> (https://justin.hartman.me) | ||
# License : https://opensource.org/licenses/AGPL-3.0 AGPL-3.0 | ||
# Version : 0.5.1 | ||
# Link : https://github.com/22digital/Automated-LAMP-trusted-localhost-SSL | ||
# Link : https://justin.hartman.me | ||
# Since : 0.4.0 | ||
# | ||
# This program is free software: you can redistribute it and/or modify | ||
# it under the terms of the GNU Affero General Public License as | ||
# published by the Free Software Foundation, either version 3 of the | ||
# License, or (at your option) any later version. | ||
# | ||
# This program is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU Affero General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU Affero General Public License | ||
# along with this program. If not, see <https://www.gnu.org/licenses/>. | ||
# | ||
|
||
####################################### | ||
# Restart Apache. | ||
# Globals: | ||
# None | ||
# Arguments: | ||
# None | ||
# Returns: | ||
# String Success message. | ||
####################################### | ||
restart_apache () | ||
{ | ||
printf "${RED}%s\\n" "$TOP" | ||
printf "* %-76s %s\\n" "Restarting Apache 2." "*" | ||
printf "%s${NOC}\\n\\n" "$BOTTOM" | ||
apachectl restart | ||
echo -e "\\n${GRN}\\xE2\\x9C\\x94${NOC} ${CYA}Successfully restarted Apache 2.${NOC}\\n" | ||
} | ||
|
||
# Output the method | ||
restart_apache |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# editorconfig.org | ||
|
||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
indent_size = 2 | ||
indent_style = space | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,194 @@ | ||
## GITATTRIBUTES FOR WEB PROJECTS | ||
# | ||
# These settings are for any web project. | ||
# | ||
# Details per file setting: | ||
# text These files should be normalized (i.e. convert CRLF to LF). | ||
# binary These files are binary and should be left untouched. | ||
# | ||
# Note that binary is a macro for -text -diff. | ||
###################################################################### | ||
|
||
## AUTO-DETECT | ||
## Handle line endings automatically for files detected as | ||
## text and leave all files detected as binary untouched. | ||
## This will handle all files NOT defined below. | ||
* text=auto | ||
|
||
## SOURCE CODE | ||
*.bat text eol=crlf | ||
*.coffee text | ||
*.css text | ||
*.htm text | ||
*.html text | ||
*.inc text | ||
*.ini text | ||
*.js text | ||
*.json text | ||
*.jsx text | ||
*.less text | ||
*.od text | ||
*.onlydata text | ||
*.php text | ||
*.pl text | ||
*.py text | ||
*.rb text | ||
*.sass text | ||
*.scm text | ||
*.scss text | ||
*.sh text eol=lf | ||
*.sql text | ||
*.styl text | ||
*.tag text | ||
*.ts text | ||
*.tsx text | ||
*.xml text | ||
*.xhtml text | ||
|
||
## DOCKER | ||
*.dockerignore text | ||
Dockerfile text | ||
|
||
## DOCUMENTATION | ||
*.markdown text | ||
*.md text | ||
*.mdwn text | ||
*.mdown text | ||
*.mkd text | ||
*.mkdn text | ||
*.mdtxt text | ||
*.mdtext text | ||
*.txt text | ||
AUTHORS text | ||
CHANGELOG text | ||
CHANGES text | ||
CONTRIBUTING text | ||
COPYING text | ||
copyright text | ||
*COPYRIGHT* text | ||
INSTALL text | ||
license text | ||
LICENSE text | ||
NEWS text | ||
readme text | ||
*README* text | ||
TODO text | ||
|
||
## TEMPLATES | ||
*.dot text | ||
*.ejs text | ||
*.haml text | ||
*.handlebars text | ||
*.hbs text | ||
*.hbt text | ||
*.jade text | ||
*.latte text | ||
*.mustache text | ||
*.njk text | ||
*.phtml text | ||
*.tmpl text | ||
*.tpl text | ||
*.twig text | ||
|
||
## LINTERS | ||
.babelrc text | ||
.csslintrc text | ||
.eslintrc text | ||
.htmlhintrc text | ||
.jscsrc text | ||
.jshintrc text | ||
.jshintignore text | ||
.prettierrc text | ||
.stylelintrc text | ||
|
||
## CONFIGS | ||
*.bowerrc text | ||
*.cnf text | ||
*.conf text | ||
*.config text | ||
.browserslistrc text | ||
.editorconfig text | ||
.gitattributes text | ||
.gitconfig text | ||
.gitignore text | ||
.htaccess text | ||
*.npmignore text | ||
*.yaml text | ||
*.yml text | ||
browserslist text | ||
Makefile text | ||
makefile text | ||
|
||
## HEROKU | ||
Procfile text | ||
.slugignore text | ||
|
||
## GRAPHICS | ||
*.ai binary | ||
*.bmp binary | ||
*.eps binary | ||
*.gif binary | ||
*.ico binary | ||
*.jng binary | ||
*.jp2 binary | ||
*.jpg binary | ||
*.jpeg binary | ||
*.jpx binary | ||
*.jxr binary | ||
*.pdf binary | ||
*.png binary | ||
*.psb binary | ||
*.psd binary | ||
*.svg text | ||
*.svgz binary | ||
*.tif binary | ||
*.tiff binary | ||
*.wbmp binary | ||
*.webp binary | ||
|
||
## AUDIO | ||
*.kar binary | ||
*.m4a binary | ||
*.mid binary | ||
*.midi binary | ||
*.mp3 binary | ||
*.ogg binary | ||
*.ra binary | ||
|
||
## VIDEO | ||
*.3gpp binary | ||
*.3gp binary | ||
*.as binary | ||
*.asf binary | ||
*.asx binary | ||
*.fla binary | ||
*.flv binary | ||
*.m4v binary | ||
*.mng binary | ||
*.mov binary | ||
*.mp4 binary | ||
*.mpeg binary | ||
*.mpg binary | ||
*.ogv binary | ||
*.swc binary | ||
*.swf binary | ||
*.webm binary | ||
|
||
## ARCHIVES | ||
*.7z binary | ||
*.gz binary | ||
*.jar binary | ||
*.rar binary | ||
*.tar binary | ||
*.zip binary | ||
|
||
## FONTS | ||
*.ttf binary | ||
*.eot binary | ||
*.otf binary | ||
*.woff binary | ||
*.woff2 binary | ||
|
||
## EXECUTABLES | ||
*.exe binary | ||
*.pyc binary |
Oops, something went wrong.