Skip to content

Instantly share code, notes, and snippets.

View mikecentola's full-sized avatar
😵‍💫
analysis paralysis

Mike Centola mikecentola

😵‍💫
analysis paralysis
View GitHub Profile
@mikecentola
mikecentola / .gitconfig
Last active September 12, 2025 22:36
Git Config with Aliases
[commit]
template = ~/.gitmessage
[tag]
gpgsign = true
[alias]
st = status
br = branch --format='%(HEAD) %(color:yellow)%(refname:short)%(color:reset) - %(contents:subject) %(color:green)(%(committerdate:relative)) [%(authorname)]' --sort=-committerdate
brd = branch -d
co = checkout
cob = checkout -b
@mikecentola
mikecentola / .gitmessage
Last active September 11, 2025 19:13
Git Message Template for Convetional Commits
## CONVENTIONAL COMMITS GITMESSAGE TEMPLATE ##
## ------------------- TITLE ----------------------- ##
## <type>: ##
## ( build/chore/ci/docs/feat/fix/perf/refactor/revert/style/test ) ##
## <optional scope>: ( opt proj subsection, e.g. fix(admin) ) ##
## <description>: concise summary, imperative voice ##
## SHOOT FOR 50 CHARS. NO MORE THAN 72. 50 => ## 72 => ##
<type>(<optional scope>): <desription>
@mikecentola
mikecentola / .bash_profile
Last active September 8, 2025 16:57
Bash Profile for Windows Git Bash
# Set title prefix
TITLEPREFIX="Git Bash"
# Shell Prompt
PS1='\[\033]0;$TITLEPREFIX: \W\007\]' # set window title
PS1="$PS1"'[\[\033[1;32m\]' # change to green
PS1="$PS1"'\u@\h ' # user@host<space>
PS1="$PS1"'\[\033[0;33m\]' # change to brownish yellow
PS1="$PS1"'\W' # current working directory
if test -z "$WINELOADERNOEXEC"

Keybase proof

I hereby claim:

  • I am mikecentola on github.
  • I am mikecentola (https://keybase.io/mikecentola) on keybase.
  • I have a public key ASDRj7Bj5gBPbhPzQ4jNMx247FziSsDtSIJJ_6ovTzVTWgo

To claim this, I am signing this object:

@mikecentola
mikecentola / motd.sh
Created December 18, 2018 16:23
MOTD for Centos / RHEL
#!/bin/bash
# This motd.sh file is to be placed in /etc/profile.d/ to be executed upon
# successful login.
# -------------------------------------------------------------------------
# Copyright (c) 2018 Mike Centola (mikecentola.com)
#
# This program is free software: you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free Software
@mikecentola
mikecentola / Constellation.markdown
Last active September 8, 2017 08:45
Javascript Constellation Background
@mikecentola
mikecentola / .bash_profile
Last active July 30, 2016 21:09 — 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