Skip to content

Instantly share code, notes, and snippets.

@MoserMichael
MoserMichael / Dockerfile
Last active May 4, 2026 04:12
netcat without lies
FROM alpine:latest
#perf uses ftrace, which relies on file system /sys/kernel/tracing being mounte
RUN apk --no-cache add bash netcat-openbsd perf
@MoserMichael
MoserMichael / stuff-for-the-household.txt
Last active May 4, 2026 03:51
Stuff for the hoursehold
" Set text width as 72.
# Collection of various stuff & advice
# -------------------------
# Media / content / search
# -------------------------
https://search.brave.com/ - they maintain their own crawlers & index. It is surprisingly good
(some people say that regular (non ai mode) google search is getting worse and worse)
@MoserMichael
MoserMichael / llm-workflow-course.md
Last active November 14, 2025 01:13
Agentic Workflows course

notes on: Agentic workflows course by Andrew Ng

https://learn.deeplearning.ai/courses/agentic-ai/lesson/pu5xbv/welcome!

Module1

  • the whole thing is about decomposing a workflow into a process with separate stages. A stage can either ask a LLM to do something or call an external tool (DB access, google query, etc)

(example: writing an essay, write outline, research th topic, write the essay)

@MoserMichael
MoserMichael / keeping-up-with-python.md
Last active May 4, 2026 04:04
keeping-up-with-python

Keeping up with python

Python is one of the tools in my toolbox, so I never used it exclusively. This means i need to get an update, occasionally.

Rant mode on

They want to have an expressive language, so they keep adding features upon features to it, instead of caring too much about performance (which means that no JIT - just-in-time compiler - has been added to cpython).

I would have thought that typescript is gaining over python on github, because node.js is JIT based, unlike cpython, but that guess was wrong: github article. The github article suggests a different reason:

@MoserMichael
MoserMichael / rag-course-notes.md
Last active November 14, 2025 01:14
RAG-retrieval-augmened-generation.md

https://learn.deeplearning.ai/courses/retrieval-augmented-generation

by Zain Hassan

Module1

RAG (Retrieval Augmented Generation) gives the LLM direct access to customer supplied documents - specialized knowledge, that wer not art of the training data. Not everything is known during model training, the missing links are

  • private databases (stuff that people/enterprises do not make public)
  • hard to access information
@MoserMichael
MoserMichael / job-searching.md
Last active May 3, 2026 21:16
job-searching

Job hunting tips

/More Eitzes from me, 'Eitzes is billik' - advice comes cheap.../

This gist is my experience. In general: do not trust such advice. Somehow the market tends to change every few years, always be aware of that possibility and be on the look-out.

Kinds of companies to work for

You can work for a big established company or for a startup. With more advanced companies you have a less stressed environment / and a more steady job, kind of.

@MoserMichael
MoserMichael / Charlie-Chaplin-movies.md
Last active November 20, 2025 01:31
Charlie Chaplin movies

learning about Charlie Chaplin

Chaplin managed to create cinema as an form of art! So here I am taking some notes, as I study his work.

Nowadays we have many of his his movies on youtube (as the copyright is expiring, no matter what - when I was a kid any appearance of Chaplin on TV was an event!).

Movies are compressed representation (as compared to books). They use additional visual/audio clues to tell a story - and to create a different kind of experience. Also the dynamics of movie scripts are quite different as compared to storytelling in a book. Someone had to figure out what works and what does not, and that guy was Chaplin (who did not have a formal education in any of these areas...)

  • His early work are two-reel movies. In many of them he is fighting a big bully adversary.
  • This doesn't work will full length feature movies: starting with 'The Kid', and later in all his movies in 'United Artist' - the adversary is something bigger, like poverty in 'the Kid', the system in 'Modern Times', fa
@MoserMichael
MoserMichael / checkout-gists.sh
Last active November 23, 2025 03:37
github-tools
#!/bin/bash
GITHUB_USER_NAME=$1
if [[ "x${GITHUB_USER_NAME}" == "x" ]]; then
cat <<EOF
Usage: $0 <github-user-name>"
Check out all gists or given github user - under the current directory.
@MoserMichael
MoserMichael / prompt-engineering.md
Last active May 6, 2026 02:26
promt-engineering
@MoserMichael
MoserMichael / course.md
Last active December 17, 2025 06:23
scratch

course on visual programming with Scratch

The aim here is to come up with a methodology/course of teaching the stuff, so the intended audience are teachers/parents who want to teach this stuff.

Scratch

A general intro to Scratch

  • at the bottom of the page there is a dropdown for choosing your language (very important to some people)