Skip to content

Instantly share code, notes, and snippets.

View kondor6c's full-sized avatar

Kevin Faulkner kondor6c

View GitHub Profile
" Vimrc
" | Action | Emacs | Vim |
" |--------------------------------:|:--------------:|:------------------------|
" |undo (nano: M-U) | C-_ | u |
" |redo (nano: M-E) | C-_ (note) | C-r |
" |save (nano: C-x) | C-x C-s | :w |
" |quit (abort) (nano: C-x) | C-x C-c | :q! |
" |search (nano: C-/) | C-s | / |
" |replace (nano: C-/) | Esc % (dialog) | :%s/paittern/pattern/g |
" |insert | i (or) I | |
bad
cannot
can't
critical
declined
denied
doesn't
end of
error
fail
mkdir .ssh/
chmod 700 .ssh
chmod 600 ~/.ssh/authorized_keys
## Root
yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
yum install -y yum-utils
cat <<EOF > /etc/yum.repos.d/kubernetes.repo
[kubernetes]
name=Kubernetes
@kondor6c
kondor6c / clean_room_resume.rst
Last active November 18, 2022 19:47
First draft of converted and heavily rewritten Resume guide to understand skills: https://github.com/jsonresume/resume-schema/issues/16

Resume

Candidate:Kevin Faulkner
Address:
6921 Ashbury Dr
Springfield, VA USA 22152
Phone:1-480-440-6353
email:[email protected]
@kondor6c
kondor6c / kubernetes-the-hard-way-coredns.yaml
Last active September 14, 2019 22:51
Since I am getting a 403 currently, I am trying to mirror the content that was available
apiVersion: v1
kind: ServiceAccount
metadata:
name: coredns
namespace: kube-system
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRole
metadata:
labels:
@kondor6c
kondor6c / KickCustom.cfg
Last active March 4, 2020 15:02
qemu-packer-centos
# SCAP Security Guide profile kickstart for Red Hat Enterprise Linux 7 Server
# Version: 0.0.2
# Date: 2015-08-02
#
# Based on:
# http://fedoraproject.org/wiki/Anaconda/Kickstart
# https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Installation_Guide/sect-kickstart-syntax.html
# http://usgcb.nist.gov/usgcb/content/configuration/workstation-ks.cfg
# Install a fresh new system (optional)
#version=DEVEL
# System authorization information
auth --enableshadow --passalgo=sha512
text
skipx
ignoredisk --only-use=sda
keyboard --vckeymap=us --xlayouts='us'
lang en_US.UTF-8
firstboot --disable
timezone America/New_York
#version=DEVEL
# System authorization information
auth --enableshadow --passalgo=sha512
install
text
skipx
ignoredisk --only-use=nvme0n1
keyboard --vckeymap=us --xlayouts='us'
lang en_US.UTF-8
firstboot --disable
#version=DEVEL
# System authorization information
auth --enableshadow --passalgo=sha512
install
text
skipx
firstboot --disable
keyboard --vckeymap=us --xlayouts='us'
lang en_US.UTF-8
timezone America/New_York --isUtc
// thrown together (yes, its ugly) by kevin faulkner, if you use/modify it or want help, let me know
// under some kind of BSD license, just note original author so that I can meet more people that like doing this Linux stuff :-)
package main
import (
"bytes"
"database/sql"
"encoding/json"
"log"