Skip to content

Instantly share code, notes, and snippets.

Galina Galch24

Block or report user

Report or block Galch24

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
## How to install mcrypt in php7.2 / php7.3
## Linux / MacOS / OSX
miguelmota /
Last active Nov 11, 2019
Completely uninstall and remove Tuxera NTFS on MacOS (resets trial version)
sudo rm -rf /Applications/Tuxera\ Disk\
sudo rm -rf /Library/Application\ Support/Tuxera\ NTFS
sudo rm -rf /Library/Filesystems/fusefs_txantfs.fs
joseluisq /
Last active Nov 18, 2019
Add Git Branch Name to Terminal Prompt (Mac)

Add Git Branch Name to Terminal Prompt (Mac)


Open ~/.bash_profile in your favorite editor and add the following content to the bottom.

# Git branch in prompt.

parse_git_branch() {
ghalusa / youtube_id_regex.php
Created Jun 20, 2015
Extract the YouTube Video ID from a URL in PHP
View youtube_id_regex.php
// Here is a sample of the URLs this regex matches: (there can be more content after the given URL that will be ignored)
tobi-pb /
Last active Dec 4, 2017
Upgrade MAMP to Mysql 5.6
tar xfvz mysql-5.6*
echo "stopping mamp"
sudo /Applications/MAMP/bin/
sudo killall httpd mysqld
echo "creating backup"
You can’t perform that action at this time.