Skip to content

Instantly share code, notes, and snippets.

View MaxDefense's full-sized avatar

MaxDefense

View GitHub Profile
@MaxDefense
MaxDefense / LICENCE SUBLIME TEXT
Created May 8, 2019 16:40
Sublime Text 3 Serial key build is 3176
## Sublime Text 3 Serial key build is 3176
> * Added these lines into /etc/hosts
127.0.0.1 www.sublimetext.com
127.0.0.1 license.sublimehq.com
> * Used the license key
----- BEGIN LICENSE -----
@MaxDefense
MaxDefense / Add Bash to Explorer.reg
Created December 22, 2022 02:51
Add Bash to Explorer / Добавление Bash в проводник
Windows Registry Editor Version 5.00
; "C:\Git\" - path to your git
; You can replace this part of the path with the one you need
[HKEY_CLASSES_ROOT\Directory\Background\shell\bash]
@="Open bash ..."
[HKEY_CLASSES_ROOT\Directory\Background\shell\bash\command]
@="C:\Git\git-bash.exe"
@MaxDefense
MaxDefense / callback(with_arguments).py
Created March 15, 2023 13:50
Callback a function with arguments in python 3.8.10
#! callback - function transmitted as a parameter of another function
# // def first(x):
# // print('- first function works')
# // x()
def first(x, *args):
print('- first function works')
x(*args)
def second():