MySQL Download URL
https://dev.mysql.com/get/Downloads/MySQL-5.5/mysql-5.5.56-linux-glibc2.5-x86_64.tar.gz
- Uninstall any existing version of MySQL
sudo rm /var/lib/mysql/ -R
Display role bindings for conjur-cluster service account token
oc get clusterrolebindings -o json \
| jq '.items | map(select(any(.subjects[]; .name | contains("conjur-cluster"))))'
Display conjur-authenticator role information
oc describe clusterrole conjur-authenticator
using System; | |
using System.Threading; | |
using System.Threading.Tasks; | |
namespace ValidateJWTConsoleApp | |
{ | |
class Helper | |
{ | |
internal static class AsyncHelper | |
{ |
#!/bin/bash | |
# We’re now going to clean up disk space on the VM so when we package it into a new Vagrant box, it’s as clean as possible. First, remove APT cache | |
sudo apt-get clean | |
# Then, “zero out” the drive (this is for Ubuntu): | |
sudo dd if=/dev/zero of=/EMPTY bs=1M | |
sudo rm -f /EMPTY | |
# Lastly, let’s clear the Bash History and exit the VM: |
auto lo | |
iface lo inet loopback | |
auto ens160 | |
iface ens160 inet static | |
address IP_ADDR | |
netmask NETMASK | |
gateway DEFAULT_GATEWAY | |
dns-nameservers DNS |
/etc/pki/ca-trust/source/anchors
on your CentOS machineupdate-ca-trust extract
wget https://thewebsite.org
## Configure eth0 | |
# | |
# vi /etc/sysconfig/network-scripts/ifcfg-eth0 | |
DEVICE="eth0" | |
NM_CONTROLLED="yes" | |
ONBOOT=yes | |
HWADDR=A4:BA:DB:37:F1:04 | |
TYPE=Ethernet | |
BOOTPROTO=static |
I work as a full-stack developer at work. We are a Windows & Azure shop, so we are using Windows as our development platform, hence this customization.
For my console needs, I am using Cmder which is based on ConEmu with PowerShell as my shell of choice.
Yes, yes, I know nowadays you can use the Linux subsystem on Windows 10 which allow you to run Ubuntu on Windows. If you are looking for customization of the Ubuntu bash shell, check out this article by Scott Hanselman.
sudo apt-get install python-pip
or wget https://bootstrap.pypa.io/get-pip.py && sudo python get-pip.py
sudo pip install powerline-status
git clone https://github.com/powerline/fonts.git && cd fonts && sh ./install.sh
set rtp+=/usr/local/lib/python2.7/dist-packages/powerline/bindings/vim/
> " Always show statusline
#Installing VirtualBox | |
echo "Installing VirtualBox........................" | |
sudo apt-get install virtualbox | |
#Installing kubectl https://kubernetes.io/docs/getting-started-guides/kubectl/ | |
echo "Installing kubectl..........................." | |
wget https://storage.googleapis.com/kubernetes-release/release/v1.4.4/bin/linux/amd64/kubectl | |
chmod +x kubectl | |
sudo mv kubectl /usr/local/bin/kubectl |