Skip to content

Instantly share code, notes, and snippets.

@MoserMichael
MoserMichael / conv.py
Last active January 1, 2026 04:18
llm-talk-from-html-to-markdown
# script for converting LLM saved talks to markdown.
# setup:
#
# Installation:
#
# python3 -m venv .venv
# source .venv/bin/activate
# pip3 install html-to-markdown
#
@MoserMichael
MoserMichael / cooking.md
Last active January 5, 2026 04:41
cooking-advice

cooking up stuff

In memory of my dear mother, Vera. You taught me to be positive and be ready to learn from anyone. And your cooking was the best...

Maybe a bit rare to see cooking advice in a github gist, nevertheless - let's go! (I prefer recipes that do not require a lot of work)

What I like about cooking a thing repeatedly:

  • you develop an intuition for time, how long does it take for a pancake to be ready before turning? How long does it take for a soup to be ready for consumption?
  • Also: experimentation with the recipes: sometimes an ingredient isn't handy, can you substitute it with something else? Try variations of spices? - there is room for experimentation, to some degree - and you can adopt what works. Cooking is not a totally fixed process, there is some room for variation...
  • Time passes quickly, if you do something with your own hands that has a purpose & makes sense. Cooking is an 'easy entry' into this kind of activity.
@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)
@MoserMichael
MoserMichael / prompt-engineering.md
Last active December 23, 2025 05:31
promt-engineering

link to course

by Isa Fulford - she also wrote OpenAI cookbook and Andrew Ng

Intro

  • Base LLM trained on masive and diverse corpus of training text
  • Instruction tuned LLM a base LLM that has further been trained on instructions on how to achieve goals (like web searching). trining technique is reinforcement
@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 / 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 / job-searching.md
Last active December 30, 2025 02:32
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 / 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 / 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 / stuff-for-the-household.txt
Last active January 2, 2026 05:59
Stuff for the hoursehold
" Set text width as 72.
# Collection of various stuff & advice
# -------------------------
Link to google in AI mode, with the option to chat with a LLM.
Probably uses Gemini of various versions, the version can probably vary - according to task.
https://www.google.com/search?udm=50