[Verifying my keoxide cryptographic key: https://keyoxide.org/27265882624F80FE7DEB8B2BCA75B6EC61A21F8F]
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# vim:ft=zsh ts=2 sw=2 sts=2 | |
# | |
# agnoster's Theme - https://gist.github.com/3712874 | |
# A Powerline-inspired theme for ZSH | |
# | |
# # README | |
# | |
# In order for this theme to render correctly, you will need a | |
# [Powerline-patched font](https://github.com/Lokaltog/powerline-fonts). | |
# Make sure you have a recent version: the code points that Powerline |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#Paths are for Centos 7.x | |
# Install optional packages | |
/usr/bin/yum install -y epel-release | |
/usr/bin/yum install -y bash-completion htop yum-utils dkms open-vm-tools | |
#stop logging services | |
/sbin/service rsyslog stop | |
/sbin/service auditd stop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This little bit of magic is great | |
# It will run a simple script that pulls vars from vault | |
echo -n "Vault Password: " | |
read -s PW | |
echo "" | |
LVT=$(curl -ks --request POST --data "{\"password\": \"$PW\"}" https://localhost:8200/v1/auth/userpass/login/pez | jq -r '.auth.client_token') | |
echo "LVT: [ $LVT ]" | |
curl -ks --header "X-Vault-Token: $LVT" https://localhost:8200/v1/kv/data/zshrc | jq -r '.data.data | to_entries | .[] | .key + "=" + .value' | while read i; do |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Wed Apr 29 21:30:45 UTC 2020 |
- Fast and Furious Franchise (except for Hobbs and Shaw): So rediculous. Give them a car and they'll do the impossible
- AD BC: 70s Music about the biblical story of the Natvity - if it was set in '72.
- Airborne: Not Airbud.
- The Apple: Disco music is the devil.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ForegroundColour=184,187,194 | |
BackgroundColour=0,0,0 | |
CursorColour=184,187,194 | |
Black=6,18,41 | |
BoldBlack=113,120,133 | |
Red=208,115,70 | |
BoldRed=240,160,0 | |
Green=169,208,130 | |
BoldGreen=63,78,107 | |
Yellow=251,212,97 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HumanReadable | Kaomoji | KaomojiEscaped | |
---|---|---|---|
Shruggie | ¯\_(ツ)_/¯ | ¯\\\_(ツ)_/¯ | |
TableFlip | (╯°□°)╯︵ ┻━┻ | (╯°□°)╯︵ ┻━┻ | |
TableDown | ┬─┬ノ( º _ ºノ) | ┬─┬ノ( º _ ºノ) | |
Angry | (/゚Д゚)/ | (/゚Д゚)/ | |
Disappointed | ಠ_ಠ | ಠ_ಠ | |
Strut | ᕕ( ᐛ )ᕗ | ᕕ( ᐛ )ᕗ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Get-OlkbOrder { | |
<# | |
.SYNOPSIS | |
Checks for a given order on https://olkb.com/ to determine the current place in line for shipping. Optionally stores the | |
place in line in a file on disk. | |
.DESCRIPTION | |
Parses the current orders markdown file on github for https://olkb.com orders, searching for a given order number. When | |
found, the order number and place in line is output. If the option for tracking is provided, the current place in line | |
is compared to the previously stored place in line and the difference is displayed. | |
.EXAMPLE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Get-Benchmark { | |
[CmdletBinding()] | |
param( | |
$ScriptBlock, | |
[Int32] $Iterations | |
) | |
begin {} | |
process { | |
$AllTimespans = [System.Collections.ArrayList]@() |
NewerOlder