Skip to content

Instantly share code, notes, and snippets.


Zafar Siddiqi zsiddiqi

  • Canada
View GitHub Profile
zsiddiqi / gist:0d268d9e017a1b88c8a0fa9c18aaf3a7
Created May 10, 2020 — forked from gereon/gist:3150445
Mac OSX Spotlight Enhancement
View gist:0d268d9e017a1b88c8a0fa9c18aaf3a7

Mac OSX Spotlight Enhancement

Add this to Info.plist in /System/Library/Spotlight/RichText.mdimporter/Contents/ and Spotlight will search for source code files.

zsiddiqi /
Created May 5, 2020 — forked from legege/
Intelligently clean a Sonatype Nexus repository... keep the last 2 released versions of each "major.minor" artifact
if [ "$1" != "" ]; then
if [ "$2" != "" ]; then
zsiddiqi /
Created Nov 24, 2019 — forked from hofmannsven/
Git Cheatsheet
zsiddiqi /
Created Nov 5, 2019 — forked from noqcks/
How to get a complete plugin list from jenkins (with version)

I need a way to get a list of plugins so that I can use them with docker jenkins in the format <plugin>: <version>

1. get the jenkins cli.

The jenkins CLI will allow us to interact with our jenkins server from the command line. We can get it with a simple curl call.

curl 'localhost:8080/jnlpJars/jenkins-cli.jar' > jenkins-cli.jar
zsiddiqi / dnsmasq
Created Oct 26, 2019 — forked from brablc/dnsmasq
Setup dnsmasq on OS X
View dnsmasq

Never touch your local /etc/hosts file in OS X again

To setup your computer to work with *.dev domains, e.g., and so on, without having to add to your hosts file each time.



zsiddiqi /
Created Jun 13, 2019 — forked from btroncone/
A Comprehensive Introduction to @ngrx/store - Companion to Series

Comprehensive Introduction to @ngrx/store

By: @BTroncone

Also check out my lesson @ngrx/store in 10 minutes on!

Update: Non-middleware examples have been updated to ngrx/store v2. More coming soon!

Table of Contents

zsiddiqi /
Created Jun 1, 2019 — forked from andreyvit/
tmux cheatsheet

tmux cheat sheet

(C-x means ctrl+x, M-x means alt+x)

Prefix key

The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf:

# remap prefix to Control + a
View tmux-cheatsheet.markdown

tmux shortcuts & cheatsheet

start new:


start new with session name:

tmux new -s myname
zsiddiqi /
Created Sep 21, 2018 — forked from simenbrekken/
Super simple Backbone + Express + MongoDB REST backend application


If you're on OSX you're probably best off using Homebrew to install this stuff:

$ brew install node mongodb


You can’t perform that action at this time.