Add hostname to bootstrap/start.php:
'local' => array('homestead', 'Bens-MacBook-Pro.local'),
Install Dotenv:
"require": {
| # If you need HomeBrew | |
| /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
| # Install Yarn | |
| brew install yarn | |
| # Install Hugo | |
| brew install hugo | |
| # Sublime command line shortcut |
| #!/usr/bin/osascript | |
| # AppleScript to automatically compile Cordova and open the Safari debugger | |
| set maxWait to 20 | |
| set hasClicked to false | |
| set x to 0 | |
| set device_name to "Simulator" | |
| # delay fix for yosemite |
| #!/usr/bin/osascript | |
| # AppleScript to automatically compile Cordova and open the Safari debugger | |
| set maxWait to 20 | |
| set hasClicked to false | |
| set x to 0 | |
| set device_name to "iOS Simulator" | |
| # delay fix for yosemite |
| Index: pretty-pinterest-pins.php | |
| =================================================================== | |
| --- pretty-pinterest-pins.php (revision 1172836) | |
| +++ pretty-pinterest-pins.php (working copy) | |
| @@ -4,7 +4,7 @@ | |
| * @version 1.3 | |
| */ | |
| /* | |
| -Plugin Name: Pretty Pinterest Pins | |
| +Plugin Name: Pretty Pinterest Pins Custom |
Add hostname to bootstrap/start.php:
'local' => array('homestead', 'Bens-MacBook-Pro.local'),
Install Dotenv:
"require": {
Add bootstrapper to composer.json and follow setup instructions and documentation
"require": {
"patricktalmadge/bootstrapper": "dev-develop"
}
Add to app/config/app.php providers:
In app/config/database.php:
'log'=>$_ENV['DB_LOGGING'],In .env
DB_LOGGING=1| <?php echo 'whoim = '.exec('/usr/bin/whoami'); |
| #!/usr/bin/perl | |
| my $id = (getpwuid($<))[0]; | |
| print "Content-type: text/html\n\n"; | |
| print "<html><body>"; | |
| print qq($id\n); | |
| print "</body></html>"; |
| GIT_PROMPT_ONLY_IN_REPO=0 | |
| source /etc/skel/.bash-git-prompt/gitprompt.sh | |
| alias ls='ls -lah' | |
| shopt -s dotglob |