. | any character, possibly including newline (s=true) |
[xyz] | character class |
[^xyz] | negated character class |
\d, | Perl character class |
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
#!/usr/bin/env bash -e | |
# | |
# Script to download the release from GitHub and sign it using the coreruleset GPG key | |
# | |
GPG_OPTIONS="-b --default-key security@coreruleset.org --status-fd 0 --armor" | |
version=$1 | |
formats=("zip" "tar.gz") | |
echo "CRS Sign release script" | |
echo "=======================" |
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
#!/usr/bin/env bash | |
export GH_PAGER=cat | |
if [ ! $(which gh) ]; then | |
echo "We need the gh command for this." | |
exit 1 | |
fi | |
lastmeeting=$1 |
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
diff -ru ../coreruleset/tests/regression/tests/REQUEST-920-PROTOCOL-ENFORCEMENT/920100.yaml tests/REQUEST-920-PROTOCOL-ENFORCEMENT/920100.yaml | |
--- ../coreruleset/tests/regression/tests/REQUEST-920-PROTOCOL-ENFORCEMENT/920100.yaml 2020-07-09 08:24:15.700645956 -0300 | |
+++ tests/REQUEST-920-PROTOCOL-ENFORCEMENT/920100.yaml 2021-03-17 20:41:25.140883675 -0300 | |
@@ -41,7 +41,7 @@ | |
uri: "/" | |
version: "HTTP/1.1" | |
output: | |
- status: 400 | |
+ status: [400] | |
- |
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 77d023b73b37ac4989aa4fd6ca119c62eeca7b97 Mon Sep 17 00:00:00 2001 | |
From: Felipe Zipitria <fzipitria@perceptyx.com> | |
Date: Fri, 2 Oct 2020 12:33:08 -0300 | |
Subject: [PATCH] fix(zeromq): backport zeromq patch | |
Signed-off-by: Felipe Zipitria <fzipitria@perceptyx.com> | |
--- | |
salt/scripts.py | 21 ++++++++++++++++----- | |
salt/transport/zeromq.py | 14 ++++++++++++++ | |
2 files changed, 30 insertions(+), 5 deletions(-) |
I hereby claim:
- I am fzipi on github.
- I am fzipitria (https://keybase.io/fzipitria) on keybase.
- I have a public key ASB_oHz2d172tw2zDZy5B5BoIIE4bzWu-_FMINhOZU6bPgo
To claim this, I am signing this object:
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
[client] | |
ssl | |
ssl-cert=/etc/mysql/client-cert.pem | |
ssl-key=/etc/mysql/client-key.pem | |
[mysqld] | |
ssl | |
ssl-cipher=DHE-RSA-AES256-SHA | |
ssl-ca=/etc/mysql/ca-cert.pem | |
ssl-cert=/etc/mysql/server-cert.pem |
This is how you can take an OpenVPN .ovpn config file and extract the certificates/keys required to import the profile into NetworkManager.
- Download the .ovpn file. Save it somewhere you can store it permanently (I use ~/.vpn).
- Copy from between <ca> tags into ca.crt, remove <ca> tags.
- Copy from between <cert> tags into client.crt, remove <cert> tags.
- Copy from between <key> tags into client.key, remove <key> tags.
- Copy from between <tls-auth> tags into ta.key, remove <tls-auth> tags.
- Remove the line "key-direction 1"
- Above "# -----BEGIN RSA SIGNATURE-----" insert the following lines.
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
<!DOCTYPE html> | |
<html> | |
<head> | |
{{ partial "header.html" . }} | |
</head> | |
<body> | |
{{ partial "menu.html" . }} | |
<div class="page-content"> | |
<div class="participants"> | |
<div class="container"> |
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
user www-data; | |
worker_processes auto; | |
pid /run/nginx.pid; | |
events { | |
worker_connections 768; | |
# multi_accept on; | |
} | |
http { |
NewerOlder