As configured in my dotfiles.
start new:
tmux
start new with session name:
#!/bin/sh | |
# https://bit.ly/2L80Ojm | |
POD=$( oc get pod -n glusterfs | grep heketi | cut -f1 -d' ' ) | |
eval $(oc rsh $POD set | grep -i heketi ) | |
oc rsh $POD heketi-cli --server $SERVER --user admin --secret $HEKETI_ADMIN_KEY |
As configured in my dotfiles.
start new:
tmux
start new with session name:
Kerberos + Apache + SVN | |
======================= | |
I did this on Ubuntu server 10.10. Based on this: https://help.ubuntu.com/community/Kerberos | |
1) Make sure the server has appropriate DNS info, e.g.: (/etc/hosts) | |
10.0.1.147 draco.madebysofa.com | |
127.0.0.1 localhost ubuntu |
#!/bin/bash | |
[ -e $XDG_RUNTIME_DIR/OVMF_VARS.fd ] || cp /usr/share/OVMF/OVMF_VARS.ms.fd $XDG_RUNTIME_DIR/OVMF_VARS.fd | |
kvm -smp 2 \ | |
-m 4096 \ | |
-cpu host \ | |
-M q35 \ | |
-drive if=pflash,format=raw,readonly,file=/usr/share/OVMF/OVMF_CODE.fd \ |
#!/usr/bin/env bash | |
# Runs a command wrapped in ZFS pre-post snapshots. The whole data pool is recursively snapshotted. | |
# Analogous to my snp script for BTRFS: https://gist.github.com/erikw/5229436 | |
# Usage: $ znp <commands> | |
# e.g.: $ znp pgk upgrade | |
# e.g.: $ znp portmaster -aG | |
# e.g.: $ znp freebsd-upgrade install | |
zfs_pool=zroot |
The RHPDS catalog item you provisioned is a single-node OpenShift environment that is backed by an Amazon P-type EC2 instance which has 1 NVIDIA GPU. It is a 100% vanilla/standard OpenShift Container Platform 3.10 installation. Post-install, there were a few additional things done consuming Ansible content from the https://github.com/redhat-performance/openshift-psap
#!/bin/sh | |
sudo yum-config-manager --add-repo https://rpm.releases.hashicorp.com/RHEL/hashicorp.repo | |
sudo yum -y install libvirt-daemon-kvm libvirt-client vagrant gcc-c++ make libstdc++-devel libvirt-devel | |
sudo systemctl enable --now libvirtd | |
vagrant plugin install vagrant-libvirt | |
sudo usermod -a -G libvirt $( id -un ) |
/* | |
This is a test server definition for GCE+Terraform for GH-9564 | |
*/ | |
provider "google" { | |
project = "${var.project}" // Your project ID here. | |
region = "${var.region}" | |
} | |
resource "google_compute_firewall" "gh-9564-firewall-externalssh" { |
#define USE_RDTSC 1
static inline unsigned long long rdtsc(void) {
unsigned long long r;
__asm__ __volatile__ ("rdtsc\n"
"shl $32,%%rdx\n"
"or %%rdx,%%rax\n"
"movq %%rax,%0" : "=r"(r) : : "edx", "eax", "rdx", "rax");
return r;