Skip to content

Instantly share code, notes, and snippets.

View Joaquin6's full-sized avatar
🏠
Working from home

Joaquin Briceno Joaquin6

🏠
Working from home
  • Overland Park, KS
View GitHub Profile
Short description of commit
Longer explanation of the motivation for the change
Fixes-Bug: Enter bug-id or delete line
Implements-Requirement: Enter requirement-id or delete line
@Joaquin6
Joaquin6 / add-issue-id-hook
Last active January 26, 2017 06:41
Git-Hooks Hooks created to enhance work day progress and productivity. Available Features: Take control of the git templates in your project by adding a hidden folder called '.git_template' at the root of your directory. Customize the final commit messages.
#!/usr/bin/env python
# add-issue-id-hook version 1.1.0
#
# Created by Joaquin Briceno
# https://github.com/pbetkier/add-issue-id-hook
# customize the final commit message using placeholders:
# - {issue_id} replaced with discovered issue id
# - {user_message} replaced with message provided by the user
@Joaquin6
Joaquin6 / Bash-Profile
Last active January 26, 2017 11:32
Example file that holds all my BASH configurations and aliases on MAC
# ---------------------------------------------------------------------------
#
# 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
@Joaquin6
Joaquin6 / syscolors.js
Created January 14, 2017 11:55
Colors reference of text to command when running node.js application
const util = require('util')
module.exports = {
Reset: "\x1b[0m",
Bright: "\x1b[1m",
Dim: "\x1b[2m",
Underscore: "\x1b[4m",
Blink: "\x1b[5m",
Reverse: "\x1b[7m",
Hidden: "\x1b[8m",
@Joaquin6
Joaquin6 / nested_flatten_array_example.js
Created September 28, 2016 09:30
Flatten an array of arbitrarily nested arrays of integers into a flat array of integers in Node.js.
var _ = require("underscore");
var nestedArray = [[1,2,[3]],4];
var flattenArray = _.flatten(nestedArray);
console.log(flattenArray);
// => [1, 2, 3, 4]