Skip to content

Instantly share code, notes, and snippets.

@gabe565
gabe565 / change-arc-icon.md
Last active August 16, 2026 20:38
Change Arc Browser Icon

Change Arc Browser Icon

arc

A collection of commands that change the Arc Browser icon on macOS.

Commands

Theme Command
Candy Arc defaults write company.thebrowser.Browser currentAppIconName candy
@rphlmr
rphlmr / clear-db.ts
Last active January 21, 2026 12:24
Drizzle snippets
// Credits to Louistiti from Drizzle Discord: https://discord.com/channels/1043890932593987624/1130802621750448160/1143083373535973406
import { sql } from "drizzle-orm";
const clearDb = async (): Promise<void> => {
const query = sql<string>`SELECT table_name
FROM information_schema.tables
WHERE table_schema = 'public'
AND table_type = 'BASE TABLE';
`;
@primaryobjects
primaryobjects / chrome-version.py
Last active March 22, 2024 12:04
Detect the version of Chrome installed on Windows, Linux, Mac. Cross-platform using Python, native OS detection, does not require Selenium.
#
# Programmatically detect the version of the Chrome web browser installed on the PC.
# Compatible with Windows, Mac, Linux.
# Written in Python.
# Uses native OS detection. Does not require Selenium nor the Chrome web driver.
#
import os
import re
from sys import platform
@rupeshtiwari
rupeshtiwari / material-icon.md
Last active September 2, 2026 13:20
Custom Material Icon Folder ( customize folder icons vscode material theme)
tags vscode, material,customize folder icons vscode material theme
title How to add custom folder icon in Material icons

Steps to add custom folder icon in Material icons

Go to Settings.json file

@parmentf
parmentf / GitCommitEmoji.md
Last active August 26, 2026 21:55
Git Commit message Emoji