Require this project in your composer.json file
"sensiolabs/security-checker": "dev-master"
Add the following line to app/start/artisan.php:
| <?php | |
| use Illuminate\Support\Contracts\ArrayableInterface; | |
| use Illuminate\Support\Contracts\JsonableInterface; | |
| class Excel implements ArrayableInterface, JsonableInterface{ | |
| protected $objPHPExcel; | |
| public function __construct($file){ | |
| if($file instanceof \SplFileInfo){ | |
| $filename = $file->getRealPath(); |
| <?php namespace Initr\Services; | |
| use Illuminate\Validation\Factory as LaravelValidator; | |
| abstract class Validator | |
| { | |
| protected $validator; | |
| protected $data = array(); |
| git fetch --all | |
| git reset --hard origin/master | |
| git pull origin master |
| #!/bin/bash | |
| ## Author: Ken Goldfarb <[email protected]> | |
| ## https://github.com/kengoldfarb | |
| ## | |
| ## This script will install Nginx+Pagespeed with PHP-FPM 5.5.x | |
| ## It's testsed working on a stock AWS Ubuntu 13.10 image | |
| ## | |
| ## BONUS: Oh-my-zsh installation included! |
Prereq:
apt-get install zsh
apt-get install git-coreGetting zsh to work in ubuntu is weird, since sh does not understand the source command. So, you do this to install zsh
wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh
| git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit |
A list of Sketch plugins hosted at GitHub, in no particular order.
| sudo apt-get install g++ protobuf-compiler libprotobuf-dev libboost-dev curl m4 wget | |
| #At this point make sure you check to see that 2.0.4 is still the most recent version of RethinkDB! http://rethinkdb.com | |
| wget http://download.rethinkdb.com/dist/rethinkdb-latest.tgz | |
| tar xf rethinkdb-latest.tgz | |
| rm rethinkdb-latest.tgz | |
| cd rethinkdb-* | |
| ./configure --with-system-malloc --allow-fetch | |
| #Export the proper C++ flags for Raspberry Pi 1/2 |
| #!/bin/bash | |
| if [ "$EUID" -ne 0 ] | |
| then echo "Please run as root" | |
| exit | |
| fi | |
| apt-get install pkg-config libmagickwand-dev -y | |
| cd /tmp | |
| wget http://pecl.php.net/get/imagick-3.4.0RC6.tgz | |
| tar xvzf imagick-3.4.0RC6.tgz |