Skip to content

Instantly share code, notes, and snippets.

View philipprochazka's full-sized avatar

Philip Procházka philipprochazka

View GitHub Profile
@philipprochazka
philipprochazka / en_us_dictionary_extended-1.xpi
Created April 19, 2026 08:41
English-En_US[hunspell-firefox]extended_dictionary-Sourcefile.xpi
This file has been truncated, but you can view the full file.
PKREADME_mozilla.txt$��m� л���p�9J����b�53���~���&�߮Ryc�Y��l�T�Y�{�Ή����ML`Y����4 /8�J�� �XX��a�1��ڛ^ ����>F
��(�˴�i�#7ɏ�g�;4���
��PK����PKREADME_en_US-extended.txt�{�r����=��K7�N Z���lm�"!����^W��4�Y3ܙ�h���2��<¾X�{ H�g}�Q����$�����_w�P�����Ȣ�Rv�E�9��0�h����;H ka�E���|�F�0鏾܁P9H�U�D�KZh�n��E�\�G��������0s�����}Fc�Vp~v~��w��G�
a����ه��g�O���E��[_�~� �;VW&Å6K�(tQ4Nz���@Xh�ZҮv�7�J� Y7ҭ�5��
-�o! ���RYl!3�:��TK��\�y]�G<].O�Dd3#��� ���H ��e�(��ƨx�������{%� u��{p�J�yt{}*-�񵑎��|I�G^<���7�x�������WYgD�����,�f������c�:� d���$`�(mJQ����?>��P��A��*���X��mGN�LWF,2����kv�a�^@�U��] ����I)�c�|���K�C,E�%(�n��*�\��Z;�f�ʫ,l��9�A����Jm��>G+��'4p�=��x"��h��@XȄ�EE�g+��h�4FK���)�ۦ�#��,˓i�TPJ�'m@�'Q�����Y�����R�.K�bآ~5��V�A)�+��,���X�mY�|�bKZ�c��TK z�6t�A ẑ}����ql��Q&
T9��rG Kt �Q" �r�@�*C�}:�VH�i�߂*ץ�(b;Z�3/?0�-�v�: ��_�)�7 7�故�
�G��
@philipprochazka
philipprochazka / czech_spell_checking_dictionar-2.0.xpi
Created April 19, 2026 08:38
Czech-Hunspell[MozilaFirefox]dictionary2-sourcefile.xpi
This file has been truncated, but you can view the full file.
@philipprochazka
philipprochazka / Run-poshAsAdmin.cmd
Created July 18, 2025 21:51
Launch administrative powershell
runas /trustlevel:0x20000 powershell.exe
@philipprochazka
philipprochazka / Powershell-modules-Source-locations.md
Created July 18, 2025 21:49
Distplay current powershell enviromental setup

C: \Users\philip\Documents\PowerShell\Modules C: \Program Files\PowerShell\Modules c: \program files\powershell\7\Modules C: \Users\philip\scoop\modules C: \Users\philip\Documents\WindowsPowerShell\Modules C: \Program Files\WindowsPowerShell\Modules C: \Windows\system32\WindowsPowerShell\v1.0\Modules C: \Program Files (x86)\Windows Kits\10\Microsoft Application Virtualization\Sequencer\AppvPkgConverter C: \Program Files (x86)\Windows Kits\10\Microsoft Application Virtualization\Sequencer\AppvSequencer C: \Program Files (x86)\Windows Kits\10\Microsoft Application Virtualization\

@philipprochazka
philipprochazka / extractor_root_metadata.py
Created July 2, 2025 23:24
Recursively scan a folder for SVG/CSS, For each file, extract its metadata. Output a single batch_summary.extract.md with a TOC{Table of Contents} and collapsible per-file sections,
import sys
import os
from pathlib import Path
import xml.etree.ElementTree as ET
import re
# --- Hybrid extraction functions (from extractor_hybrid.py, refactored) ---
def extract_svg_doc_properties(svg_root):
width = svg_root.attrib.get('width', 'unknown')
import sys
import re
from pathlib import Path
import xml.etree.ElementTree as ET
# === Helper functions ===
def extract_svg_doc_properties(svg_root):
width = svg_root.attrib.get('width', 'unknown')
height = svg_root.attrib.get('height', 'unknown')
@philipprochazka
philipprochazka / extract_colors_to_markdown.py
Last active July 2, 2025 22:50
extract svg or css colors to a markdown colorwriteout
import re
import sys
from pathlib import Path
# Regex patterns for color formats
HEX_COLOR_RE = re.compile(r'#(?:[0-9a-fA-F]{3,4}){1,2}')
RGB_COLOR_RE = re.compile(r'rgb(?:a)?\(\s*[\d\s,\.%]+\)')
HSL_COLOR_RE = re.compile(r'hsl(?:a)?\(\s*[\d\s,\.%]+\)')
NAMED_COLOR_RE = re.compile(r':\s*([a-zA-Z]+)\s*;')
CSS_VAR_RE = re.compile(r'--([\w-]+)\s*:\s*([^;]+);')
@philipprochazka
philipprochazka / Windows_11-Tweaks-Mmotti.ps1
Created May 17, 2025 11:55
Usefull loop blocks for Powershell and general OS-Management
. "$PSScriptRoot\assets\classes.ps1"
Function Test-IsAdminElevated {
if (([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdentity]::
GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] "Administrator")) {
return $true
}
else {
return $false
}

‎‎​

@philipprochazka
philipprochazka / curl_cheatsheet.md
Created December 19, 2024 23:46 — forked from mpoerwito/curl_cheatsheet.md
curl cheatsheet from HTB

cURL

Command Description
 curl -h cURL help menu
 curl inlanefreight.com Basic GET request
 curl -s -O inlanefreight.com/index.html Download file
 curl -k https://inlanefreight.com Skip HTTPS (SSL) certificate validation
 curl inlanefreight.com -v Print full HTTP request/response details
 curl -I https://www.inlanefreight.com Send HEAD request (only prints response headers)