Skip to content

Instantly share code, notes, and snippets.

View minuz's full-sized avatar

Fernando Minoru Baba minuz

  • NIB Travel
  • Sydney, Australia
View GitHub Profile
@minuz
minuz / gist:2595ffe63441b532e56aa01fa79a4017
Created March 24, 2023 11:54
Setup-mobile-dev-mac.sh
#!/bin/bash
# Check for Homebrew and install if not found
if test ! $(which brew); then
echo "Installing Homebrew..."
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
else
echo "Updating Homebrew..."
brew update && brew upgrade
fi
@minuz
minuz / clean-beta-tags.sh
Created February 7, 2023 22:40
Clean up git tags
#!/bin/bash
tags=$(git tag -l "*-beta*")
if [ -z "$tags" ]; then
echo "No beta tags found"
exit 0
fi
# Delete all local git tags with the pattern -beta
@minuz
minuz / sassconvert.cmd
Created December 10, 2019 00:39
How to convert sass to scss
sass-convert -R ./ -F sass -T scss && find . -type f -name '*.sass' -delete