Skip to content

Instantly share code, notes, and snippets.

@abruk
abruk / Midnight Commander Keyboard Shortcuts for Mac OSX
Last active April 19, 2017 19:44 — forked from sgergely/gist:3793166
Midnight Commander Keyboard Shortcuts for Mac OSX
### pimp it like a boss ###
* https://ajnasz.hu/blog/20140228/midnight-commander-skin
===========================
# on 256
cd ~/.local/mc/skins/
wget https://gist.github.com/Ajnasz/8685681/raw/d3c00b3aa74fa126050babc3ed7ef4dca33b7049/ajnasz-blue.ini
vim ~/.config/mc/ini
skin=ajnasz-blue
#on 16:
@abruk
abruk / README.md
Created April 1, 2017 19:24 — forked from chadrien/README.md
Debug PHP in Docker with PHPStorm and Xdebug

Debug your PHP in Docker with Intellij/PHPStorm and Xdebug

  1. For your local dev, create a Dockerfile that is based on your production image and simply install xdebug into it. Exemple:
FROM php:5

RUN yes | pecl install xdebug \
&& echo "zend_extension=$(find /usr/local/lib/php/extensions/ -name xdebug.so)" > /usr/local/etc/php/conf.d/xdebug.ini \