Skip to content

Instantly share code, notes, and snippets.

View ben-hampson's full-sized avatar
🐍

Ben Hampson ben-hampson

🐍
View GitHub Profile
@bashbunni
bashbunni / .zshrc
Created October 27, 2022 21:41
CLI Pomodoro for Mac
# I'll be doing another one for Linux, but this one will give you
# a pop up notification and sound alert (using the built-in sounds for macOS)
# Requires https://github.com/caarlos0/timer to be installed
# Mac setup for pomo
alias work="timer 60m && terminal-notifier -message 'Pomodoro'\
-title 'Work Timer is up! Take a Break 😊'\
-appIcon '~/Pictures/pumpkin.png'\
-sound Crystal"
@pauladams8
pauladams8 / 1password_remove_duplicates.py
Last active November 15, 2023 19:29
Remove duplicates from your 1Password vault
# use https://github.com/Ben-Hampson/1Password-Deduplicator instead for v2 support
import dateutil.parser
import subprocess
import tldextract
import argparse
import datetime
import shlex
import json
@bradp
bradp / setup.sh
Last active April 18, 2025 02:11
New Mac Setup Script
echo "Creating an SSH key for you..."
ssh-keygen -t rsa
echo "Please add this public key to Github \n"
echo "https://github.com/account/ssh \n"
read -p "Press [Enter] key after this..."
echo "Installing xcode-stuff"
xcode-select --install