Skip to content

Instantly share code, notes, and snippets.

//
// PersistentBottomSheet.swift
// NewThinks
//
// Created by Hasan Ali on 23/01/26.
//
import SwiftUI
import MapKit
@raisaputra
raisaputra / delete-twitter-media.md
Last active April 3, 2026 18:41
Delete All Twitter Media Image or Video
@sgn00
sgn00 / ping_pong.cpp
Last active April 3, 2026 18:40
Pipe RTT ping-pong benchmark
// g++ ping_pong.cpp -o ping_pong -std=c++20 -O3
#include <algorithm>
#include <cerrno>
#include <cstdint>
#include <cstring>
#include <cstdlib>
#include <iostream>
#include <vector>
#include <chrono>
@JohnnyD1776
JohnnyD1776 / ParallaxDemo.swift
Created October 1, 2025 14:58
SwiftUI Parallax Demo
//
/*
Filename: ParallaxDemo.swift
Project: Demo Project
Created by John Durcan on 01/10/2025.
Copyright © 2025 Itch Studio Ltd.. All rights reserved.
@greenstevester
greenstevester / how-to-setup-ollama-on-a-macmini.md
Last active April 3, 2026 18:39
April 2026 TLDR setup for Ollama + Gemma 4 12B on a Mac mini (Apple Silicon) — auto-start, preload, and keep-alive

April 2026 TLDR setup for Ollama + Gemma 4 on a Mac mini (Apple Silicon) — auto-start, preload, and keep-alive

April 2026 TLDR Setup for Ollama + Gemma 4 on a Mac mini (Apple Silicon)

Prerequisites

  • Mac mini with Apple Silicon (M1/M2/M3/M4/M5)
  • At least 16GB unified memory for Gemma 4 (default 8B)
  • macOS with Homebrew installed
@JohnnyD1776
JohnnyD1776 / ShareLInkView.swift
Created October 11, 2025 19:20
SwiftUi Demo of ShareLinks in iOS 16+
//
/*
Filename: ShareLInkView.swift
Project: Demo Project
Created by John Durcan on 11/10/2025.
Copyright © 2025 Itch Studio Ltd.. All rights reserved.
@MattiaSpinazzi
MattiaSpinazzi / list.md
Created April 3, 2026 18:28 — forked from ih2502mk/list.md
Quantopian Lectures Saved
@alganet
alganet / c89cc.sh
Last active April 3, 2026 18:33
c89cc.sh - standalone C89/ELF64 compiler in pure portable shell
#!/bin/sh
# ISC License
# Copyright (c) 2026 Alexandre Gomes Gaigalas <alganet@gmail.com>
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES