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
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 Papa from 'papaparse'; | |
import commandLineArgs from 'command-line-args'; | |
import { readFileSync, writeFileSync } from 'fs'; | |
import { Sets } from "scryfall-sdk"; | |
const optionDefinitions = [ | |
{ name: 'file', alias: 'f', type: String }, | |
{ name: 'output', alias: 'o', type: String }, | |
]; | |
const options = commandLineArgs(optionDefinitions); |
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" /> |
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 |
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' | |
}, |
- 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 \
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}✔' |
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: |
NewerOlder