##Install Xcode command line tools
Xcode>Preferences>Downloads
Enable root if not already enabled: http://support.apple.com/kb/PH11331?viewlocale=en_US
##Apache
Apache is already installed, just not running.
//Add these lines to Cashier's Concerns/ManagesPaymentMethods.php | |
use Stripe\PaymentIntent as StripePaymentIntent; | |
... | |
public function createPaymentIntent(array $options = []) | |
{ | |
return StripePaymentIntent::create( |
From http://coolestguidesontheplanet.com/set-virtual-hosts-apache-mac-osx-10-9-mavericks-osx-10-8-mountain-lion/ | |
sudo nano /etc/apache2/httpd.conf | |
Uncomment | |
Include /private/etc/apache2/extra/httpd-vhosts.conf | |
sudo nano /etc/apache2/extra/httpd-vhosts.conf | |
Make your changes and save |
function roll() { | |
return Math.floor((Math.random()*6)+1); | |
} | |
function turn(curPos) { | |
var newPos = curPos+roll(); //get new position | |
if(newPos>100) return 100; //Win! | |
switch(newPos) { //apply chutes or ladders |
##Install Xcode command line tools
Xcode>Preferences>Downloads
Enable root if not already enabled: http://support.apple.com/kb/PH11331?viewlocale=en_US
##Apache
Apache is already installed, just not running.