This file contains hidden or 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
<html> | |
<head> | |
<title>DevOps Reaction</title> | |
<style type="text/css"> | |
body { background-color:#000; color:#fff } | |
h1 { font-size:35pt } | |
</style> | |
<script src="http://code.jquery.com/jquery-2.2.0.min.js"></script> | |
<script> |
This file contains hidden or 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
Process 9965 (DisplayLinkMana) of user 0 dumped core. | |
Stack trace of thread 10069: | |
#0 0x00007f07b9c5d04f raise (libc.so.6) | |
#1 0x00007f07b9c5e56a abort (libc.so.6) | |
#2 0x000000000041d182 n/a (/usr/lib/displaylink/DisplayLinkManager (deleted)) | |
#3 0x00007f07ba78f276 _ZN10__cxxabiv111__terminateEPFvvE (libstdc++.so.6) | |
#4 0x00007f07ba78f2c1 _ZSt9terminatev (libstdc++.so.6) | |
#5 0x00007f07ba78f4d8 __cxa_throw (libstdc++.so.6) | |
#6 0x00000 |
This file contains hidden or 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
# /etc/systemd/system/[email protected] | |
# systemctl daemon-reload | |
# systemctl start loop@sdxx | |
# systemctl enable loop@sdxx | |
[Unit] | |
Description=Mount journal partition as loop2 | |
Before=ceph-osd.target | |
[Service] | |
Type=oneshot | |
ExecStart=/sbin/losetup /dev/loop2 /dev/%i |
This file contains hidden or 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
#!/bin/bash | |
#### START CUSTOM CONFIG | |
## | |
# root path of all certs stuff. May be differ from default | |
ssl_path=/etc/puppet/ssl | |
# how many days should the certs are valid | |
ssl_days=3650 |
This file contains hidden or 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
define bareos::director::catalog ( | |
$ensure = present, | |
$db_address = undef, | |
$db_driver = undef, | |
$db_name = undef, | |
$db_password = undef, | |
$db_port = undef, | |
$db_socket = undef, | |
$db_user = undef, | |
$description = undef, |
This file contains hidden or 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
package passwordresetservice | |
import ( | |
"crypto/tls" | |
"fmt" | |
ldap "github.com/go-ldap/ldap" | |
"golang.org/x/text/encoding/unicode" | |
ber "gopkg.in/asn1-ber.v1" | |
) |
This file contains hidden or 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
[req] | |
distinguished_name = req_distinguished_name | |
req_extensions = v3_req | |
prompt = no | |
[req_distinguished_name] | |
C = DE | |
ST = BY | |
L = Munich | |
O = Corp | |
OU = IT |
This file contains hidden or 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
AWSTemplateFormatVersion: '2010-09-09' | |
Description: Site to Site VPN | |
Parameters: | |
RemoteIP: | |
Description: Remote IP for the ipsec connection | |
Type: String | |
RemoteCIDR: | |
Description: The destination network CIDR | |
Type: String |
This file contains hidden or 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
#!/bin/bash | |
function awskmsencrypt() { | |
key="$1" | |
text="$2" | |
aws kms encrypt --key-id "$key" --plaintext fileb://<(echo "$text") --output text --query CiphertextBlob | |
} | |
function awskmsdecrypt() { | |
crypt="$1" #base64 |
OlderNewer