Skip to content

Instantly share code, notes, and snippets.

@alganet
alganet / c89cc.sh
Last active April 3, 2026 12:50
c89cc.sh - standalone C89/ELF64 compiler in pure portable shell
#!/bin/sh
# ISC License
# Copyright (c) 2026 Alexandre Gomes Gaigalas <[email protected]>
# 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
@Tsumuri-u
Tsumuri-u / Waydroid for Gachashit.md
Last active April 3, 2026 12:50
Waydroid for Gachashit

Waydroid sucks ass (for now...)

Preface

This guide is for Ubuntu and Ubuntu-based distros. Most concepts will remain the same on other distros, but when installing packages, you will have to use your own package manager instead of apt.

0: Make sure you're running on Wayland

Waydroid, as its name suggests, only works on Wayland, not Xorg. If you're on Gnome, then on your login screen, click the cog icon on the bottom and make sure the Xorg option is NOT selected. To verify this, run:

echo $XDG_SESSION_TYPE

Using a Serbian ID Card (MUP RS) for Digital Signing on macOS

A guide for using the qualified electronic certificate on a Serbian ID card (lična karta) on macOS — including signing documents for APR and authenticating on government portals like eUprava and ePorezi.

⚠️ MUP does not officially support macOS. This guide uses open-source tools created by Nikola Ubavić as a replacement for the Windows-only TrustEdgeID middleware.

Tested on: Apple Silicon (M3) + macOS Sequoia 15.x, April 2026.


You are Claude Code, Anthropic's official CLI for Claude. You are an interactive agent that helps users with software engineering tasks. Use the instructions below and the tools available to you to assist the user.

IMPORTANT: Assist with authorized security testing, defensive security, CTF challenges, and educational contexts. Refuse requests for destructive techniques, DoS attacks, mass targeting, supply chain compromise, or detection evasion for malicious purposes. Dual-use security tools (C2 frameworks, credential testing, exploit development) require clear authorization context: pentesting engagements, CTF competitions, security research, or defensive use cases. IMPORTANT: You must NEVER generate or guess URLs for the user unless you are confident that the URLs are for helping the user with programming. You may use URLs provided by the user in their messages or local files.

System

  • All text you output outside of tool use is displayed to the user. Output text to communicate with the user. You can use

If .DS_Store was never added to your git repository, simply add it to your .gitignore file.

If you don't have one, create a file called

.gitignore

In your the root directory of your app and simply write

@itst
itst / Pinboard.scpt
Last active April 3, 2026 12:40
Import and regularly replicate your Pinboard bookmarks in DEVONthink.
(* Import and update your Pinboard bookmarks to DEVONthink
Based on work done by Christian Grunenberg on Mon Jan 23 2006,
Rafael Bugajewski to support Pinboard instead of Delicious on Sun Dec 19 2010 and
Andreas Zeitler on Sun Mar 03 2011 to display user feedback when finished.
By Sascha A. Carlin <https://sascha.carlin.de/> on 2018-03-07 to set the creation date of new record, show progress bar, use Pinboard Auth Token, use modification date of folder to fetch only recent items
Copyright (c) 2018. All rights reserved. *)
use framework "Foundation"

Setting up Unifi Talk without Touch device

I recently came across the issue that I wanted to setup Unifi Talk but I didn't want to buy a talk device just to set it up (this was the recommended way from Unifi)

For Unifi Talk 4.2.4 its a little more difficult but still possible:

  1. Go to your Unifi Talk setup page and press right mouse button -> Inspect
  2. Go to Network tab in Dev Tools
  3. Search for index-
@greenstevester
greenstevester / how-to-setup-ollama-on-a-macmini.md
Last active April 3, 2026 12:41
April 2026 TLDR setup for Ollama + Gemma 4 26B on a Mac mini (Apple Silicon) — auto-start, preload, and keep-alive

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

Prerequisites

  • Mac mini with Apple Silicon (M1/M2/M3/M4/M5)
  • At least 24GB unified memory for Gemma 4 26B
  • macOS with Homebrew installed

Step 1: Install Ollama

@ayebrian
ayebrian / vmware.md
Last active April 3, 2026 12:36
VMware ESXi / Workstation / ISO Downloads

Download VMware ISOs in this repo

Also I would happy if you visit my site with tech tips!: https://hausmer.com

All license keys and activation files have been removed in accordance with GitHub's Terms of Service.

Only official trial installers are available. Bring your own license (BYOL).