start new:
tmux
start new with session name:
tmux new -s myname
#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
| <?xml version="1.0" encoding="utf-8"?> | |
| <project name="your-project-name-here" default="build"> | |
| <target name="build" | |
| depends="prepare,lint,phploc,pdepend,phpmd-ci,phpcs-ci,phpcpd,phpdox,phpunit,behat,phpcb"/> | |
| <target name="build-parallel" | |
| depends="prepare,lint,tools-parallel,phpunit,phpcb"/> | |
| <target name="tools-parallel" description="Run tools in parallel"> | |
| <parallel threadCount="2"> |
WARNING: If you're reading this in 2021 or later, you're likely better served by reading:
(This gist was created in 2013 and targeted the legacy GOPATH mode.)
$ ssh -A vm
$ git config --global url."git@github.com:".insteadOf "https://github.com/"| {namespace dce=ArminVieweg\Dce\ViewHelpers} | |
| <f:layout name="Default" /> | |
| <f:section name="main"> | |
| <f:for each="{dce:fal(field:'images', contentObject:contentObject)}" as="image"> | |
| <!-- This is the normal unresponsive way --> | |
| <f:image image="{image}" /> | |
| <!-- Here we referer to typoscript to render the responsive image --> | |
| <f:cObject typoscriptObjectPath="lib.responsiveImage" data="{image.uid}"></f:cObject> | |
| </f:for> |
| https://github.com/Seldaek/monolog/blob/master/src/Monolog/Handler/ElasticSearchHandler.php | |
| https://github.com/Seldaek/monolog/blob/master/src/Monolog/Formatter/ElasticaFormatter.php | |
| https://github.com/Seldaek/monolog/blob/master/src/Monolog/Formatter/LogstashFormatter.php | |
| Another example: | |
| https://github.com/nulpunkt/monolog-elasticsearch-logstashformat |
| # Define where to store the generated certs and metadata. | |
| DIR="$(pwd)/tls" | |
| # Optional: Ensure the target directory exists and is empty. | |
| rm -rf "${DIR}" | |
| mkdir -p "${DIR}" | |
| # Create the openssl configuration file. This is used for both generating | |
| # the certificate as well as for specifying the extensions. It aims in favor | |
| # of automation, so the DN is encoding and not prompted. |