git checkout -b 'feature-a'
- git commit -m 'working on feature a'
- git commit -m 'working on feature a'
---
- git commit -m 'working on feature b'
- git commit -m 'working on feature b'
- git commit -m 'working on feature b'
---
View Dockerfile
FROM ubuntu:latest | |
RUN apt-get update | |
RUN apt-get -y install software-properties-common python-software-properties | |
RUN apt-get -y --no-install-recommends install \ | |
ca-certificates \ | |
inetutils-ping \ | |
telnet \ | |
curl \ | |
nano \ | |
net-tools \ |
View Dockerfile
ubuntu:latest | |
RUN apt-get update | |
RUN apt-get -y install software-properties-common python-software-properties | |
RUN apt-get -y --no-install-recommends install \ | |
ca-certificates \ | |
inetutils-ping \ | |
telnet \ | |
curl \ | |
nano \ | |
net-tools \ |
View doctrine-perf.php
<?php | |
/** | |
* Class TempRepository | |
*/ | |
class TempRepository extends EntityRepository | |
{ | |
/** | |
* Find a temp entity using the temps ID | |
* | |
* @throws NoResultException|NonUniqueResultException |
View akeeba-jenkins.groovy
node('ampsnet') { | |
stage('backup-att') { | |
dir('/home/akeeba/cli') { | |
try { | |
def statusCode = sh returnStatus: true, script: 'php backup.php --profile=1' | |
} catch(Exception e) { | |
if (statusCode < 2) { | |
currentBuild.result = 'SUCCESS' | |
} | |
} |
View git-cherry-pick-and-revert.md
View git rebase flow
"remote" | |
git branch -v | |
master | |
"local" | |
git branch -v | |
* master | |
feature-a | |
feature-b | |
View joom-nothing.md
Hi Joomla friends
I don't wish to be negative but I do need to point out that leadership has done (from what I can see) very little in 2016 so far.
Now before I get to why that matters, let's first remember where we are at:
-
Joomla World Conference Pandimonium: everyone on leadership is more or less completely occupied by JWC for endless amounts of time. Totally understand the lack of communication because of this.
-
Holidays: November - January is a holiday season. Lots of time away spent with family and loved ones. Totally understandable.
View RequestCriteria.php
<?php | |
namespace App\Criteria; | |
use Illuminate\Database\Eloquent\Model; | |
use Illuminate\Http\Request; | |
use Prettus\Repository\Contracts\RepositoryInterface; | |
use Prettus\Repository\Contracts\CriteriaInterface; | |
/** |
View dave.php
<div class="col-md-12"> | |
<div id="listing-awards"> | |
<?php | |
$medals = new StdClass; | |
$medals->text = '{fabrik view=list id=2 medals___Winery=' . $this->item->id . ' showfilters=0}'; | |
$medalsParams = new JRegistry; | |
JPluginHelper::importPlugin('fabrik'); // <- this should be the name of the plugin. so if its fabrik's content |
View constraint.php
<?php | |
namespace Advanced\Constraint; // before I defined a function phpstorm was saying this was an undefined constant | |
class Constraint | |
{ | |
protected $constraints = array(); | |
public function addConstraint($constrait) | |
{ |
NewerOlder