Skip to content

Instantly share code, notes, and snippets.

View ahmedivy's full-sized avatar
🔍
searching...

Ahmed Abdullah ahmedivy

🔍
searching...
View GitHub Profile
@gabe565
gabe565 / change-arc-icon.md
Last active September 20, 2024 13:23
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 September 19, 2024 13:47
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 August 19, 2024 12:58
Custom Material Icon Folder ( customize folder icons vscode material theme)
tags title
vscode, material,customize folder icons vscode material theme
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 September 19, 2024 17:12
Git Commit message Emoji