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
"overrides": { | |
"bootstrap": { | |
"main": [ | |
"./scss/bootstrap.scss", | |
"./dist/js/bootstrap.bundle.js", | |
"./scss/font-awesome.scss", | |
"./fonts/*" | |
] | |
}, | |
"font-awesome": { |
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
// ## Globals | |
var argv = require('minimist')(process.argv.slice(2)); | |
var autoprefixer = require('gulp-autoprefixer'); | |
var browserSync = require('browser-sync').create(); | |
var changed = require('gulp-changed'); | |
var concat = require('gulp-concat'); | |
var flatten = require('gulp-flatten'); | |
var gulp = require('gulp'); | |
var gulpif = require('gulp-if'); | |
var imagemin = require('gulp-imagemin'); |
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
➜ ~ composer global require "laravel/installer" | |
Changed current directory to /home/{username}/.config/composer | |
Using version ^2.0 for laravel/installer | |
./composer.json has been created | |
Loading composer repositories with package information | |
Updating dependencies (including require-dev) | |
Package operations: 9 installs, 0 updates, 0 removals | |
- Installing symfony/process (v4.0.8): Downloading (100%) | |
- Installing symfony/filesystem (v4.0.8): Downloading (100%) | |
- Installing symfony/polyfill-mbstring (v1.7.0): Downloading (100%) |
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
DEBUG = 0; | |
function main() { | |
Logger.log(""); | |
//var SETTINGS = new Object(); | |
currentSetting = new Object(); | |
currentSetting.scope = "Account"; |
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
// ## Globals | |
var argv = require('minimist')(process.argv.slice(2)); | |
var autoprefixer = require('gulp-autoprefixer'); | |
var browserSync = require('browser-sync').create(); | |
var changed = require('gulp-changed'); | |
var concat = require('gulp-concat'); | |
var flatten = require('gulp-flatten'); | |
var gulp = require('gulp'); | |
var gulpif = require('gulp-if'); | |
var imagemin = require('gulp-imagemin'); |
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
/* | |
* Metaslider - Flex Slider - Move the carousel only one image at a time. | |
*/ | |
function metaslider_flex_carousel_move($options, $slider_id, $settings) { | |
$options['move'] = 1; | |
return $options; | |
} | |
add_filter('metaslider_flex_slider_parameters', 'metaslider_flex_carousel_move', 11, 3); |
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
--- | |
- name: Sync uploads between environments | |
hosts: web | |
remote_user: "{{ web_user }}" | |
vars: | |
project: "{{ wordpress_sites[site] }}" | |
project_root: "{{ www_root }}/{{ site }}" | |
tasks: |
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
sudo apt-get install virtualbox-ext-pack | |
Reading package lists... Done | |
Building dependency tree | |
Reading state information... Done | |
The following package was automatically installed and is no longer required: | |
libsdl-ttf2.0-0 | |
Use 'sudo apt autoremove' to remove it. | |
The following additional packages will be installed: | |
libgsoap-2.8.49 libvncserver1 virtualbox virtualbox-dkms virtualbox-qt |
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
➜ trellis git:(master) ansible-playbook server.yml -e env=staging | |
[DEPRECATION WARNING]: The use of 'include' for tasks has been deprecated. Use | |
'import_tasks' for static inclusions or 'include_tasks' for dynamic inclusions. | |
This feature will be removed in a future release. Deprecation warnings can be | |
disabled by setting deprecation_warnings=False in ansible.cfg. | |
PLAY [Ensure necessary variables are defined] ********************************** | |
TASK [Ensure environment is defined] ******************************************* | |
skipping: [localhost] |
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
➜ trellis git:(master) ✗ ansible-playbook server.yml -e env=staging -vvvv | |
ansible-playbook 2.4.0.0 | |
config file = /Users/s3w47m88/Sites/thewaitstaffteam.com/trellis/ansible.cfg | |
configured module search path = [u'/Users/s3w47m88/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] | |
ansible python module location = /Library/Python/2.7/site-packages/ansible | |
executable location = /usr/local/bin/ansible-playbook | |
python version = 2.7.10 (default, Feb 7 2017, 00:08:15) [GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.34)] | |
Using /Users/s3w47m88/Sites/thewaitstaffteam.com/trellis/ansible.cfg as config file | |
setting up inventory plugins | |
Parsed /Users/s3w47m88/Sites/thewaitstaffteam.com/trellis/hosts/development inventory source with ini plugin |