More tools and improvements
Signed-off-by: Jacob Kiers <kiers@comandi.nl>
This commit is contained in:
BIN
bin/composer
Executable file
BIN
bin/composer
Executable file
Binary file not shown.
15
bin/dcdebug
Executable file
15
bin/dcdebug
Executable file
@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
COMMAND=$1;
|
||||
shift 1
|
||||
|
||||
if [ ! -f $COMMAND ]; then
|
||||
COMMAND=`which ${COMMAND}`
|
||||
fi
|
||||
|
||||
if [ ! -f "${COMMAND}" ]; then
|
||||
echo "Usage: ${0} <command>"
|
||||
exit 1;
|
||||
fi
|
||||
|
||||
PHP_IDE_CONFIG="serverName=local" XDEBUG_CONFIG="remote_enable=1 remote_mode=req remote_port=9000 remote_host=127.0.0.1 remote_connect_back=0" php -d zend_extension=xdebug.so $COMMAND "$@"
|
2
bin/docker-php
Executable file
2
bin/docker-php
Executable file
@ -0,0 +1,2 @@
|
||||
#!/bin/bash
|
||||
docker run --rm -it --entrypoint /usr/bin/php --user $(id -u):$(id -g) -e HOME="${HOME}" -v ${HOME}:${HOME} --workdir $(pwd) php:70 $@
|
5
bin/git-fixup
Executable file
5
bin/git-fixup
Executable file
@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
TARGET=$(git rev-parse ${1})
|
||||
git commit --fixup=${TARGET} ${@:2}
|
||||
EDITOR=true git rebase -i --autostash --autosquash ${TARGET}^;
|
Reference in New Issue
Block a user