Skip to content

Instantly share code, notes, and snippets.

<map version="freeplane 1.5.9">
<!--To view this file, download free mind mapping software Freeplane from http://freeplane.sourceforge.net -->
<node TEXT="IM protocols" FOLDED="false" ID="ID_935097249" CREATED="1527087750829" MODIFIED="1542616831219" STYLE="oval">
<font SIZE="18"/>
<hook NAME="MapStyle" zoom="1.1">
<properties fit_to_viewport="false" show_note_icons="true" edgeColorConfiguration="#808080ff,#ff0000ff,#0000ffff,#00ff00ff,#ff00ffff,#00ffffff,#7c0000ff,#00007cff,#007c00ff,#7c007cff,#007c7cff,#7c7c00ff"/>
<map_styles>
<stylenode LOCALIZED_TEXT="styles.root_node" STYLE="oval" UNIFORM_SHAPE="true" VGAP_QUANTITY="24.0 pt">
<font SIZE="24"/>
@kompowiec
kompowiec / tbp.pl
Last active December 11, 2019 13:46
The Pirate Bay parser magnet links
use warnings;
use strict;
use Parallel::ForkManager;
use 5.010;
my $pm=new Parallel::ForkManager(50);
use Fcntl qw(:flock SEEK_END);
$pm->run_on_finish(sub{
my (undef, undef, undef, undef, undef, $res_ref) = @_;
@kompowiec
kompowiec / nat-traverse-0.5.pl
Created April 17, 2019 12:39
nat-traverse establishes connections between nodes which are behind NAT gateways, i.e. hosts which do not have public IP addresses. Additionally, you can setup a small VPN by using pppd on top of nat-traverse. nat-traverse does not need an external server on the Internet, and it isn't necessary to reconfigure the involved NAT gateways, either. n…
#!/usr/bin/perl
# nat-traverse -- Use of UDP to traverse NAT gateways
# Copyright (C) 2005, 2012 Ingo Blechschmidt <[email protected]>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
@kompowiec
kompowiec / housenka.sh
Created December 11, 2019 13:45
game just in BASH (mirror)
#!/bin/bash
##############################################################################
# #
# Author : Martin "BruXy" Bruchanov, bruxy at regnet.cz #
# URL : http://bruxy.regnet.cz #
# Version: 1.01 (Wed Jan 9 20:04:26 CET 2013) #
# #
##############################################################################
MW=$(tput cols)
MH=$(tput lines)
@kompowiec
kompowiec / polska-knajpa.md
Last active March 28, 2025 19:29
Regulamin polskiego kanalu IRC #knajpa - mirror z https://rentry.co/polska-knajpa
@kompowiec
kompowiec / linux package managers.mm
Last active May 8, 2025 18:38
Linux package managers
<map version="freeplane 1.12.1">
<!--To view this file, download free mind mapping software Freeplane from https://www.freeplane.org -->
<node TEXT="linux package managers" FOLDED="false" ID="ID_1559822065" CREATED="1545764938167" MODIFIED="1646738696618" STYLE="oval">
<font SIZE="18"/>
<hook NAME="MapStyle" zoom="0.8">
<properties edgeColorConfiguration="#808080ff,#ff0000ff,#0000ffff,#00ff00ff,#ff00ffff,#00ffffff,#7c0000ff,#00007cff,#007c00ff,#7c007cff,#007c7cff,#7c7c00ff" show_icon_for_attributes="true" show_tags="UNDER_NODES" show_note_icons="true" fit_to_viewport="false;" show_icons="BESIDE_NODES" showTagCategories="false"/>
<tags category_separator="::"/>
<map_styles>
<stylenode LOCALIZED_TEXT="styles.root_node" STYLE="oval" UNIFORM_SHAPE="true" VGAP_QUANTITY="24 pt">
@kompowiec
kompowiec / najlepsze-posty.txt
Last active May 14, 2025 14:55
nie masz konta? dodaj swój tekst tutaj: https://yopad.eu/p/polska-knajpa-365days
Jun 16 21:00:33 <wirus> kompowiec sam ze soba gada
16 czerwca 21:00:39 <wirus> podstawia moje zdanie i na nie odpowidaa/clear
# 2022
19 marca 14:20:57 <skorpion52> tego, że po moim pytaniu czy jestem czytany odpowiedziałeś- niestety tak na górze mam jak byk odchylenie, że każdy jest mile widziany
19 marca 14:21:21 <skorpion52> więc jednak - niestety - temu przeczy
19 marca 14:22:14 <skorpion52> czyli potwierdzasz, że nie każdy jest tu mile widziany
19 marca 14:22:17 „Psychopata” – przecież to nie odnosiło się do dotarego
19 marca 14:22:24 <PsychopatH> tylko czata zastałem
19 marca 14:22:32 <kompowiec2> oi proszę, masz wyjaśnienieskorpion52
19 marca 14:22:57 <Psychopata> nie da się wymusić na ludziach, żeby każdego "mile widzieć"
@kompowiec
kompowiec / Wmonobook.js
Last active September 27, 2023 13:31
simple script to change wiki skin to monobook for Violentmonkey/tampermonkey/greasemonkey
// ==UserScript==
// @name change wiki skin to monobook
// Wikimedia projects
// @source Zera's userscripts
// @include *wikipedia.org*
// @include *wiktionary.org*
// @include *commons.wikimedia.org*
// @include *wikiquote.org*
// @include *wikibooks.org*
// @include *wikisource.org*
import tqdm
import asyncio
from shazamio import Shazam, Serialize
import os
from multiprocessing import Pool, freeze_support, set_start_method
from datetime import datetime
async def recognize(song):
shazam = Shazam()
try:
@kompowiec
kompowiec / marketingGPT.txt
Last active December 24, 2024 20:28
Marketing prompt for ChatGPT
I want you to act as a doctor of selling, as a world-class professional, thoroughly knowledgeable, with an excellent product or service, but orient yourself more as a friend, advisor, counselor; focus on helping and teaching rather than selling. Design it so that it moves from the general to the particular, from the known to the unknown, starting with your most attractive benefit. Ask trial closing questions throughout; invite feedback and responses after every feature or benefit. Design each part of your presentation to show, tell, and ask questions about each feature and benefit you present; keep the prospect involved and active. Try to market, but make what you're trying to market look more valuable than it is and convince prospect to buy it, to get the other person's point of view and see things from that person's angle as well as from your own.
[TASK]
Follow these rules:
1. Uncover the Benefit(s): Start by identifying the core benefit your product or service offers to customers. Put yourself in your cu