environment-purpose-Name-Geography
dev
- Developmenttst
- Testingstg
- Stagingprd
- Production
{{-- | |
This makes a great "partial" to add to your template layout file. It will self manage your | |
notifications so you do not need to worry about displaying them. Simply just add notifications | |
using LaraFlash (Laravel Package) in your controllers, and they will display intelligently | |
and elegantly into your views. | |
Simply use an @include statement in your main template/layout file to this partial so that | |
this partial is included with every view. The rest can be set once and forgotten. | |
Requirements: |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> | |
<title>Laravel Blog</title> |
<?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"/> |
/* | |
* 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 |
[ | |
"a", | |
"aa", | |
"about", | |
"abuse", | |
"access", | |
"account", | |
"accounts", | |
"ad", | |
"admin", |
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 | |
*/ |
<?php | |
if (!function_exists('timezoneArray')) { | |
/** | |
* description | |
* | |
* @param | |
* @return | |
*/ |
var gulp = require('gulp'); | |
var sass = require('gulp-sass'); | |
var browserSync = require('browser-sync').create(); | |
// Compile Sass + refresh browser sync | |
gulp.task('styles', function() { | |
return gulp.src('./sass/**/*.scss') | |
.pipe(sass().on('error', sass.logError)) | |
.pipe(gulp.dest('./css')) | |
.pipe(browserSync.stream()); |