Reminder: Make Docker trust certificates

According to play-with-docker.com you can trust a self-signed cert by doing the following: If you are running the registry locally, be sure to use your host name as the CN.To get the docker daemon to trust the certificate, copy the domain.crt file. Make sure to restart the docker daemon. The /dev/null part is to avoid the output… Continue Reading Reminder: Make Docker trust certificates

SSH-Agent forwarding

Some notes on the side about SSH-Agent forwarding so the private key does not need to be put on to systems you’re connecting to, but you can still tunnel onward: Hoarded Homely Hints – Configuring SSH: Always Forwarding Your Agent And some cool SSH Tricks in general plus some explanation: tychoish – 9 awesome ssh… Continue Reading SSH-Agent forwarding

Segmentation fault in Symfony’s cache clear CLI command

So….this happened: $ app/console –domain=myDomain cache:clear Clearing the cache for the dev environment with debug true Segmentation fault Apparently Segfaults happen, when a process tries to access a portion of RAM that’s already used otherwise. Removing the app/cache folder contents fixed the problem: $ app/console –domain=myDomain cache:clear Clearing the cache for the dev environment with debug… Continue Reading Segmentation fault in Symfony’s cache clear CLI command

Escape special characters used by Jira/Confluence

Confluence and Jira are amazing at interpreting characters for text-formatting. But sometimes it just doesn’t come in handy. Imagine you are documenting CLI parameters: $ somecommand –some-param=xyz Confluence/Jira would express this as a strike through text, because of the hyphens. This can be circumvented by using the backslash escape character: $ somecommand \-\-some\-param=xyz    

PHPStorm – Git Commit – Check/Uncheck all changes

If you, like me, are of the mind to commit at random times in small portions, then you found the PHPStorm Dialog “Git Commit” annoying. You always need to click on the root node to unselect all changes and then re-select only those changes that you actually want to commit. An “uncheck all changes” button… Continue Reading PHPStorm – Git Commit – Check/Uncheck all changes