Skip to content

Instantly share code, notes, and snippets.

Adil Baig adilbaig

Block or report user

Report or block adilbaig

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
adilbaig / git-updater
Last active Oct 27, 2019
A bash script to update your git repos in the background. It also pops up a user notification when a repo is synced
View git-updater
# This is required for `notify-send` to work from within a cron.
eval "export $(egrep -z DBUS_SESSION_BUS_ADDRESS /proc/$(pgrep -u $LOGNAME gnome-session)/environ)";
# syncAndWink
# Syncs all remotely-tracked branches on a git repo passed as first argument ($1). It also pulls any new branches
# and tags attached to the repo.
adilbaig /
Created Jan 3, 2015
A complete bash script to setup a RabbitMQ cluster from scratch. Takes user-defined servers at run time.
set -e
# This script is part of my blog post :
# It sets up a RabbitMQ cluster by connecting to user-provided master and slave servers
# and ringing them up to a cluster on the fly.
# RabbitMQ Clustering is described in detail here :
View mod_warm_bindings.erl with info_msg
%%% File : mod_warm_bindings.erl
%%% Author : Theo Cushion <>
%%% Purpose : Enables the creation of authenticated BOSH sessions via HTTP
%%% Created : 29/01/2010
You can’t perform that action at this time.