Skip to content

Instantly share code, notes, and snippets.

View bukowa's full-sized avatar

Mateusz Kurowski bukowa

View GitHub Profile
@voberoi
voberoi / README.md
Last active March 21, 2026 13:23
Prompts used for chapter extraction in citymeetings.nyc -- from my talk at NYC School of Data 2024

These are the prompts I use to extract chapters in citymeetings.nyc as of March 23rd, 2024 -- the date of my NYC School of Data talk.

To simplify things I've removed all the code that stitches these prompts together and consolidated all the common items from each step in my chapter extraction pipeline.

See the slides & talk for a description of how these work in concert and how I review and fix issues.

NOTE: these work reasonably well and save tons of time, but I haven't systematically evaluated or improved them yet in the same way I have my speaker identification prompt.

@voberoi
voberoi / README.md
Last active March 21, 2026 13:23
The prompt I use for speaker identification in citymeetings.nyc -- from my talk at NYC School of Data 2024

Here's how you can download older versions of files in a game from Steam using SteamDB to navigate the game's patch history. The example here is reverting Skyrim SE's 1.6.640 patch so we're back to the 1.5.97 version of SkyrimSE.exe.

You can find all of the available depots for a given game by looking up its appid as follows: https://steamdb.info/app/489830/depots/ - 489830 here is the appid for Skyrim SE.

First, you have to find what changed, so click the History button down the left side: https://steamdb.info/app/489830/history/

That shows the last change - Changelist #16107407 at the time of writing - as happening for depot https://steamdb.info/depot/489833/ which is Skyrim Special Edition exe and contains just SkyrimSE.exe.

If you click the History button on the left, you can see all the changes released for that depot: https://steamdb.info/depot/489833/history/

@fnky
fnky / ANSI.md
Last active June 5, 2026 08:54
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27
@timvisee
timvisee / falsehoods-programming-time-list.md
Last active June 1, 2026 20:05
Falsehoods programmers believe about time, in a single list

Falsehoods programmers believe about time

This is a compiled list of falsehoods programmers tend to believe about working with time.

Don't re-invent a date time library yourself. If you think you understand everything about time, you're probably doing it wrong.

Falsehoods

  • There are always 24 hours in a day.
  • February is always 28 days long.
  • Any 24-hour period will always begin and end in the same day (or week, or month).
@klmr
klmr / Makefile
Last active April 7, 2026 12:48
Self-documenting makefiles
# Example makefile with some dummy rules
.PHONY: all
## Make ALL the things; this includes: building the target, testing it, and
## deploying to server.
all: test deploy
.PHONY: build
# No documentation; target will be omitted from help display
build:
@nurettin
nurettin / hst.rb
Last active November 15, 2023 18:59
metatrader 4 hst reader
class Hst
attr_reader :version
attr_reader :copyright
attr_reader :symbol
attr_reader :period
attr_reader :digits
attr_reader :timesign
attr_reader :lastsync
def initialize(file)
# Hello, and welcome to makefile basics.
#
# You will learn why `make` is so great, and why, despite its "weird" syntax,
# it is actually a highly expressive, efficient, and powerful way to build
# programs.
#
# Once you're done here, go to
# http://www.gnu.org/software/make/manual/make.html
# to learn SOOOO much more.
@LeCoupa
LeCoupa / bash-cheatsheet.sh
Last active May 11, 2026 17:19
Bash CheatSheet for UNIX Systems --> UPDATED VERSION --> https://github.com/LeCoupa/awesome-cheatsheets
#!/bin/bash
#####################################################
# Name: Bash CheatSheet for Mac OSX
#
# A little overlook of the Bash basics
#
# Usage:
#
# Author: J. Le Coupanec
# Date: 2014/11/04
@Zearin
Zearin / python_decorator_guide.md
Last active April 28, 2026 03:05
The best explanation of Python decorators I’ve ever seen. (An archived answer from StackOverflow.)

NOTE: This is a question I found on StackOverflow which I’ve archived here, because the answer is so effing phenomenal.


Q: How can I make a chain of function decorators in Python?


If you are not into long explanations, see [Paolo Bergantino’s answer][2].