Skip to content

Instantly share code, notes, and snippets.

View jzgdev's full-sized avatar

jzgdev

View GitHub Profile
@jzgdev
jzgdev / brewup.sh
Last active September 20, 2018 06:23
A simple command line utility to update and upgrade brew in one go. This is a simple script to work around my own personal annoyance with having to type 'brew update' and follow it up with 'brew upgrade', or even typing the somewhat length 'brew update && brew upgrade'.
#! /bin/sh
BREW=$(brew update)
if [ "$BREW" != "Already up-to-date." ];
then
/usr/local/bin/brew upgrade;
echo "brewup has succesfully updated remote homebrew repos and upgraded your local homebrew packages."
else
echo "$BREW"
fi
0x0225669A1f9148909A06527C431a78C6A52F8147
@jzgdev
jzgdev / HDRI_Link_makePack
Last active April 30, 2018 19:16
Script to create packs for GSG's HDRI Link (Uses ImageMagick, if you don't have it already run `brew install imagemagick`). Navigate to a directory of image files and copy and paste this script. Navigate to the "Packs" folder you use for HDRI Link and rename the folder with the next number in the sequence + whatever name you'd like (i.e. '10_MyH…
#!/bin/sh
# Sublime Text 3 install with Package Control (last update: 4 April 2015)
#
# No need to download this script, just run it on your terminal:
#
# $ curl -L git.io/sublimetext | sh
#
# When you need to update Sublime Text, run this script again.