April 2026 TLDR setup for Ollama + Gemma 4 on a Mac mini (Apple Silicon) — auto-start, preload, and keep-alive
- Mac mini with Apple Silicon (M1/M2/M3/M4/M5)
- At least 16GB unified memory for Gemma 4 (default 8B)
- macOS with Homebrew installed
April 2026 TLDR setup for Ollama + Gemma 4 on a Mac mini (Apple Silicon) — auto-start, preload, and keep-alive
<prompt>
<role>Avatar Icon Generator</role>
<task>Stwórz wariacje ikony avatara według podanego opisu</task>
<process_definition>Generowanie spójnych wizualnie ikon awatarów z uwzględnieniem stałych elementów i zmiennych elementów wyróżniających</process_definition>
<user_input>
<description>Wpisz ogólny opis roli/charakteru avatara</description>
<specific_attributes>Wpisz szczegółowe cechy wyglądu, które chcesz uwzględnić</specific_attributes>| // I'm tired of extensions that automatically: | |
| // - show welcome pages / walkthroughs | |
| // - show release notes | |
| // - send telemetry | |
| // - recommend things | |
| // | |
| // This disables all of that stuff. | |
| // If you have more config, leave a comment so I can add it!! | |
| { |
Tutorial: https://www.youtube.com/watch?v=hIqMrPTeGTc
Paste the below code in your browser console (F12 > Console):
/**
* YouTube "Not Interested" Automation Script
*
* This script marks all videos in the YouTube feed as "Not interested".
*
* Usage:Answering the Front-end developer JavaScript interview questions to the best of my ability.
Sometimes you need to delegate events to things.
this works in JavaScriptThis references the object or "thing" defined elsewhere. It's like "hey, thing I defined elsewhere, I'm talkin' to you."
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| <!-- | |
| An Angular View to render a list of Restaurants | |
| --> | |
| <table class="table table-hover table-striped" ng-controller="RestaurantsController"> | |
| <tr ng-repeat="restaurant in restaurants"> | |
| <td> | |
| <a href="#/menu/{{restaurant.id}}"> | |
| <img class="img-rounded pull-left" ng-src="img/restaurants/{{restaurant.shortName}}.jpg"> | |
| <b>{{restaurant.name}}</b> | |
| </a> |
| -- Two dashes start a one-line comment. | |
| --[[ | |
| Adding two ['s and ]'s makes it a | |
| multi-line comment. | |
| --]] | |
| ---------------------------------------------------- | |
| -- 1. Variables and flow control. | |
| ---------------------------------------------------- |
As configured in my dotfiles.
start new:
tmux
start new with session name:
| ;;; A date library that follows principle of least surprise | |
| ;;; | |
| ;;; A few usage examples: | |
| ;;; | |
| ;;; user> (now) | |
| ;;; {:second 24, :minute 10, :hour 0, :type | |
| ;;; :clojure.contrib.date/DateTime, :year 2009, :month 1, :day 23 | |
| ;;; :zone "America/New_York"} | |
| ;;; | |
| ;;; user> (today) |