Skip to content

Instantly share code, notes, and snippets.

View clarknelson's full-sized avatar
🏅

Clark Nelson clarknelson

🏅
View GitHub Profile
@idleberg
idleberg / Install-Mcrypt.md
Last active June 18, 2026 08:09
Install Mcrypt on macOS

Setup php-mcrypt on macOS (and versions of Mac OS X)

Important

I haven't been using PHP for many years, so I have no intention of updating this gist. Hopefully, the process is still the same for newer versions PHP, but I'm the wrong person to ask this. Feel free to comment though!

These steps should have been mentioned in the prerequisites of the Laravel Installation Guide, since I'm surely not the only person trying to get Laravel running on macOS.

Install

Install Mcrypt using Homebrew and PECL (comes with PHP)

@mobilemind
mobilemind / git-tag-delete-local-and-remote.sh
Last active May 22, 2026 10:47
how to delete a git tag locally and remote
# delete local tag '12345'
git tag -d 12345
# delete remote tag '12345' (eg, GitHub version too)
git push origin :refs/tags/12345
# alternative approach
git push --delete origin tagName
git tag -d tagName