I hereby claim:
- I am teh-random-name on github.
- I am shortcord (https://keybase.io/shortcord) on keybase.
- I have a public key whose fingerprint is E9AC 78F4 163A E6EF 3D50 BCD4 0E6F 6A4F 050B F91E
To claim this, I am signing this object:
| #!/usr/bin/env bash | |
| #shellcheck disable=2155 | |
| # Cronic v3 Edited - cron job report wrapper | |
| # Copyright 2007-2016 Chuck Houpt. No rights reserved, whatsoever. | |
| # Public Domain CC0: http://creativecommons.org/publicdomain/zero/1.0/\ | |
| # Source: https://habilis.net/cronic/ | |
| function exitTrap { | |
| ## Short out if $TMP is root for some reason |
I hereby claim:
To claim this, I am signing this object:
| #!/bin/sh | |
| dig -x $(dig +short ${1}); |
| #!/usr/bin/env bash | |
| # Built for CloudSouth.com | |
| # This script wipes disk partition tables via wipefs(8) and reports Wearout via smartctl(8). | |
| # Mainly built for SSDs, hence the Wearout reporting. | |
| # Currently Supports Intel, Kingston, and Micron | |
| # If you wish to add support for a disk that isn't listed | |
| # run smartctl -A /dev/disk/sdx, where sdx is the disk you want to add. | |
| # Look for the attribute that is for reporting disk wear, this differs per manufacturer and not every disk reports wear. | |
| # Add that attribute in the egrep command where the "wear" variable is being assiged. |
| # Mount the storage or CD to a USB disk | |
| cd ./storage | |
| # Create the VM to import to | |
| # we are assuming id of 1100 | |
| VMID=1100 | |
| qm create "${VMID}" \ | |
| --name "Imported VM" \ | |
| --memory 1024 \ | |
| --cores 4 |
| [influxdb] | |
| name = InfluxDB Repository - RHEL \$releasever | |
| baseurl = https://repos.influxdata.com/rhel/\$releasever/\$basearch/stable | |
| enabled = 1 | |
| gpgcheck = 1 | |
| gpgkey = https://repos.influxdata.com/influxdb.key |
| !#/bin/sh | |
| ipmi-oem dell get-power-consumption-statistics average | awk -F":" '{gsub (" ", "", $0); print}' | jq --slurp --compact-output --raw-input 'split("\n") | map(select(. !="") | split(":") | { (.[0]): (.[1]) })' |
| $wmicOutput = ((wmic path softwarelicensingservice get OA3xOriginalProductKey) | Out-String).Replace("`n", ""); | |
| $regexMatch = [regex]::Match($wmicOutput, "(?<orgKey>[a-zA-Z0-9]+-[a-zA-Z0-9]+-[a-zA-Z0-9]+-[a-zA-Z0-9]+-[a-zA-Z0-9]+)"); | |
| if ($regexMatch.Success) | |
| { | |
| echo "Found Key from UEFI BIOS"; | |
| $key = $regexMatch.Groups["orgKey"]; | |
| Set-Clipboard $key; | |
| echo "$key; Copied to Clipboard."; |
| { | |
| "meta": { | |
| "theme": "flat" | |
| }, | |
| "basics": { | |
| "name": "Tristan H Smith", | |
| "label": "Linux & Windows System Administrator / C# Programmer", | |
| "url": "https://shortcord.com", | |
| "picture": "https://i.imgur.com/rcWj4JW.jpg", | |
| "email": "[email protected]", |
| # the -p flag shows progress of qmeu-img | |
| # -O flag sets output of file | |
| # for more view man qmeu-img or https://linux.die.net/man/1/qemu-img | |
| qmeu-img convert -p -O vdi /path/to/qcow2.img /path/to/output.vdi |