Prepare tarantool and modules builds:
git clone https://github.com/tarantool/http.git http-v1
cd http-v1
git checkout da1407c8e82dbdfd44abab8b1bb9860c217e7e22
cmake . -DCMAKE_BUILD_TYPE=RelWithDebInfo && make -j
cd -| #!/usr/bin/perl | |
| =encoding utf8; | |
| =head1 NAME | |
| grab-gist - download all the files in a gist | |
| =head1 SYNOPSIS |
| $ grep -P "^[ABCDEFabcdefOoIi]{6,6}$" /usr/share/dict/words | tr 'OoIi' '0011' | tr '[:lower:]' '[:upper:]' | awk '{print "#" $0}' | |
| #ACAD1A | |
| #B0BB1E | |
| #DEBB1E | |
| #AB1DED | |
| #ACAC1A | |
| #ACCEDE | |
| #AC1D1C | |
| #BAB1ED | |
| #BA0BAB |
| -- | |
| -- save this as ~/.psqlrc | |
| -- | |
| -- run an alias with : | |
| -- | |
| -- e.g. :long_running_queries | |
| \set QUIET 1 | |
| -- formatting |
| # add to /lib/systemd/system/prometheus.service | |
| # --web.external-url=https://monitoring.mydomain.com/prometheus/ | |
| # add to /lib/systemd/system/alertmanager.service | |
| # --web.external-url=https://monitoring.mydomain.com/alertmanager \ | |
| # --web.route-prefix="/" \ | |
| # --cluster.advertise-address=0.0.0.0:9093 | |
| # systemctl daemon-reload | |
| # systemctl restart prometheus alertmanager | |
| # | |
| cat <<EOF > /etc/nginx/conf.g/monitoring.conf |
| # remote mount functions | |
| remote-mount() | |
| { | |
| # Mount a remote ssh root directory in /media/$USER/remotes/[remote alias] | |
| # This function requires 1 argument, which is the ssh alias you made for the | |
| # remote in your .ssh/config. | |
| # If the directory is not created, it will try to, but this part is probably only | |
| # going to be called the first time for each remote, unless you change the alias. | |
| # To unmount, see remote-unmount(). | |
Это краткая памятка, которая подходит во время вспышки любого респираторного вирусного заболевания. Я ее пишу не для того, чтобы вы срочно начинали все это делать - никакого повода нет. Но, если вы хотите снизить вероятность получения или распространения вирусов - прочитайте.
| FROM nginx | |
| RUN echo 'server {\n\ | |
| listen 80 default_server;\n\ | |
| location / {\n\ | |
| proxy_pass http://httpbin.org/delay/10;\n\ | |
| }\n\ | |
| }' > /etc/nginx/conf.d/default.conf | |
| STOPSIGNAL SIGQUIT |
| Index: Makefile | |
| =================================================================== | |
| --- Makefile (revision 507358) | |
| +++ Makefile (revision 507359) | |
| @@ -74,7 +74,7 @@ | |
| HTTP_CACHE HTTP_DAV HTTP_FLV HTTP_GUNZIP_FILTER HTTP_GZIP_STATIC \ | |
| HTTP_IMAGE_FILTER HTTP_MP4 HTTP_PERL HTTP_RANDOM_INDEX HTTP_REALIP \ | |
| HTTP_REWRITE HTTP_SECURE_LINK HTTP_SLICE HTTP_SSL HTTP_STATUS HTTP_SUB \ | |
| - HTTP_XSLT HTTPV2 STREAM STREAM_SSL STREAM_SSL_PREREAD | |
| + HTTP_XSLT HTTPV2 STREAM STREAM_SSL STREAM_SSL_PREREAD HTTP_SLICE_AHEAD |
| #!/usr/bin/env bash | |
| # ensure we were given two command line arguments | |
| if [[ $# -ne 2 ]]; then | |
| echo 'usage: vault-cp SOURCE DEST' >&2 | |
| exit 1 | |
| fi | |
| source=$1 | |
| dest=$2 |