Skip to content

Instantly share code, notes, and snippets.

View corbtastik's full-sized avatar
😀

corbs corbtastik

😀
  • Red Hat - Application Architect
  • Texas
View GitHub Profile
@corbtastik
corbtastik / _sprinkles.scss
Created March 11, 2023 22:10
Sprinkles syntax-highlighting colors for Yolo single-page theme.
// ----------------------------------------------------------------------------
// sprinkles light-mode syntax theme for: https://github.com/corbtastik/yolo
// ----------------------------------------------------------------------------
$light-syntax-comment-hashbang: #9e9e9e;
$light-syntax-comment-multiline: #9e9e9e;
$light-syntax-comment-preproc: #ec417a;
$light-syntax-comment-preprocfile: #9e9e9e;
$light-syntax-comment-single: #9e9e9e;
$light-syntax-comment-special: #9e9e9e;
$light-syntax-comment: #9e9e9e;
@corbtastik
corbtastik / _dracula.scss
Created March 11, 2023 21:04
Dracula syntax-highlighting colors for Yolo single-page theme.
// ----------------------------------------------------------------------------
// dracula light-mode syntax theme for: https://github.com/corbtastik/yolo
// ----------------------------------------------------------------------------
$light-syntax-comment-hashbang: #6272a4;
$light-syntax-comment-multiline: #6272a4;
$light-syntax-comment-preproc: #ff79c6;
$light-syntax-comment-preprocfile: #ff79c6;
$light-syntax-comment-single: #6272a4;
$light-syntax-comment-special: #6272a4;
$light-syntax-comment: #6272a4;
@corbtastik
corbtastik / _monokai.scss
Created March 11, 2023 21:02
Monokai syntax-highlighting colors for Yolo single-page theme.
// ----------------------------------------------------------------------------
// monokai light-mode syntax theme for: https://github.com/corbtastik/yolo
// ----------------------------------------------------------------------------
$light-syntax-comment-hashbang: #75715e;
$light-syntax-comment-multiline: #75715e;
$light-syntax-comment-preproc: #75715e;
$light-syntax-comment-preprocfile: #75715e;
$light-syntax-comment-single: #75715e;
$light-syntax-comment-special: #75715e;
$light-syntax-comment: #75715e;
@corbtastik
corbtastik / .bashrc
Created January 3, 2023 00:27
Corb's bashrc file
# -----------------------------------------------------------------------------
# corbs-bashrc:v1
# -----------------------------------------------------------------------------
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# User specific environment
@corbtastik
corbtastik / todos-multi-container.md
Last active May 11, 2022 19:11
A multi-container experiment with podman

Todo(s) Multi Container with Podman

An experiment running multiple Rootless containers in podman.

4 container application

Source Code

@corbtastik
corbtastik / minio.sh
Last active July 6, 2022 07:21
Bash script to configure, start and stop single node MinIO container instance on Docker
#!/bin/bash
# --------------------------------------------------------------------
# [init] Create run dir, env file if they don't exist, then source env
# --------------------------------------------------------------------
init() {
MINIO_CONTAINER_NAME=$1
MINIO_RUN_DIR=/data1/run/${MINIO_CONTAINER_NAME}
MINIO_DATA=${MINIO_RUN_DIR}/data
MINIO_CERTS=${MINIO_RUN_DIR}/certs
# create run dir for container instance
@corbtastik
corbtastik / diskyo.sh
Created April 6, 2021 19:44
cheap disk write test
#!/bin/bash
writeYo() {
X_00=`stat -tc %s .`
dd if=/dev/zero of=/tmp/diskyo-${X_00} bs=${X_00} count=100k conv=fdatasync,notrunc status=progress
X_02=$(( 2*$X_00 ))
dd if=/dev/zero of=/tmp/diskyo-${X_02} bs=${X_02} count=100k conv=fdatasync,notrunc status=progress
X_04=$(( 4*$X_00 ))
dd if=/dev/zero of=/tmp/diskyo-${X_04} bs=${X_04} count=100k conv=fdatasync,notrunc status=progress
X_06=$(( 6*$X_00 ))
dd if=/dev/zero of=/tmp/diskyo-${X_06} bs=${X_06} count=100k conv=fdatasync,notrunc status=progress
@corbtastik
corbtastik / VMWARE_FUSION.md
Last active April 8, 2022 15:46
VMWare Fusion Headless VM execution on OSX

Symlink VMs Folder

Create symlink to where VMware Fusion stores VM images, use this symbolic path instead default spacey path. On my OSX dev machine that folder is $HOME/Virtual\ Machines.localized.

# symlink path $HOME/vms
ln -s Virtual\ Machines.localized vms

Create a folder for VMware Fusion stuff

@corbtastik
corbtastik / BIND.md
Last active February 21, 2021 16:18
RETROMAC_DNS

BIND config for retomac homelab (MacPro 5,1 with vmware)

Provision ubuntu 18.04 VM

  • Manually configure static interface
  • Install Bind DNS - sudo apt-get install bind9 bind9utils bind9-doc

named.conf.options

Configure BIND server options