Skip to content

Instantly share code, notes, and snippets.

View jbudziak's full-sized avatar
🏠
Working from home

jerome budziak jbudziak

🏠
Working from home
View GitHub Profile
#Delete all containers
docker rm $(docker ps -q -f status=exited)
#Delete all images
docker rmi $(docker images -q)
#Export the correct environment variable
eval $(docker-machine env default)
#!/bin/bash
if git rev-parse --verify HEAD >/dev/null 2>&1
then
against=HEAD
else
against=f737485baee8b0edc5ef4d00c498305578d630fd
fi
# Redirect output to stderr.
@jbudziak
jbudziak / .gitignore
Created December 5, 2012 15:58
gitignore for Drupal 7 install
# Ignore configuration files that may contain sensitive information.
sites/*/*settings*.php
# Ignore paths that contain generated content.
cache/
files/
sites/*/files
sites/*/private
# Ignore default text files
@jbudziak
jbudziak / drupal-install.make
Created December 5, 2012 13:10
make file for drupal install
; ----------------
; Generated makefile from http://drushmake.me
; Permanent URL: http://drushmake.me/file.php?token=7b0db3b5262e
; ----------------
;
; This is a working makefile - try it! Any line starting with a `;` is a comment.
; Core version
; ------------
; Each makefile should begin by declaring the core version of Drupal that all
@jbudziak
jbudziak / Xdebug Config
Created December 3, 2012 08:54
Xdebug config for Mac OS X and NetBeans IDE
; Xdebug config for Mac OS X and NetBeans IDE
zend_extension=/Applications/MAMP/bin/php5/lib/php/extensions/no-debug-non-zts-20050922/xdebug.so
xdebug.remote_enable=1
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000
xdebug.idekey=default
@jbudziak
jbudziak / .gitconfig
Last active October 13, 2015 12:08
Configuration du fichier gitconfig
[core]
editor = subl
[color]
diff = auto
status = auto
branch = auto
[alias]
co = checkout