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 | |
ROMS="./roms-old" | |
UPGRADES="./upgrades" | |
NEW="./roms-new" | |
for ROM_FILE in $ROMS/*.zip $ROMS/*.7z; do | |
[ -f "$ROM_FILE" ] || break | |
ROM_FILE_NAME=$(basename "$ROM_FILE") |
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/sh | |
source "$(git --exec-path)/git-sh-setup" | |
if git diff-index --quiet HEAD --; then | |
git checkout master | |
git remote update origin --prune | |
for remote in `git branch -r`; do git branch --track ${remote#origin/} $remote &> /dev/null; done | |
git pull --all | |
git branch -r --merged master | grep -v master | sed 's/origin\///' | xargs -n 1 git push --delete origin &> /dev/null |
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
openapi: "3.0.0" | |
info: | |
version: a.bc | |
title: Swagger Petstore | |
description: Foobar | |
servers: | |
- url: http://petstore.swagger.io/v1 | |
paths: | |
/pets: | |
get: |
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
me=$(whoami) | |
# Get Sudo. | |
if [ $EUID != 0 ]; then | |
sudo "$0" "$@" | |
exit $? | |
fi | |
# Install Xcode command line tools. | |
xcode-select --install |
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
# Built application files | |
/*/build/ | |
# Crashlytics configuations | |
com_crashlytics_export_strings.xml | |
# Local configuration file (sdk path, etc) | |
local.properties | |
# Gradle generated files |