brew install socat
brew cask install xquartz
- Restart
socat TCP-LISTEN:6000,reuseaddr,fork UNIX-CLIENT:\"$DISPLAY\" &
docker run -e DISPLAY=XXX:0 jess/geary
where XXX is the IP fromifconfig vboxnet0
View Shadow.packages.config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<packages> | |
<!-- utils --> | |
<package id="googlechrome" /> | |
<package id="discord" /> | |
<package id="wincompose" /> | |
<package id="geforce-experience" /> | |
<!-- games --> | |
<package id="steam" /> | |
<package id="epicgameslauncher" /> |
View Fake_DBM.toc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Interface: 80000 | |
## Title: Fake DBM | |
## Author: chadrien | |
## Version: 0.1 | |
main.lua |
View webpack.config.babel.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import path from 'path' | |
let srcDir = 'src' | |
let distDir = 'dist' | |
export default { | |
context: path.join(__dirname, srcDir), | |
entry: { | |
app: './index.js' | |
}, |
View README.md
View README.md
Debug your PHP in Docker with Intellij/PHPStorm and Xdebug
- For your local dev, create a
Dockerfile
that is based on your production image and simply installxdebug
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 chadrien.zsh-theme
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### | |
### symbols | |
### | |
# segments | |
[ -z "$SEGMENT_SEPARATOR" ] && SEGMENT_SEPARATOR='' | |
[ -z "$RSEGMENT_SEPARATOR" ] && RSEGMENT_SEPARATOR='' | |
## git | |
[ -z "$GIT_CLEAN_SYMBOL" ] && GIT_CLEAN_SYMBOL='%F{black}✔' |
View Makefile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SUPPORTED_COMMANDS := command1 command2 | |
SUPPORTS_MAKE_ARGS := $(findstring $(firstword $(MAKECMDGOALS)), $(SUPPORTED_COMMANDS)) | |
ifneq "$(SUPPORTS_MAKE_ARGS)" "" | |
# use the rest as arguments for the command | |
COMMAND_ARGS := $(wordlist 2,$(words $(MAKECMDGOALS)),$(MAKECMDGOALS)) | |
# ...and turn them into do-nothing targets | |
$(eval $(COMMAND_ARGS):;@:) | |
endif | |
command1: |
View README.md
Init boot2docker
Create boot2docker instance and start it
$ boot2docker init --dhcp=false --hostip=172.16.0.1
$ boot2docker up
Configure the instance
View README.md
How to use
- Copy to
$HOME/.docker/machine/machines/{{machine_name}}/config.json
- Set values for the following fields:
- Username
- Password
- TenantName
- TenantId
- Region
- MachineName
View install.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
git clone https://github.com/sstephenson/rbenv.git ~/.rbenv | |
git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build | |
export PATH="$HOME/.rbenv/bin:$PATH" | |
eval "$(rbenv init -)" | |
rbenv install 1.9.3-p551 | |
rbenv global 1.9.3-p551 | |
gem install --no-ri --no-rdoc mailcatcher -v0.5.12 | |
rbenv rehash |
NewerOlder