I hereby claim:
- I am zymsys on github.
- I am vicm (https://keybase.io/vicm) on keybase.
- I have a public key whose fingerprint is 46A0 F35E 028B 3130 3C52 63EF FA6F 2354 E070 12F5
To claim this, I am signing this object:
#Chrome | |
Version 32.0.1700.102 | |
Google Chrome is up to date. | |
Cache cleared | |
Results in the following error when form is submitted (matching email and a password were filled in). | |
The password I tried was from a password generator: webEkIjyiv - I'll select another when I really sign up. |
I hereby claim:
To claim this, I am signing this object:
Assemble Johnny's dependencies from scratch using composer. | |
Vics-MacBook-Pro:johnnydo vic$ composer init | |
Welcome to the Composer config generator |
This gist assumes that you've followed these instructions to set up your AMP on OS X, and that you're using php-version to change PHP versions as needed.
Note that I have selected the wrong tool for the job with php-version. However once I got this working I wanted to document it in case I want to replicate the config without selecting a more appropriate tool. If you stumble upon this gist and decide to find a better tool for the job I'd appreciate a comment directing myself and others to something better.
Now if you're sure you want to drive a square peg into a round hole, continue reading...
First, modify php-version to run a post version change script when php versions are changed.
$ vi $(brew --prefix php-version)/php-version.sh
I had to run find to figure out where bz2.so was: | |
$ sudo find / -name bz2.so | |
... | |
Should turn something up - I hope. Change the eclipse path below to whatever you find. If you can't find anything you might have to install Zend Studio or figure out another source. Then from the PHP source folder: | |
$ ./configure --enable-mysqlnd --with-gd --enable-mbstring --with-bz2=/Applications/eclipse/plugins/org.zend.php.debug.debugger.macosx_5.3.7.v20091124/resources/php5/ext/ --with-zlib --with-curl --with-curlwrappers | |
$ make |
[ | |
{ | |
"name":"Tanner Young", | |
"phones":[ | |
{ | |
"name": "home", | |
"number": "1-802-826-8704" | |
}, | |
{ | |
"name": "fax", |
<?php | |
class Rectangle | |
{ | |
private $_width; | |
private $_height; | |
public function getWidth() | |
{ | |
return $this->_width; |
<?php | |
class FooControllerConventional | |
{ | |
function indexView() { | |
$model = new FooModel(); | |
$viewData = $model->fetchAll(); | |
$view = new FooView(); | |
$view->render($viewData); | |
} | |
} |
class TrafficLightDisplay | |
def showState(state) | |
puts state == :LIGHT_STATE_RED ? "* RED *" : " red" | |
puts state == :LIGHT_STATE_AMBER ? "* AMBER *" : " amber" | |
puts state == :LIGHT_STATE_GREEN ? "* GREEN *" : " green" | |
puts "---------" | |
end | |
end | |
class TrafficLight |
Template.leaderboard.events = { | |
'click input.inc': function () { | |
Players.update(Session.get("selected_player"), {$inc: {score: 5}}); | |
}, | |
'click #sort': function () { | |
Session.set("sort_by_name", !Session.get("sort_by_name")); | |
} | |
}; |