This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
// Usage: | |
// $ cd dir/to/music | |
// $ node ../../music_metadata.js | |
// Files format must be: | |
// [Artist] - [Song Title].{oga,m4a} | |
const fs = require('fs') | |
const os = require('os') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Author: Steel Brain <i@steelbrain.me> | |
# Name: Git Commit | |
# Steps: | |
# - Check if jq is installed or not (need it for parsing package.json) | |
# - Shows unstaged files | |
# - Shows staged files | |
# - Confirms the user they want to proceed | |
# - Execute the build step and check in any files it modifies |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Usage: | |
# git-post-pr | |
# Description: | |
# Deletes local branch (doesn't force so you won't lose local if not pushed remotely) | |
# Fetches remote so local remote branch is deleted | |
# Switches to master | |
CURRENT_BRANCH="$(git rev-parse --abbrev-ref HEAD)" |
NewerOlder