Skip to content

Instantly share code, notes, and snippets.

View Djacke's full-sized avatar
🎯
Focusing

Djacke Djacke

🎯
Focusing
View GitHub Profile
@Djacke
Djacke / docker-compose-redis-sentinel
Created March 28, 2018 06:42
redis sentinel docker compose yml
version: '2'
services:
redis_master:
image: redis:4.0.2-alpine
ports:
- "6579:6379"
redis_slave:
image: redis:4.0.2-alpine
ports:
@Djacke
Djacke / curl.md
Created March 1, 2018 08:39 — forked from subfuzion/curl.md
curl POST examples

Common Options

-#, --progress-bar Make curl display a simple progress bar instead of the more informational standard meter.

-b, --cookie <name=data> Supply cookie with request. If no =, then specifies the cookie file to use (see -c).

-c, --cookie-jar <file name> File to save response cookies to.

@Djacke
Djacke / gitlab-ci.yaml
Created January 19, 2018 10:13
to enable gitlab cache
image: java:openjdk-8-jdk
before_script:
- export GRADLE_USER_HOME=`pwd`/.gradle
cache:
paths:
- .gradle/wrapper
- .gradle/caches
@Djacke
Djacke / 0_reuse_code.js
Created September 5, 2017 06:38
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console