This file contains hidden or 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
# Rename image and MOV files according to EXIF capture date, using YYYY-MM-DD-HH-MM-SS.ext | |
format. | |
# Files shot within the same second get copy number added (-1,-2, etc.). | |
# Video files require a different, so we run exiftool 3 times: | |
# 1. Exclude MOV files and rename the image files with <CreateDate>. | |
# 2. Target MOV files and rename them with MediaCreateDate (for iPhone videos). | |
# 3. Target MOV files and rename them with DateTimeOriginal (for Fuji camera videos). | |
# Requirements: install the package manager Homebrew (http://brew.sh), then install exiftool (type brew install exiftool in Terminal.app). | |
# Now open Terminal.app, cd to the relevant directory, and run the command. |
This file contains hidden or 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 | |
# The MIT License (MIT) | |
# Copyright (c) 2013 Alvin Abad | |
if [ $# -eq 0 ]; then | |
echo "Git wrapper script that can specify an ssh-key file | |
Usage: | |
git.sh -i ssh-key-file git-command | |
" |
This file contains hidden or 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 | |
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # | |
# # | |
# This script configures which GPIO pins of the Raspberry Pi will be # | |
# available and in which direction (read or write). It also takes some # | |
# actions if someone interacts with the selected pins. # | |
# # | |
# More info about the GPIO: http://elinux.org/RPi_Low-level_peripherals # | |
# # |
This file contains hidden or 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
# --------------------------------------------------------------------------- | |
# | |
# 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 |