Instantly share code, notes, and snippets.

View cookies.txt
__trae_proxy="http://whoami2:80"
View .env
DRONE_PUBLIC_HOSTNAME=localhost
View keybase.md

Keybase proof

I hereby claim:

  • I am dduportal on github.
  • I am dduportal (https://keybase.io/dduportal) on keybase.
  • I have a public key ASDpfUh-lG88MGJvbsk6tpikZ_po_EoR9oEyugcWYgq3CQo

To claim this, I am signing this object:

View custom-traefik-deployment.yaml
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: traefik-ingress-controller
namespace: kube-system
---
kind: Deployment
apiVersion: extensions/v1beta1
metadata:
View run.sh
docker run --name lb -ti -p 80:80 -p 443:443 -p 8080:8080 -v $(pwd)/traefik.toml:/etc/traefik.toml -v /var/run/docker.sock:/var/run/docker.sock -d traefik:1.6.5 --docker --debug --api
docker run --label="traefik.frontend.rule=Host:damienduportal.org" -d emilevauge/whoami
View app.yml
version: '3.5'
networks:
mongodb:
driver: bridge
internal: true
services:
mongodb:
image: 'mongo:3.4'
restart: on-failure
environment:
View docker-compose.yml
version: '3'
services:
reverse-proxy:
image: traefik:1.6.2
ports:
- "8080:8080"
- "8443:8443"
- "443:443"
volumes:
View mem.c
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
int main (void) {
int n = 0;
char *p;
while (1) {
if ((p = malloc(1<<20)) == NULL) {
View gist:e280af7e63a28a1ee423c752783b9a06
version: '2.3'
volumes:
jenkins-data:
services:
jenkins:
image: jenkinsci/blueocean
user: root
ports:
View gist:0ac5e5c76043e95fa0b5ff85c1b0c93e
11:hugetlb:/docker/548df52e7a171633f025e2ae3912a8b1f9a94d1c12d1efc48d50321f69b24257
10:blkio:/docker/548df52e7a171633f025e2ae3912a8b1f9a94d1c12d1efc48d50321f69b24257
9:freezer:/docker/548df52e7a171633f025e2ae3912a8b1f9a94d1c12d1efc48d50321f69b24257
8:memory:/docker/548df52e7a171633f025e2ae3912a8b1f9a94d1c12d1efc48d50321f69b24257
7:perf_event:/docker/548df52e7a171633f025e2ae3912a8b1f9a94d1c12d1efc48d50321f69b24257
6:cpuset:/docker/548df52e7a171633f025e2ae3912a8b1f9a94d1c12d1efc48d50321f69b24257
5:pids:/docker/548df52e7a171633f025e2ae3912a8b1f9a94d1c12d1efc48d50321f69b24257
4:devices:/docker/548df52e7a171633f025e2ae3912a8b1f9a94d1c12d1efc48d50321f69b24257
3:cpuacct,cpu:/docker/548df52e7a171633f025e2ae3912a8b1f9a94d1c12d1efc48d50321f69b24257
2:net_prio,net_cls:/docker/548df52e7a171633f025e2ae3912a8b1f9a94d1c12d1efc48d50321f69b24257