Rename (or delete) existing php binaries
sudo mv /usr/bin/php /usr/bin/php.bak
sudo mv /usr/bin/php-config /usr/bin/php-config.bak
sudo mv /usr/bin/phpize /usr/bin/phpize.bak
Fetch brew taps and install php
| object(Zend\Config\Config)#53 (4) { | |
| ["allowModifications":protected]=> | |
| bool(false) | |
| ["count":protected]=> | |
| int(2) | |
| ["data":protected]=> | |
| array(2) { | |
| ["di"]=> | |
| object(Zend\Config\Config)#54 (4) { | |
| ["allowModifications":protected]=> |
| Drop in replace functions for setTimeout() & setInterval() that | |
| make use of requestAnimationFrame() for performance where available | |
| http://www.joelambert.co.uk | |
| Copyright 2011, Joe Lambert. | |
| Free to use under the MIT license. | |
| http://www.opensource.org/licenses/mit-license.php |
| Drop in replace functions for setTimeout() & setInterval() that | |
| make use of requestAnimationFrame() for performance where available | |
| http://www.joelambert.co.uk | |
| Copyright 2011, Joe Lambert. | |
| Free to use under the MIT license. | |
| http://www.opensource.org/licenses/mit-license.php |
| The $data var in POST (create) returns: | |
| stdClass Object | |
| ( | |
| [field_name] => slide_image | |
| [file_type] => image/jpeg | |
| [file_resize] => {"width":900,"height":700} | |
| [name] => aaa | |
| [caption] => aaa | |
| [slideshow_id] => 53501394499c13a204d63af2 | |
| ) |
| // Taken from: http://stackoverflow.com/questions/20397253/implement-a-delay-on-scope-watch | |
| var timeoutPromise; | |
| var delayInMs = 0; | |
| vm.isEdit = false; | |
| $scope.$watch(function () { | |
| return vm.editId; | |
| }, function (currentValue) { | |
| $timeout.cancel(timeoutPromise); //does nothing, if timeout alrdy done |
| server { | |
| server_name www.theteachableproject.org; | |
| return 301 $scheme://theteachbleproject.org$request_uri; | |
| } | |
| server { | |
| listen 80; | |
| listen 443 ssl; | |
| server_name theteachableproject.org; |
| import { AlreadyAuthenticatedError, NotAuthenticatedError, NotAuthorizedError } from '../errors/functional'; | |
| import createResolver from '../lib/createResolver'; | |
| export const baseResolver = createResolver(); | |
| export const isAuthenticatedResolver = baseResolver.createResolver( | |
| (root, args, context) => { | |
| if (!context.user || !context.user.id) throw new NotAuthenticatedError(); | |
| } |
| <!DOCTYPE html> | |
| <!-- | |
| Created using JS Bin | |
| http://jsbin.com | |
| Copyright (c) 2016 by yelouafi (http://jsbin.com/sodowa/9/edit) | |
| Released under the MIT license: http://jsbin.mit-license.org | |
| --> | |
| <meta name="robots" content="noindex"> |