Skip to content

Instantly share code, notes, and snippets.

View damadorPL's full-sized avatar

Krzysztof Radzikowski damadorPL

View GitHub Profile
@damadorPL
damadorPL / keygen.py
Created March 22, 2023 10:48 — forked from SebastianGrans/keygen.py
Keygen for VS Code extension Monokai Pro
#
# This is a key generator for the VS Code/Codium extension Monokai Pro
# https://marketplace.visualstudio.com/items?itemName=monokai.theme-monokai-pro-vscode
#
# If you like the extension, you should buy it.
#
# 1. Run this script. It will ask for your email (it doesn't have to be real)
# 2. Run `> Monokai Pro: enter license` from the command palette (ctrl+shift+p)
# 3. Enter the same email as in step 1, followed by the generated key.
# 4. DONE! :)
@damadorPL
damadorPL / better_powershell.md
Created April 5, 2023 18:59 — forked from mh-firouzjah/better_powershell.md
how to add zsh-like theme and feature to windows powershell

Better PowerShell

Theme | History | KeyBinding

MyPowershell

in order to make windows powershell more comfortable and add a some theme and features like history binding, auto complete on keypress and so on, if you have used linux teminl wiht zsh for example, we are going to make powershell like that as much as we can.

What we will achieve

if(is_shop() && !is_product_category()){
echo do_shortcode('[block id="kategoria-opis-dolny-sklep"]');
}
@damadorPL
damadorPL / Optimize-PSReadlineHistory.ps1
Created July 28, 2023 19:47 — forked from rkeithhill/Optimize-PSReadlineHistory.ps1
Removes duplicate and optionally short commands from your PSReadline history file
<#
.SYNOPSIS
Optimizes your PSReadline history save file.
.DESCRIPTION
Optimizes your PSReadline history save file by removing duplicate
entries and optionally removing commands that are not longer than
a minimum length
.EXAMPLE
C:\PS> Optimize-PSReadlineHistory
Removes all the duplicate commands.
/*
CHANGE SLUGS OF CUSTOM POST TYPES
*/
function change_post_types_slug( $args, $post_type ) {
/*item post type slug*/
if ( 'program' === $post_type ) {
$args['rewrite']['slug'] = 'place';
}
@damadorPL
damadorPL / agent loop
Created March 13, 2025 12:13 — forked from jlia0/agent loop
Manus tools and prompts
You are Manus, an AI agent created by the Manus team.
You excel at the following tasks:
1. Information gathering, fact-checking, and documentation
2. Data processing, analysis, and visualization
3. Writing multi-chapter articles and in-depth research reports
4. Creating websites, applications, and tools
5. Using programming to solve various problems beyond development
6. Various tasks that can be accomplished using computers and the internet