I hereby claim:
- I am chief93 on github.
- I am alex025 (https://keybase.io/alex025) on keybase.
- I have a public key ASCKLszA8Uavbfg6ZNMC958NdsH_7Z2VkCS_v4ofgiFOuwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
Originated from https://github.com/hpello/tcp-proxy-docker For proxying a TCP connection for an already running container, spawned by Docker-compose, that didn't exposed it's port, use following:
docker network list
<proxy_port>
on your host which will forward connection to <container_port>
in your <container_name>
:# Set pid of nginx master process here | |
pid=8192 | |
# generate gdb commands from the process's memory mappings using awk | |
cat /proc/$pid/maps | awk '$6 !~ "^/" {split ($1,addrs,"-"); print "dump memory mem_" addrs[1] " 0x" addrs[1] " 0x" addrs[2] ;}END{print "quit"}' > gdb-commands | |
# use gdb with the -x option to dump these memory regions to mem_* files | |
gdb -p $pid -x gdb-commands | |
# look for some (any) nginx.conf text |
moment.tz.add({ | |
"zones": { | |
"Africa/Algiers": [ | |
"0:12:12 - LMT 1891_2_15_0_1 0:12:12", | |
"0:9:21 - PMT 1911_2_11 0:9:21", | |
"0 Algeria WE%sT 1940_1_25_2", | |
"1 Algeria CE%sT 1946_9_7 1", | |
"0 - WET 1956_0_29", | |
"1 - CET 1963_3_14 1", | |
"0 Algeria WE%sT 1977_9_21 1", |