I hereby claim:
- I am wujku on github.
- I am wujkudobrarada (https://keybase.io/wujkudobrarada) on keybase.
- I have a public key ASAmXmpLa5wGiMA0EZq3tZvCwwppiuyCl75oLjcK0igI2wo
To claim this, I am signing this object:
# /etc/fail2ban/filter.d/traefik-auth.conf | |
[Definition] | |
failregex = ^<HOST> \- \S+ \[\] \"(GET|POST|HEAD) .+\" 401 .+$ |
location /api { | |
rewrite ^/api/(.*) /rest/V1/custom_resource/$1 break; | |
proxy_pass $scheme://127.0.0.1; | |
proxy_set_header Host $host; | |
proxy_set_header X-Real-IP $remote_addr; | |
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | |
} |
I hereby claim:
To claim this, I am signing this object:
# example.local/blog?query=code -> example.local/news?query=code | |
# example.local/blog/?query=code -> example.local/news?query=code | |
map $uri $new_uri { | |
/blog /news; | |
/test /demo; | |
} | |
server { | |
listen 80; |
LOAD DATA LOCAL INFILE '/tmp/example.csv' | |
-> INTO TABLE example | |
-> FIELDS TERMINATED BY ',' | |
-> LINES TERMINATED BY '\n' | |
-> IGNORE 1 LINES | |
-> (id, Column3,Column4, @Column5) | |
-> set | |
-> Column5 = str_to_date(@Column5, '%m/%d/%Y'); |
<?php | |
/** | |
* @see http://www.jwz.org/doc/mid.html | |
*/ | |
function generateMessageID() | |
{ | |
return sprintf( | |
"<%s.%s@%s>", | |
base_convert(microtime(), 10, 36), |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env bash | |
# Usage: repository=repository_name.git worktree=/home/user/domains/domain.name gitlab_deployment_configuration.sh | |
if [ -z ${repository+x} ]; then repository=gitlab.git; fi | |
if [ -z ${worktree+x} ]; then worktree=/home/ubuntu/domains/domain.name; fi | |
# create git --bare repository | |
git init --bare ${repository} |