Hi there!
The docker cheat sheet has moved to a Github project under https://github.com/wsargent/docker-cheat-sheet.
Please click on the link above to go to the cheat sheet.
Hi there!
The docker cheat sheet has moved to a Github project under https://github.com/wsargent/docker-cheat-sheet.
Please click on the link above to go to the cheat sheet.
| # This can be added to your cron job to run right after Drupal's cron or combine them into a single command so | |
| # that it automatically executes when the cron run completes. | |
| wget -q http://www.example.com/sitemap.xml -O - | egrep -o "http://www\.example\.com[^<]+" | wget -q -i - -O /dev/null --wait 1 |
You don't have to be a slave to OS X! Here's a guide to a sane dual-booting setup with Ubuntu 12.10 on your shiny MacBook Air. This is written and tested for a MacBook Air 5,2 (Mid 2012), but likely works the same with any modern Macbook.
Install according to instructions at this URL:
| #!/usr/bin/php | |
| <?php | |
| $repos = array(); | |
| exec('find . -type d -name .git | sed -e "s/\.git//"', $repos); | |
| foreach ($repos as $repo) { | |
| $status = shell_exec("cd $repo && git status"); | |
| if (false == strpos($status, 'nothing to commit, working directory clean')) { | |
| echo "$repo\n" . str_repeat('-', strlen($repo)) . "\n$status\n\n"; | |
| } | |
| } |
| <?php | |
| namespace Ag\Utility\Log\Backend; | |
| use TYPO3\Flow\Annotations as Flow; | |
| class EmailBackend extends \TYPO3\Flow\Log\Backend\AbstractBackend { | |
| /** | |
| * @var string|array | |
| */ |
| <?php | |
| ... | |
| /** | |
| * @var \TYPO3\Flow\Mvc\Routing\UriBuilder | |
| */ | |
| protected $uriBuilder; | |
| /** |
| /** | |
| * A special action which is called if the originally intended action could | |
| * not be called, for example if the arguments were not valid. | |
| * | |
| * The default implementation sets a flash message, request errors and forwards back | |
| * to the originating action. This is suitable for most actions dealing with form input. | |
| * | |
| * @return string | |
| * @api | |
| */ |
#Introduction If you're a php developer on ubuntu, there comes the time where you have to install/reinstall your system. I did it already a few times and i decided to write down the steps for a typical web developer stack with php. This is for a developer machine and not for a live environment!
I hope it helps you too!
fyi @mheiniger and me started with an installer here: https://github.com/mheiniger/webdev-setup
tail -n 1000 log/development.log | subl
| <?php | |
| namespace TYPO3\Form\Factory; | |
| /* * | |
| * This script belongs to the FLOW3 package "TYPO3.Form". * | |
| * * | |
| * It is free software; you can redistribute it and/or modify it under * | |
| * the terms of the GNU Lesser General Public License, either version 3 * | |
| * of the License, or (at your option) any later version. * | |
| * * |