Skip to content

Instantly share code, notes, and snippets.

View Angelfirenze01's full-sized avatar
💭
I may be slow to respond.

Angelfirenze Angelfirenze01

💭
I may be slow to respond.
View GitHub Profile
@Angelfirenze01
Angelfirenze01 / .gitignore
Created January 30, 2017 04:56 — forked from octocat/.gitignore
Some common .gitignore configurations
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #
@Angelfirenze01
Angelfirenze01 / clean_up_script
Created January 30, 2017 02:29
Bash script for cleaning old Git remote branches
#!/bin/bash
current_branch=$(git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/')
if [ "$current_branch" != "master" ]; then
echo "WARNING: You are on branch $current_branch, NOT master."
fi
echo -e "Fetching merged branches...\n"
git remote update --prune
remote_branches=$(git branch -r --merged | grep -v '/master$' | grep -v "/$current_branch$")
@Angelfirenze01
Angelfirenze01 / .bash_profile
Created January 27, 2017 22:46 — forked from natelandau/.bash_profile
Mac OSX Bash Profile
# ---------------------------------------------------------------------------
#
# Description: This file holds all my BASH configurations and aliases
#
# Sections:
# 1. Environment Configuration
# 2. Make Terminal Better (remapping defaults and adding functionality)
# 3. File and Folder Management
# 4. Searching
# 5. Process Management
@Angelfirenze01
Angelfirenze01 / sublime_setup.md
Created January 27, 2017 21:13 — forked from barnes7td/sublime_setup.md
Sublime Terminal Setup

Setup Terminal for Sublime Shorcut "subl":

Open terminal and type:

1. Create a directory at ~/bin:

mkdir ~/bin

2. Copy sublime executable to your ~/bin directory:

@Angelfirenze01
Angelfirenze01 / README.md
Created January 19, 2017 17:36 — forked from lopezjurip/README.md
OSX Homebrew: docker-machine setup

Prerequisites

Make sure you have installed Homebrew and (Homebrew-Cask)[http://caskroom.io/].

# Install Homebrew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

# Install Homebrew-cask
brew install caskroom/cask/brew-cask