Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
Will work for food and cider

Antishov antishov

💭
Will work for food and cider
View GitHub Profile
@chadrien
chadrien / README.md
Last active Nov 5, 2022
Debug PHP in Docker with PHPStorm and Xdebug
View README.md

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 \
View IAB-Categories.json
{
"IAB1": "Arts & Entertainment",
"IAB1-1": "Books & Literature",
"IAB1-2": "Celebrity Fan/Gossip",
"IAB1-3": "Fine Art",
"IAB1-4": "Humor",
"IAB1-5": "Movies",
"IAB1-6": "Music",
"IAB1-7": "Television",
"IAB2": "Automotive",
@jamesflorentino
jamesflorentino / cookie-util.coffee
Created May 17, 2012
CoffeeScript // Cookie Handling
View cookie-util.coffee