Skip to content

Instantly share code, notes, and snippets.

@KOLANICH
KOLANICH / MonkeyKombat.py
Last active May 14, 2023 14:36
Escape from Monkey Island Monkey Kombat advisor/"calculator"
#!/usr/bin/env python3
import asyncio
import typing
from pathlib import Path
import networkx as nx
from plumbum import cli
from prompt_toolkit.patch_stdout import patch_stdout
from prompt_toolkit.shortcuts import PromptSession
@KOLANICH
KOLANICH / ReadMe.ipynb
Last active March 9, 2022 16:45
Seaborn jointplot with fitted gaussian underlay
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@KOLANICH
KOLANICH / pep-9999.rst
Last active August 31, 2020 19:03
PEP 9999: A metadata format for entry points

PEP: 9999 Title: A metadata format for entry points Author: KOLANICH Status: Draft Type: Standards Track Content-Type: text/x-rst Created: 29-Jul-2020 Python-Version: 3.9 Post-History:

@KOLANICH
KOLANICH / roundedcube.scad
Last active May 26, 2022 19:53 — forked from groovenectar/roundedcube.scad
roundedcube.scad - Fork me and make me better!
// Set to 0.01 for higher definition curves (renders slower)
$fs = 0.15;
module cornerCut(sizeX, sizeY, size, r){
translate([sizeX-r, sizeY-r, 0]){
difference(){
translate([0, 0, -size/2]){
cube(size=[r, r, size]);
}
cylinder(h = size, r = r, center = true);
@KOLANICH
KOLANICH / NotepadPlusPlusSessionFromBackup.py
Created April 4, 2018 12:25
This scriot will help you recover Notepad++ session from backup folder
__author__="KOLANICH"
__license__="Unlicense"
__copyright__=r"""
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
@KOLANICH
KOLANICH / AreWeX86_64Yet.md
Last active May 25, 2018 07:39
AreWeX86_64Yet
@KOLANICH
KOLANICH / userDefineLang.xml
Created February 7, 2017 22:17
Notepad++ UDL for QSP
<UserLang name="QSP" ext="" udlVersion="2.1">
<Settings>
<Global caseIgnored="no" allowFoldOfComments="yes" foldCompact="no" forcePureLC="1" decimalSeparator="0" />
<Prefix Keywords1="no" Keywords2="no" Keywords3="no" Keywords4="no" Keywords5="no" Keywords6="yes" Keywords7="no" Keywords8="no" />
</Settings>
<KeywordLists>
<Keywords name="Comments">00 01! 02 03!&quot; 04&quot;</Keywords>
<Keywords name="Numbers, prefix1"></Keywords>
<Keywords name="Numbers, prefix2"></Keywords>
<Keywords name="Numbers, extras1"></Keywords>
@KOLANICH
KOLANICH / userDefineLang.xml
Created February 7, 2017 22:16
Notepad++ UDL for Quantum Espresso
<UserLang name="Quantum Espresso" ext="" udlVersion="2.1">
<Settings>
<Global caseIgnored="no" allowFoldOfComments="yes" foldCompact="no" forcePureLC="0" decimalSeparator="0" />
<Prefix Keywords1="no" Keywords2="no" Keywords3="no" Keywords4="no" Keywords5="no" Keywords6="no" Keywords7="no" Keywords8="yes" />
</Settings>
<KeywordLists>
<Keywords name="Comments">00 01 02 03 04</Keywords>
<Keywords name="Numbers, prefix1"></Keywords>
<Keywords name="Numbers, prefix2"></Keywords>
<Keywords name="Numbers, extras1"></Keywords>
@KOLANICH
KOLANICH / DebugTools.js
Created June 26, 2014 12:16
AI-Challenge.com debug tools
/*
@author KOLANICH <https://github.com/KOLANICH>
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
In jurisdictions that recognize copyright laws, the author or authors