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."; |