Skip to content

Instantly share code, notes, and snippets.

View oakaigh's full-sized avatar
👻
* { color: black !important; }

Jared C oakaigh

👻
* { color: black !important; }
View GitHub Profile
@oakaigh
oakaigh / vmwk17key.txt
Created January 13, 2023 02:18 — forked from PurpleVibe32/vmwk17key.txt
Free VMware Workstation Pro 17 full license keys
Install VMWare Workstation PRO 17 (Read it right. PRO!)
*If you have a problem comment and people will try to help you!
*No virus
*No spam just license key
*Based on william's gist
MC60H-DWHD5-H80U9-6V85M-8280D < worked for me!
4A4RR-813DK-M81A9-4U35H-06KND
NZ4RR-FTK5H-H81C1-Q30QH-1V2LA
JU090-6039P-08409-8J0QH-2YR7F
import re
def _text_sep(f, rexp):
with open(f) as cells_md_f:
s = ''
rr = re.compile(rexp)
for l in cells_md_f.readlines():
if re.match(rr, l):
yield s
curl -L https://github.com/github/gitignore/raw/main/{C,C++,Global/{Linux,Windows,macOS,Vim,SublimeText,VisualStudioCode}}.gitignore > .gitignore
import itertools
import collections
import numpy as np
def isiter(a):
return isinstance(a, collections.abc.Iterable)
def iter_to_str(a, seps=itertools.repeat(' ')):
def _impl(_a, _sep, _nseps):
@oakaigh
oakaigh / upgrade.sh
Last active February 8, 2022 22:48
CentOS Stream 8 to 9 Upgrade
#!/usr/bin/env bash
sudo dnf -y --disablerepo epel-modular install http://mirror.stream.centos.org/9-stream/BaseOS/x86_64/os/Packages/centos-{gpg-keys,stream-{release,repos}}-9.0-9.el9.noarch.rpm
sudo dnf -y --disablerepo epel-modular --nogpgcheck upgrade epel-release
sudo dnf -y --releasever=9 --allowerasing --setopt=deltarpm=false distro-sync
sudo rpmdb --rebuilddb
strace $(printf -- '-p %s ' $(pgrep bash))

(NOTES) Cisco® Aironet® 2700 Series

(CASE: WLC unable to find AP) Firmware Upgrade

In Cisco IOS command-line interface (CLI):

enable
debug capwap console cli
delete /f /r flash:update
apt remove --purge motd-news-config
function pscmd() {
for e in $@; do
ps -p`pgrep $e` -wwo args | tail -n+2
done
}