I hereby claim:
- I am l0xy on github.
- I am l0xy (https://keybase.io/l0xy) on keybase.
- I have a public key ASCJ27HdqepojxVS0QHjDK_GIYCrHZHbzoeT-PYJH8Si7go
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
allow booting; | |
allow bootp; | |
subnet 192.168.144.0 netmask 255.255.255.0 { | |
range 192.168.144.20 192.168.144.250; | |
option domain-name "example.com"; | |
option domain-name-servers 192.168.144.1; | |
option broadcast-address 192.168.144.255; | |
option routers 192.168.144.1; | |
next-server 192.168.144.1; |
#!/bin/sh | |
# | |
# [[ genamc ]] ~ generatre random MAC with optional prefix | |
# | |
# Spencer Smolen, Nov. 2021 | |
# <[email protected]> | |
# | |
# | |
# Usage: genmac [PREFIX] |
#!/bin/bash | |
# Spencer Smolen <[email protected]>, 2021 | |
# | |
# Bootstraps a fresh EL8 installation to act as an Ansible control host. | |
# Modify the variables below to specify the versions of Python | |
# and Ansible you wish to set up the host with. | |
# | |
# Installs pyenv, which is used to install Python 3, | |
# which is used to install Ansible. |
#!/bin/sh | |
# | |
# [[ BOOTSTRAPS ANSIBLE COLLECTION SKELETON ]] | |
# [[ WITH MOLECULE ENVIRONMENT FOR TESTING ]] | |
# | |
# Spencer Smolen, December 2021 | |
# <[email protected]> | |
# | |
# |
# | |
# B O O T S T R A P P E R | |
# | |
# [[ Visual Studio 2022 ]] | |
# <[email protected]> | |
# | |
$install_path = "C:\minVS" | |
$installer_dest = (join-path -path $env:temp -childpath "vs2022.exe") |
# | |
# [ bs-iscsi-target.ps1 ] | |
# --------------------- | |
# <[email protected]>, 03/22 | |
# | |
# Configures iSCSI targets on remote machines to | |
# be mounted as if they were local drives | |
# | |
# $ Initialize-Service('MSiSCSI') | |
# $ Connect-IscsiHost('10.2.0.64') |
// | |
// fetch JSON | |
// | |
fetch('./api/some.json') | |
.then( | |
function(response) { | |
if (response.status !== 200) { | |
console.log('Looks like there was a problem. Status Code: ' + |
#!/bin/sh | |
LOG_PATH="${1:?}" | |
# awk -F\| '{ gsub(/^[ \t]+|[ \t]+$/, "", $6); gsub(/^[ \t]+|[ \t]+$/, "", $5);printf("%15s\033[90m%20s:%-10d\033[33m[%-30s] \033[90m\t~ %-20s\033[36m\t\t\"%25s\"\033[0m\n", $3, FILENAME, NR, $5, $4, $6)}' DebugLogFile.log | |
awk -F\| '{ | |
gsub(/^[ \t]+|[ \t]+$/, "", $6); | |
gsub(/^[ \t]+|[ \t]+$/, "", $5); | |
printf("%15s\033[90m%20s:%-10d\033[33m[%-30s] \033[90m\t~ %-20s\033[36m\t\t\"%25s\"\033[0m\n", $3, FILENAME, NR, $5, $4, $6) | |
}' `find "${LOG_PATH}"` |