Skip to content

Instantly share code, notes, and snippets.

View michmzr's full-sized avatar

Mike michmzr

View GitHub Profile
@Przemocny
Przemocny / process_consultant.md
Created June 6, 2025 13:07
Konsultant procesowy od przypierdalania się do procesów

Process Consultant - Prompt XML

<prompt>
  <role>Senior Konsultant Optymalizacji Procesów z ekspertyzą w reengineering procesów biznesowych, metodologii lean i wydajności operacyjnej</role>
  <task>Przeanalizuj dostarczone wsady procesowe (instrukcje, diagramy, ramy procesów, odpowiedzialne role) i krytycznie oceń je pod kątem nieefektywności, dostarczając bezpośrednie, wykonalne rekomendacje poprawy.</task>
  
  <context>
    <situation>Organizacje często wdrażają procesy zawierające redundancje, niepotrzebne kroki, niejasne odpowiedzialności lub nielogiczne przepływy pracy. Twoją rolą jest identyfikacja tych nieefektywności poprzez rygorystyczną analizę i dostarczenie jasnych rekomendacji optymalizacji.</situation>
    <domain_knowledge>
@Przemocny
Przemocny / prompt.md
Last active November 8, 2024 15:46
Meta Chain of Thought Generator

Metaprompt: Zaawansowana Rekurencyjna Analiza Problemu Biznesowego z Wykorzystaniem Meta Chain of Thought

Rola Analityka Biznesowego

System prompt:

Jako zaawansowany analityk biznesowy, posiadasz unikalne połączenie umiejętności analitycznych, strategicznego myślenia i głębokiego zrozumienia dynamiki biznesowej. Twoje zadania obejmują:

  1. Kompleksową analizę złożonych problemów biznesowych z uwzględnieniem wielu zmiennych i perspektyw.
  2. Wykorzystanie zaawansowanych technik modelowania i prognozowania do przewidywania potencjalnych wyników.
@Anon-Exploiter
Anon-Exploiter / .zshrc
Created September 17, 2020 12:31
.zshrc of Kali Linux 2020.3 including the lit prompt
# ~/.zshrc file for zsh non-login shells.
# see /usr/share/doc/zsh/examples/zshrc for examples
setopt autocd # change directory just by typing its name
#setopt correct # auto correct mistakes
setopt interactivecomments # allow comments in interactive mode
setopt ksharrays # arrays start at 0
setopt magicequalsubst # enable filename expansion for arguments of the form ‘anything=expression’
setopt nonomatch # hide error message if there is no match for the pattern
setopt notify # report the status of background jobs immediately
package com.rataj.kafka.config;
import org.apache.kafka.clients.consumer.Consumer;
import org.apache.kafka.clients.consumer.ConsumerRecord;
import org.apache.kafka.common.TopicPartition;
import org.springframework.kafka.listener.ContainerAwareErrorHandler;
import org.springframework.kafka.listener.MessageListenerContainer;
import org.springframework.kafka.support.serializer.DeserializationException;
import java.util.List;
@michmzr
michmzr / openvpn_scripts.sh
Last active August 20, 2018 15:02
openvpn_scripts.sh
#!/bin/bash
#
# https://github.com/Nyr/openvpn-install
#
# Copyright (c) 2013 Nyr. Released under the MIT License.
# Detect Debian users running the script with "sh" instead of bash
if readlink /proc/$$/exe | grep -q "dash"; then
echo "This script needs to be run with bash, not sh"
@tamas-molnar
tamas-molnar / kubectl-shortcuts.sh
Last active June 4, 2025 16:08
aliases and shortcuts for kubectl
alias kc='kubectl'
alias kclf='kubectl logs --tail=200 -f'
alias kcgs='kubectl get service -o wide'
alias kcgd='kubectl get deployment -o wide'
alias kcgp='kubectl get pod -o wide'
alias kcgn='kubectl get node -o wide'
alias kcdp='kubectl describe pod'
alias kcds='kubectl describe service'
alias kcdd='kubectl describe deployment'
alias kcdf='kubectl delete -f'

FWIW: I (@rondy) am not the creator of the content shared here, which is an excerpt from Edmond Lau's book. I simply copied and pasted it from another location and saved it as a personal note, before it gained popularity on news.ycombinator.com. Unfortunately, I cannot recall the exact origin of the original source, nor was I able to find the author's name, so I am can't provide the appropriate credits.


Effective Engineer - Notes

What's an Effective Engineer?

@milmazz
milmazz / imposter-handbook-links.md
Last active January 17, 2025 12:36
Useful links found in The Imposter's Handbook by Rob Conery
@bsweger
bsweger / useful_pandas_snippets.md
Last active June 14, 2025 19:01
Useful Pandas Snippets

Useful Pandas Snippets

A personal diary of DataFrame munging over the years.

Data Types and Conversion

Convert Series datatype to numeric (will error if column has non-numeric values)
(h/t @makmanalp)