- We've got some components
A,BandCwhich provide different slots.const A = { template: `<div><slot name="a">Default A Content</slot></div>` }
const B = {
| ____Artists____ | |||
|---|---|---|---|
| Aaron Horkey | style of Aaron Horkey | ||
| Abbott Handerson Thayer | style of Abbott Handerson Thayer | ||
| Abigail Larson | style of Abigail Larson | ||
| Adam Hughes | style of Adam Hughes | ||
| Adrian Ghenie | style of Adrian Ghenie | ||
| Adrian Tomine | style of Adrian Tomine | ||
| Adrianus Eversen | style of Adrianus Eversen | ||
| Agnes Cecile | style of Agnes Cecile | ||
| Agostino Arrivabene | style of Agostino Arrivabene |
| # FORGE CONFIG (DO NOT REMOVE!) | |
| include forge-conf/<your-site>/before/*; | |
| map $sent_http_content_type $expires { | |
| "text/html" epoch; | |
| "text/html; charset=utf-8" epoch; | |
| default off; | |
| } | |
| server { |
While you have $timestamp = true; inherited from Model, you can disable touching updated_at timestamp by explicitly assigning 'timestamp' => false in the attributes.
MyModel::first()->update(
[
'name' => 'Justin',
'timestamp' => false
]
);| #!/usr/bin/env bash | |
| # If you would like to do some extra provisioning you may | |
| # add any commands you wish to this file and they will | |
| # be run after the Homestead machine is provisioned. | |
| wanted_packages="php7.0-intl"; | |
| ################################################################################ | |
| # General |
| # Format terminal prompt | |
| function __format_ps1() { | |
| local cursor_position | |
| echo -en '\033[6n' | |
| IFS=';' read -s -d R -a cursor_position | |
| (( cursor_position[1] > 1 )) && PS1='\n' || PS1='' | |
| export PS1+='\[$(tput bold)\]+[\[$(tput sgr0)\]\W\[$(tput bold)\]]: \u\[$(tput sgr0)\]\$ ' | |
| } | |
| export PROMPT_COMMAND=__format_ps1 |
| <?php | |
| /** | |
| * Xml to associated array without Attributes fields. Credit to 'hakre': | |
| * @url http://stackoverflow.com/a/15849257/4520373 | |
| * | |
| * @param \SimpleXMLElement $parent | |
| * | |
| * @return array | |
| */ | |
| function recursiveSimpleXmlToArray(\SimpleXMLElement $parent) |
| #!/usr/bin/env bash | |
| diskutil umount "Install OS X Yosemite" | |
| diskutil umount "System Clone" | |
| exit |