Skip to content

Instantly share code, notes, and snippets.

Rob Shipley shipleyr

Block or report user

Report or block shipleyr

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@shipleyr
shipleyr / flexbox.less
Created Mar 11, 2015
Can't remember exactly where I got the basic flexbox.less file from but I added new style definitions to it to cover everything I need.
View flexbox.less
// display: inline-flex //
// applies to flex container
.inline-flexbox() {
// 2009 spec
display: -webkit-box;
display: -moz-box;
display: -ms-box;
display: -o-box;
display: box;
View viewhelpers.config.php
//===========================================
// Gives a can't use return value in write context error
isset($vhm->getServiceLocator()->get('Config')['somevalue']);
//===========================================
// Is this not wasteful?
$config = $vhm->getServiceLocator()->get('Config');
View Edit.php
...
...
$this->add(
array(
'name' => 'date',
'type' => 'datetime',
'options' => array(
'format' => 'd/m/Y H:i:s',
'label' => 'Date (format: dd/mm/yyyy hh:mm:ss)',
),
You can’t perform that action at this time.