This file contains hidden or 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
@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 |
This file contains hidden or 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
// 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" |
This file contains hidden or 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
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 |
This file contains hidden or 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
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: |
This file contains hidden or 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
\ / | |
\ They're behind / | |
\ you / | |
] [ ,'| | |
] [ / | | |
]___ ___[ ,' | | |
] ]\ /[ [ |: | | |
] ] \ / [ [ |: | | |
] ] ] [ [ [ |: | | |
] ] ]__ __[ [ [ |: | |
This file contains hidden or 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
^([A-Za-z_][A-Za-z0-9_]*)=(?:([^\s'"#]\S*)|(['"])((?:(?!\3)(?:.|\n)|(?<!\\)(?:\\\\)*\\\3)*)\3|())\s*?(?:#.*)?$ |
This file contains hidden or 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
class BreakableArray extends Array { | |
forEach(callbackFn, thisArg) { | |
let index = 0; | |
while(index < this.length) { | |
let _break = false; | |
callbackFn.call(thisArg, this[i], index, this, () => _break = true); | |
if(_break) { | |
break; |
This file contains hidden or 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
const memoize = (() => { | |
const wvm = new WeakValueMap(); | |
return function (func, hash = JSON.stringify) { | |
return function () { | |
const key = hash.apply(this, arguments); | |
if (wvm.has(key)) { |
This file contains hidden or 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
export function log(value, options) { | |
return console.dir(value, { | |
showHidden: true, | |
depth: null, | |
colors: true, | |
...options | |
}); | |
} | |
export function isKey(key) { |
This file contains hidden or 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
#!/usr/bin/env bash | |
set -e | |
say() { | |
local -r msg=$(tr -d "\n" <<<"$@") | |
local -ir len=${#msg} | |
local hr pad | |
printf -v hr -- "-%.0s" $(seq $((len > 40 ? 42 : len + 2))) |
OlderNewer