Skip to content

Instantly share code, notes, and snippets.

henkealg /
Last active Apr 21, 2021
Quick step by step guide to remote git bare repo setup

Quick step by step guide to remote git bare repo setup

For controlled delivery/deployment of your project to custom remote git repositories.

Remote server setup

Replace %%repo-name%% with your custom name for the remote bare repo you are creating. I prefer using /var/git as the recipient folder but this can be any folder for witch the user has read/write access.

On the remote/recipient server Create and navigate to the target folder

henkealg / functions.php
Last active May 15, 2017
Adds custom XML tags to the default WP RSS feed output.
View functions.php
Adds custom tags to the default WP RSS feed output
function rss_add_custom_tags() {
global $post;
henkealg /
Last active Sep 1, 2016
Global shortcut shell script for faster access to vagrant boxes through the (pref. MacOS) terminal
# --- place this script in the /usr/local/bin foder with permissions -rwxrwxrwx
# --- only strings in CAPITAL LETTERS below should be edited
# --- update the path variable to point to your local project folder root, ending without slash
# --- example: /User/henkealg/Documents/web_projects
henkealg / Connecting PHP 5.6 to
Created Mar 2, 2016 — forked from joecampo/Connecting PHP 5.6 to
Connecting PHP 5.6 to MSSQL - Ubuntu (Debian) w/ Apache
View Connecting PHP 5.6 to