Skip to content

Instantly share code, notes, and snippets.

View idleberg's full-sized avatar

Jan T. Sott idleberg

View GitHub Profile
@idleberg
idleberg / Install-Mcrypt.md
Last active June 24, 2025 10:26
Install Mcrypt on macOS

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

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)

# PHP 7.3
@idleberg
idleberg / fish_shell.md
Last active October 7, 2025 17:54
Instructions on how to install Fish shell on Mac OS X, including Oh My Fish!. Also includes several useful functions.

Installation

  1. Install fish via Brew
  2. Optionally install Oh My Fish!
  3. Add fish to known shells
  4. Set default shell to fish
brew install fish  
curl -L https://get.oh-my.fish | fish
@idleberg
idleberg / scopes.md
Last active May 30, 2022 18:07 — forked from iambibhas/scopes.txt
List of scopes for Sublime Text and Atom. Follow three simple rules when contributing: 1. Link whenever possible, use atom.io and Package Control links (if possible) 2. Always link third-party packages, use current Markdown link structure 3. Alphabetize!
File type Sublime Text Atom
ActionScript source.actionscript.2 ?
AppleScript source.applescript [.source.applescript]
ASP source.asp ?
Batch File source.dosbatch ?
BibTex source.bibtex ?
BridleNSIS [source.nsis.bridle] [.source.nsis.bridle]
C source.c [.source.c]
C# source.cs [.source.cs]
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: OpenPGP.js v.1.20130420
Comment: http://openpgpjs.org
xsFNBFIrew8BD/9gyeftvnJTVFxwXmalP8oLA61knC0BkaPSC7joqoghHML4
XwVhPwGbrhFb03m8P26Hef0+IoCJBtpbtDhP/8AOzWBp26oM2t0X8hn1tcUF
AL89AOTzZrbY9BZMO26MUxVpom8dVk5DttFfCgnSQen3g1c4+Ad57LlE4fG5
tGt3R9akHMWP3QHCYw7Ik5CnEUQL7AtMzW/baCYuTUUy03v03F5gL2rVXv8x
TNPad8ICLm1/Xc28nJUu1WmQXegUiw2cuwnVv8ycLhYGd5ls41kqWzGorhsr
DZkktB4H81bhgHq3NJEZFmN95aN4Aw4z5V1+wyKebo+fjeRgzIQRULD5BK7U