Skip to content

Instantly share code, notes, and snippets.

View jhunterkohler's full-sized avatar
🇺🇸
Working from the USA

Hunter Kohler jhunterkohler

🇺🇸
Working from the USA
  • United States
View GitHub Profile
from typing import Union, Any
class namespace:
def __init__(self, *args: Union[tuple[str, Any], dict[str, Any]], **kwargs):
for arg in args:
if type(arg) == dict:
self.__dict__.update(arg)
elif type(arg) == tuple and len(tuple) == 2:
self.__dict__.update(arg)
else:
export EDITOR=nano
export ZSH=~/.oh-my-zsh
export RC=~/.zshrc
export LIBRARY="/mnt/c/Users/Hunter Kohler"
export PATH="/home/jkohler/.local/bin:/home/jkohler/mongodb/bin:$PATH"
source $ZSH/oh-my-zsh.sh
source ~/powerlevel10k/powerlevel10k.zsh-theme
@jhunterkohler
jhunterkohler / autoexec.cfg
Last active June 18, 2020 21:22
Counter-Strike: Global Offensive config files
// LINKED FROM
// "C:\Users\Hunter Kohler\Documents\Gists\CSGO Config\autoexec.cfg"
// LINKED TO
// "C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\csgo\cfg\autoexec.cfg"
// unbinds
unbind "F3"
unbind "F4"
unbind "F5"
@jhunterkohler
jhunterkohler / AW10.bat
Last active May 26, 2020 01:08
Activate all versions of windows 10
@echo off
title Windows 10 ALL version activator&cls&echo ************************************ &echo Supported products:&echo - Windows 10 Home&echo - Windows 10 Professional&echo - Windows 10 Enterprise, Enterprise LTSB&echo - Windows 10 Education&echo.&echo.&echo ************************************ &echo Windows 10 activation...
cscript //nologo c:\windows\system32\slmgr.vbs /ipk TX9XD-98N7V-6WMQ6-BX7FG-H8Q99 >nul
cscript //nologo c:\windows\system32\slmgr.vbs /ipk 3KHY7-WNT83-DGQKR-F7HPR-844BM >nul
cscript //nologo c:\windows\system32\slmgr.vbs /ipk 7HNRX-D7KGG-3K4RQ-4WPJ4-YTDFH >nul
cscript //nologo c:\windows\system32\slmgr.vbs /ipk PVMJN-6DFY6-9CCP6-7BKTT-D3WVR >nul
cscript //nologo c:\windows\system32\slmgr.vbs /ipk W269N-WFGWX-YVC9B-4J6C9-T83GX >nul
cscript //nologo c:\windows\system32\slmgr.vbs /ipk MH37W-N47XK-V7XM9-C7227-GCQG9 >nul
cscript //nologo c:\windows\system32\slmgr.vbs /ipk NW6C2-QMPVW-D7KKK-3GKT6-VCFB2 >nul
cscript //nologo c:\windows\system32\slmgr.vbs /ipk NW6C2-QMPVW-D7KKK-3GKT6-VCFB2