environment-purpose-Name-Geography
dev
- Developmenttst
- Testingstg
- Stagingprd
- Production
git branch -D `git branch | grep 'ard_*'` |
# The file that does the voodoo magic | |
# Inspired by: | |
# - https://stackoverflow.com/questions/35869985/datetime-datetime-is-not-json-serializable | |
# - https://gist.github.com/jeffbrl/67eed588f2d32afcaf3bf779bd91f7a7 | |
import json | |
import datetime | |
def pretty_print(data): | |
print(json.dumps(data, default=__datetime_handler, indent=4)) |
# | |
# REQUIRES: | |
# - server (the forge server instance) | |
# - event (the forge event instance) | |
# - sudo_password (random password for sudo) | |
# - db_password (random password for database user) | |
# - callback (the callback URL) | |
# |
/* | |
* This script will look for all images on a page and prevent right clicking on an image. | |
*/ | |
const images = document.getElementsByTagName('img'); | |
for(var i = 0; i < images.length; i++) { | |
images[i].addEventListener('contextmenu', event => event.preventDefault()); | |
} | |
// Note: I threw this script together as requested by a subscriber. I personally don't recommend doing |
$mobile: 768px !default; | |
$tablet: 769px !default; | |
$desktop: 1024px !default; | |
$widescreen: 1216px !default; | |
$fullhd: 1408px !default; | |
// Mobile Devices Only | |
// (0 - 768px) | |
@mixin mobile { | |
@media only screen and (max-width: $mobile) { |
# FORGE CONFIG (DO NOT REMOVE!) | |
include forge-conf/cms.jacurtis.com/before/*; | |
server { | |
root /home/forge/cms.jacurtis.com/public; | |
index index.php index.html index.htm; | |
server_name cms.jacurtis.com; | |
# FORGE SSL (DO NOT REMOVE!) | |
# ssl_certificate; |
<?xml version="1.0"?> | |
<ruleset name="Laravel Standards"> | |
<description>Laravel Coding Standards</description> | |
<rule ref="Generic.Classes.DuplicateClassName"/> | |
<rule ref="Generic.CodeAnalysis.EmptyStatement"/> | |
<rule ref="Generic.CodeAnalysis.ForLoopShouldBeWhileLoop"/> | |
<rule ref="Generic.CodeAnalysis.JumbledIncrementer"/> | |
<rule ref="Generic.CodeAnalysis.UnconditionalIfStatement"/> |
CREATE DATABASE <database_name> CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci; |
/* | |
* Your Stylesheet | |
* | |
* This stylesheet is loaded when Atom starts up and is reloaded automatically | |
* when it is changed and saved. | |
* | |
* Add your own CSS or Less to fully customize Atom. | |
* If you are unfamiliar with Less, you can read more about it here: | |
* http://lesscss.org | |
*/ |