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
Today, Apple added a beautiful new package to their official developer tools suite: Command Line Tools for Xcode. It's a 171 MB download that includes all of the tools a Homebrew should ever need. Best of all, it contains the proprietary headers that I couldn't ship myself. | |
You can download and try it out today. All you need is a free Apple ID. | |
You'll want to uninstall Xcode first: | |
$ sudo /Developer/Library/uninstall-devtools --mode=all | |
Major props to Apple for making this happen. | |
follow rest of instructions here http://www.rabblemedia.net/installing-nginx-php-fpm-and-mysql-drupal-osx-lion-homebrew |
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
<table class="table table-striped table-borderless table-vcenter" style="table-layout:fixed;"> | |
<tbody> | |
<?php foreach ($cartData as $id => $item) : ?> | |
<?php $hash = 'post_' . hash('md5', $id); ?> | |
<tr> | |
<form name="<?= $hash ?>" action="cart.php" method="POST"> | |
<input type="hidden" value="<?= $id ?>" name="id" /> | |
<input type="hidden" value="remove" name="action" /> | |
</form> | |
<td class="col-md-1 text-center"> |
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
<html> | |
<head> | |
<style type="text/css"> | |
body{ | |
overflow:hidden; | |
} | |
#flipbook{ | |
width:400px; | |
height:300px; |
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
<html> | |
<head> | |
<style type="text/css"> | |
body{ | |
overflow:hidden; | |
} | |
#droparea { | |
width:200px; | |
height:200px; |
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
<div class="stopandrespond" style="text-align:center;background-color:#b0c4de;border:1px solid black;"> | |
<strong><font color="red">Stop and do this now.</font></strong> | |
<br /> | |
If this step doesn't work for you,<a href="#respond">Tell Us!</a> | |
</div> |
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
<?php | |
... | |
/** | |
* HTTP POST handler | |
* | |
* @return void|\Cake\Network\Response | |
*/ | |
protected function _post() |
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
<?php | |
namespace App\Exception; | |
use Cake\Core\Exception\Exception; | |
class InvalidAuthenticationException extends Exception | |
{}; |
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
<?php | |
class AclGrantDenyShell extends AppShell { | |
/** | |
* Contains instance of AclComponent | |
* | |
* @var permissions | |
*/ |