I hereby claim:
- I am dbadapt on github.
- I am dbadapt (https://keybase.io/dbadapt) on keybase.
- I have a public key ASAWtQVHhCfEcOMXK_FB2PuX2fVHN4QWhpLEQ4VVOyRZCwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
-----BEGIN PGP SIGNED MESSAGE----- | |
Hash: SHA1 | |
#!/bin/bash | |
# This script will enable the Percona apt/yum Repository | |
# david dot bennett at percona dot com - 2015-08-11 | |
# Usage: ./percona_repo_install.sh [ -k|--keyid {gnupg key id} ] |
owHdWF1sHFcVjtOQkoHSyCBFRQVO1yvPOsnM7qxdCLbXTWI7OCJpHMduSl0nnZ25uzPa2ZnN/Hi7 | |
sZeIooqkqqCpaEgFEkKFyAWSQqSWIqIKCR5KoyJ4KL8PQQQJFQRRJZ5AIZxzZ2Y9u7Xzo0IfGEve | |
O3PvPff8fOc7Z+apO25bs7brX3dt+N61Xz72o66zH8oXN9WYqzm2ethlNeewaXu+almyZ8xcPK72 | |
3JMtmna2qHqGIPTAtGF64GmuWfOhbloWMFstWgx8g8FkKAXUmp9tBFWYQmme6Ttug3bq6rypg+74 | |
UGS2zXwfVB+ig/ljzamCBPmccq+U2yYpCm2a8dQyGwQ5u4qGMAtSZVGSKqyBwhfKdlArA96AqTdh | |
DgXc8EIBLgpwa9V55sIC/gIOPNOxwfNd0y6THBS0V60w8AKXQZ2Bij9uYNs4DaoHruP4gmCWUNg9 | |
kEovjM/sHmumoFCAHMwNkW9sAYBphgMjvXlIJZ1YDTzyCIlDh/oGF0Z+qZoeaeHJKdr7qOmDMiSU | |
zNArDCgggG4El+mmyzSf1oLvkPZmqYGrMAygm2REMaBZsNUqmVCrOS6qWwpsvgk0g2kVWggLeBIN | |
UEQhrfBjmQb9wyNZnc1nfa2WJffLUSxkDFh2Ww6XaRjJ4eHD4/smDqOB/cLE+I4xyBIMSJqXTS9E | |
UpvZKWYx1WNyGeM0MT09mVVkRZhwPH8QOmULow7ihOs4CJrleEwQ+Bl4ostUHVy1PsW8GtrNYLi3 |
#!/bin/bash | |
# This script will enable the Percona apt/yum Repository | |
# david dot bennett at percona dot com - 2015-08-11 | |
# Usage: ./percona_apt_install.sh [ -k|--keyid {gnupg key id} ] | |
# [ -r|--rpmver {rpm version string} ] | |
# Make sure we are running as root |
#!/bin/bash | |
apt-key del CD2EFD2A | |
rm -f /etc/apt/sources.list.d/percona.list | |
apt-get update -y |
#!/bin/bash | |
# This script will enable the Percona apt Repository | |
# david dot bennett at percona dot com - 2015-08-11 | |
# Make sure we are running as root | |
if [ ! "${EUID}" == 0 ]; then | |
echo >&2 "This script must be run with root permissions." |
#!/bin/bash | |
# This script will convert a ssh private and public key into a | |
# series of commands that can be cut & paste into a VM to | |
# prime the logged in user in the VM with the SSH key | |
# Author: David Bennett - david.bennett at percona dot com - 2015-07-12 | |
# Usage: ./prime_key.sh {key base name} {new base name} |
#!/bin/bash | |
# download a single file from launchpad | |
SRC_FILE=pxc56-mtr.sh | |
REL_URL=$( | |
wget -q -O - "http://bazaar.launchpad.net/~percona-core/percona-qa/trunk/view/head:/${SRC_FILE}" \ | |
| grep 'download file' \ | |
| head -n1 \ | |
| cut -d'"' -f2 |
// Simple Java JDBC example | |
// Edit db.properties for your environment | |
// Compile: javac DBHello.java | |
// Run: java -cp .:{jdbc.jar} DBHello | |
import java.io.IOException; | |
import java.sql.*; | |
import java.util.Properties; | |
public class DBHello { | |
public static void main(String[] args) |
#!/usr/bin/perl | |
# DNS Lag simulator - implements a DNS server with extreme lag on un-cached replies. | |
use strict; | |
use warnings; | |
use Net::DNS::Resolver; | |
use Net::DNS::Nameserver; | |
use Data::Dumper; |