/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
If Xcode is not installed, you'll be prompted to install it. Go.
*,:after,:before{box-sizing:border-box;margin:0;padding:0}body,html{font-feature-settings:"liga" 1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizelegibility;-webkit-text-size-adjust:100%;background-color:#f7f7f7;font-family:Open Sans,sans-serif;font-size:10px;letter-spacing:0;line-height:1.5}img{display:block;height:auto;max-width:100%;transition:all .2s linear;width:auto}ol,ul{list-style:none}table{border-collapse:collapse;border-spacing:0}tr{border-bottom:1px solid #ccc}td,th{padding:4px;text-align:left}code,kbd,pre,samp{font-family:monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}button{border:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-m |
/* See blog post for details: http://www.suburban-glory.com/blog?page=173 */ | |
;(function(window, document, undefined) { | |
// for browsers without navite bind support | |
if (!Function.prototype.bind) { | |
Function.prototype.bind = function(oThis) { | |
if (typeof this !== "function") { | |
// closest thing possible to the ECMAScript 5 internal IsCallable function | |
throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable"); |
mkdir project-name | |
cd project-name | |
wp core download | |
wp config create --dbname=dbname --dbuser=user --dbpass=pass --dbprefix=pref | |
wp core install --url=example.dev --title=Title --admin-user=username --admin-password=password [email protected] | |
cd wp-content/themes | |
composer create-project roots/sage theme-name | |
npm install | |
yarn && yarn build |
(function () { | |
'use strict'; | |
angular.module('myApp') | |
.controller('SomeCtrl', SomeCtrl); | |
SomeCtrl.$inject = ['$scope', '$http', ' alertService']; | |
function SomeCtrl($scope, $http, alertService) { | |
$http.put('http://some.url/user/44', { |