Log in to your Managed Hosting Server via SSH
Add a hidden binary folder in root and add a symlink to a more up-to-date php version
| #!/bin/bash | |
| ## Script start time | |
| START=$(date +%s) | |
| ## Total run time | |
| DURRATION=$((60 * 60 * 24)) | |
| ## Total running time | |
| UPTIME=$(($(date +%s) - $START)) |
| #!/usr/bin/env bash | |
| # http://github.com/w00fz/xdebug-osx | |
| # | |
| # @author Djamil Legato http://github.com/w00fz/xdebug-osx | |
| # @modified Andy Miller - Homebrew/core compatibility | |
| # @license MIT | |
| # @version 1.2 | |
| app="$(basename "$0")" | |
| command="$1" |
###Installing Apache 2.4 + PHP 5.6 + MySQL + SSL on Mac OS X Yosemite This is a TL;DR version of an upcoming blog entry for those who can read bash commands and scripts.
| @mixin quantity-query($selector, $type, $amount, $max: null) { | |
| @if $type == at-least { | |
| #{$selector}:nth-last-child(n+#{$amount}), | |
| #{$selector}:nth-last-child(n+#{$amount}) ~ #{$selector} { @content; } | |
| } @else if $type == at-most { | |
| #{$selector}:nth-last-child(-n+#{$amount}):first-child, | |
| #{$selector}:nth-last-child(-n+#{$amount}):first-child ~ #{$selector} { @content; } | |
| } @else if $type == between { | |
| @if type-of($max) != "number" { | |
| @error "Max value must be a number for quantity-query."; |
| var | |
| argv = require('yargs').argv, // for args parsing | |
| browserSync = require('browser-sync'), | |
| gulp = require('gulp'), | |
| autoprefixer = require('gulp-autoprefixer'), | |
| cache = require('gulp-cache'), | |
| clean = require('gulp-clean'), | |
| concat = require('gulp-concat'), | |
| gzip = require('gulp-gzip'), |
| "bold_folder_labels": true, | |
| "caret_style": "wide", | |
| "default_line_ending": "unix", | |
| "draw_white_space": "all", | |
| "ensure_newline_at_eof_on_save": true, | |
| "fade_fold_buttons": false, | |
| "fallback_encoding": "UTF-8", | |
| "find_selected_text": true, | |
| "font_options": | |
| [ |
| <Directory "/Users/<shortuser>/Sites/"> | |
| Options Indexes MultiViews FollowSymLinks | |
| AllowOverride All | |
| Order allow,deny | |
| Allow from all | |
| </Directory> | |
| DocumentRoot "/Users/<shortuser>/Sites/" | |
| NameVirtualHost *:80 |
| <?php | |
| // Database settings | |
| /* | |
| $databases = array( | |
| 'default' => | |
| array( | |
| 'default' => | |
| array( | |
| 'database' => 'localdatabase', | |
| 'username' => 'root', |