Skip to content

Instantly share code, notes, and snippets.

@gbilkhu
gbilkhu / bash_profile.sh
Created May 31, 2018 22:36 — forked from atika/bash_profile.sh
Some useful Shell aliases and functions for using on Mac OS X. Compatible with Bash/Zsh shells.
# Some useful Shell aliases and function for using on Mac OS X
# https://gist.github.com/atika/4bca2820b21a71858a06
# Regular Expressions
ipregx="[0-9]{2,3}\.[0-9]{2,3}\.[0-9]{2,3}\.[0-9]{2,3}" # IP Regular Expression
mailregx="[a-zA-Z0-9_-\.]+@[a-zA-Z0-9_-\.]+\.[a-z]{2,3}" # Mail Regular Expression
# ql : Show a "Quick Look" view of files
ql () { /usr/bin/qlmanage -p "$@" >& /dev/null & }
@gbilkhu
gbilkhu / README-Template.md
Created December 6, 2017 23:18 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites