- Manage OpenShift Container Platform
- Use the web console to manage and configure an OpenShift cluster
- Use the command-line interface to manage and configure an OpenShift cluster
- Query, format, and filter attributes of Kubernetes resources
- Import, export, and configure Kubernetes resources
- Locate and examine container images
- Create and delete projects
- Examine resources and cluster status
- View logs
- Monitor cluster events and alerts
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
// TCP Client (Java NIO) | |
// A minimalistic Java NIO TCP client. Stays always connected. Disconnects and reconnects on any exception in the event handlers (onConnect, onDisconnect, onRead). | |
package net.bobah.nio; | |
import java.io.IOException; | |
import java.net.InetSocketAddress; | |
import java.net.SocketAddress; | |
import java.nio.ByteBuffer; | |
import java.nio.channels.ReadableByteChannel; |
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 | |
echo Please make sure the server is running | |
echo the command is: | |
echo openssl s_server -WWW | |
echo and make sure the 1mb file is in the same directory | |
echo to make the 1mbrf file do: | |
echo dd if=/dev/urandom of=1mbrf bs=1024 count=1024 | |
echo | |
echo the following benchmarks each will have run 50 times | |
echo |
autocmd FileType yaml setlocal ai et ts=2 sw=2 cursorcolumn cursorline
selflink : https://bit.ly/3zxs2Kv
- Red Hat registry pull secret (can be recovered from
cloud.redhat.com
) - credentials for AWS (or any other supported cloud)
oc
accessible in your PATH ( https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp/stable/openshift-client-linux.tar.gz )openshift-install
accessible in your PATH ( https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp/stable/openshift-install-linux.tar.gz )
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
" ============================================================================= | |
" Miller Medeiros .vimrc file | |
" ----------------------------------------------------------------------------- | |
" heavily inspired by: @factorylabs, @scrooloose, @nvie, @gf3, @bit-theory, ... | |
" ============================================================================= | |
" ----------------------------------------------------------------------------- | |
" BEHAVIOR |
#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;
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
/* | |
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" { |
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/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 ) |
NewerOlder