Once the Homestead vagrant box is installed successfully, we can add phpMyAdmin and config it to run with Nginx.
- SSH into Homestead vagrant box with
vagrant ssh
and type the following command:
sudo apt-get install phpmyadmin
export default { | |
table: { | |
tableWrapper: '', | |
tableHeaderClass: 'mb-0', | |
tableBodyClass: 'mb-0', | |
tableClass: 'table table-bordered table-hover', | |
loadingClass: 'loading', | |
ascendingIcon: 'fa fa-chevron-up', | |
descendingIcon: 'fa fa-chevron-down', | |
ascendingClass: 'sorted-asc', |
bower
by following instruction at bower.iobower
knows where should it keeps downloaded/installed packages
.bowerrc
at the root of project directory with the following content: {
"directory": "vendor/bower_components"
}
This will tell bower
to use vendor/bower_components
as its default directory
.bowerrc
in .gitignore
file// http://jamesroberts.name/blog/2010/02/22/string-functions-for-javascript-trim-to-camel-case-to-dashed-and-to-underscore/ | |
// Trim | |
String.prototype.trim = function(){ | |
return this.replace(/^\s+|\s+$/g, ""); | |
}; | |
// Camel Case | |
String.prototype.toCamel = function(){ | |
return this.replace(/(\-[a-z])/g, function($1){return $1.toUpperCase().replace('-','');}); |
<template> | |
<div class="ui container"> | |
<div class="vuetable-pagination ui basic segment grid"> | |
<vuetable-pagination-info ref="paginationInfoTop" | |
></vuetable-pagination-info> | |
<vuetable-pagination ref="paginationTop" | |
@vuetable-pagination:change-page="onChangePage" | |
></vuetable-pagination> | |
</div> | |
<vuetable ref="vuetable" |
Instead of doing this
$p = new PurchasePodcast;
$p->handle();
This feels better
PurchasePodcast::perform();
Setup
** Do not install Elixir from within Homestead. It will not work! **
Steps
Git Bash
/*! | |
* jQuery lightweight plugin boilerplate | |
* Original author: @ajpiano | |
* Further changes, comments: @addyosmani | |
* Licensed under the MIT license | |
*/ | |
// the semi-colon before the function invocation is a safety | |
// net against concatenated scripts and/or other plugins | |
// that are not closed properly. |
##How to save your Facebook Lookback video #####ratiw (Jan. 1, 2015)
chrome://cache
Open another tab and go to your www.facebook.com/lookback
Select HD quality by clicking at the HD icon on the lower-right of the video and let the video play for a few seconds, then switch back to previous tab (the chrome://cache)
composer create-project laravel/laravel l5-view dev-develop
l5-view
is the project folder name.
serve l5-view.app /home/vagrant/Code/l5-view/public