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
version: '2' | |
services: | |
tinyproxy: | |
image: registry.gitlab.com/kalaksi-containers/tinyproxy | |
# You can also use GitLab as an alternative to Docker Hub: | |
# image: registry.gitlab.com/kalaksi-containers/tinyproxy | |
restart: unless-stopped | |
cap_drop: | |
- ALL | |
ports: |
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
version: '3' | |
services: | |
socks5: | |
image: serjs/go-socks5-proxy | |
container_name: socks5 | |
restart: always | |
ports: | |
- 1080:1080 |
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
TAG:=$(shell date "+%Y%m%d%H%M") | |
HOST:=yourhost.com | |
IMAGE_NAME:=screenshots | |
############################################################################### | |
# HELP / DEFAULT COMMAND | |
############################################################################### | |
.PHONY: help | |
help: | |
@awk 'BEGIN {FS = ":.*?## "} /^[0-9a-zA-Z_-]+:.*?## / {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' $(MAKEFILE_LIST) |
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
version: "2" | |
services: | |
node: | |
image: tezos/tezos:v11.0 | |
hostname: node | |
command: tezos-node --rpc-addr 0.0.0.0 --net-addr :9732 --network mainnet --history-mode archive | |
ports: | |
- "9732:9732" |
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
from urllib.parse import urlparse | |
from django import template | |
from django.template.defaultfilters import stringfilter | |
from base64 import b64encode | |
import requests | |
from django.core.cache import cache | |
register = template.Library() |
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
tell application "BlueJeans" to activate | |
tell application "System Events" to keystroke "m" |
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
version: '3' | |
services: | |
traefik: | |
container_name: traefik | |
image: traefik:v2.0 | |
command: | |
- "--api.insecure=true" | |
- "--providers.docker=true" |
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
version: '3' | |
services: | |
traefik: | |
image: traefik:1.7.9 | |
restart: always | |
ports: | |
- 80:80 | |
- 443:443 | |
- 8080:8080 |
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
FROM sentry:9.0-onbuild | |
COPY plugin.py /usr/local/lib/python2.7/site-packages/sentry_plugins/jira/plugin.py |
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
function postgres_ready(){ | |
python << END | |
import sys | |
import psycopg2 | |
try: | |
conn = psycopg2.connect(dbname="$DB_NAME", user="$DB_USER", password="$DB_PASS", host="$DB_HOST") | |
except psycopg2.OperationalError: | |
sys.exit(-1) | |
sys.exit(0) | |
END |
NewerOlder