Skip to content

Instantly share code, notes, and snippets.

View kondor6c's full-sized avatar

Kevin Faulkner kondor6c

View GitHub Profile
@kondor6c
kondor6c / Spark EV BECM
Created March 13, 2021 20:41 — forked from anonymous/Spark EV BECM
2015 Chevy Spark EV valid mode 22 PIDs (BECM)
2015 Chevy Spark EV valid mode 22 PIDs --
controller 0x7E7 (responds on 0x7EF) ("BECM-B+EnergyCtrl" / Battery Energy Control Module)
Car at nearly full charge (sitting in garage idle),
ambient weather ~65 deg F (19 deg C)
* indicates probable 8-bit temperature sensor (sensor value - 0x28) = deg C
+ indicated probable 16-bit cell voltage sensor -- units unknown
PID value
---- ---------------
0000 00 00 00 01
data "google_compute_subnetwork" "specified_subnetwork" {
name = "${var.subnet_name}-${local.subnet_number}"
}
data "google_compute_default_service_account" "default" {
}
data "google_compute_network" "specified_network" {
name = var.network_name
}
// 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"
#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
#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
text
skipx
ignoredisk --only-use=sda
keyboard --vckeymap=us --xlayouts='us'
lang en_US.UTF-8
firstboot --disable
timezone America/New_York
@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)
@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 / 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]
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