Skip to content

Instantly share code, notes, and snippets.

@gena01
gena01 / Dockerfile
Created September 15, 2016 01:32
nginx openzipkin query reverse proxy
FROM alpine:edge
RUN apk add --update --no-cache nginx curl && \
rm -rf /var/cache/apk/* /tmp/* /var/tmp/*
# Setup services
ADD build/nginx.conf /etc/nginx/nginx.conf
ADD build/run.sh /
EXPOSE 80
@gena01
gena01 / .bashrc
Created August 4, 2016 14:19
docker-machine use()
use () {
eval "$(docker-machine env $1)"
}
@gena01
gena01 / gist:7197797
Last active December 26, 2015 18:58
Composer conflict attempt
diff --git a/doc/04-schema.md b/doc/04-schema.md
index ec885bf..c4de651 100644
--- a/doc/04-schema.md
+++ b/doc/04-schema.md
@@ -655,6 +655,8 @@ The following options are supported:
* **prepend-autoloader:** Defaults to `true`. If false, the composer autoloader
will not be prepended to existing autoloaders. This is sometimesrequired to fix
interoperability issues with other autoloaders.
+* **github-domains:** Defaults to `["github.com"]`. A list of domains to use in
+ github mode. This is used for GitHub Enterprise setups.
@gena01
gena01 / .bashrc
Last active May 2, 2017 18:25
My DEV environment files.
export GIT_PS1_SHOWDIRTYSTATE=true
export GIT_PS1_SHOWUNTRACKEDFILES=true
#export GIT_PS1_SHOWSTASHSTATE=true
export GIT_PS1_SHOWUPSTREAM="auto"
if [ "$color_prompt" = yes ]; then
PS1='\[\033[00m\][\[\033[01;32m\]\u@\h\[\033[00m\]] \[\e[0;35m\]$(__git_ps1 "(%s) ")\[\e[0m\]\[\033[01;34m\]\w\[\033[00m\]\$ '
else
PS1='\u@\h:$(__git_ps1 "(%s)") \w\$ '
fi