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
@servers(['production' => 'productionserver', 'local'=> 'vagrant@127.0.0.1 -p 2222']) | |
{{-- Configuration section --}} | |
@setup | |
/* | |
|-------------------------------------------------------------------------- | |
| Git Config | |
|-------------------------------------------------------------------------- | |
| |
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
{ | |
"rules": | |
[{ | |
"class": "TextNodeRule" | |
}, { | |
"class": "PassThroughRule", | |
"selector": "html" | |
}, { | |
"class": "PassThroughRule", | |
"selector": "head" |
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
<?php | |
$protocol = 'https://'; | |
if ( ! isset( $_SERVER['HTTPS'] ) || $_SERVER['HTTPS'] == 'off' ) { | |
$protocol = 'http://'; | |
} | |
return [ | |
'x-content-type-options' => 'nosniff', |
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
#!/bin/bash -e | |
clear | |
echo "============================================" | |
echo "Installing WordPress for you." | |
echo "============================================" | |
#download wordpress | |
echo "Downloading..." | |
curl -O https://wordpress.org/latest.tar.gz |
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
var gulp = require('gulp'); | |
var concat = require('gulp-concat'); | |
var rename = require('gulp-rename'); | |
var sass = require('gulp-sass'); | |
var uglify = require('gulp-uglify'); | |
var cleancss = require('gulp-clean-css'); | |
var imgmin = require('gulp-imagemin'); | |
/** | |
* Styles Task |