Skip to content

Instantly share code, notes, and snippets.

View pablordoricaw's full-sized avatar
🦩
Balancing like a flamingo

Pablo Ordorica Wiener pablordoricaw

🦩
Balancing like a flamingo
View GitHub Profile
@pablordoricaw
pablordoricaw / install_powerline_fonts.sh
Created September 13, 2021 19:48
Bash script to install Powerline fonts in macOS from Powerline's font repo in GitHub assuming the GitHub CLI tool is installed and setup
#!/bin/bash
gh repo clone powerline/fonts && cd ~/fonts && ./install.sh && cd && rm -rf fonts/
@pablordoricaw
pablordoricaw / unsign-teams.sh
Last active April 15, 2021 20:54
Bash script to unsign Microsoft Teams in macOS to be able to use external cameras for video input
#!/bin/bash
###
# Microsoft Teams stopped recognizing external cameras for video input in macOS
# after version 1.3.00.18164.
# User greghiggins3 in Microsoft's forum posted a solution.
# The solution involves unsigning Microsoft Teams.
# This Bash script automates the unsigning in macOS
# for Teams version 1.3.00.28778
@pablordoricaw
pablordoricaw / git-proxy.sh
Created August 14, 2019 15:21
This bash script sets/unsets the http and https proxies for git
#!/bin/bash
###
# This bash script sets/unsets the http and https proxies for git
###
# get the scripts name for the usage message
_filename=$0
# verbose mode deactivated
@pablordoricaw
pablordoricaw / getopts-ba.sh
Created May 10, 2018 14:23
Code example using getopts in bash with short options and a subcommand with it's own short options
#!/bin/bash
###
# This is a code example showing how to use getops to parse short options and a
# subcommand with short options of it's own. Based on Kevin Sookocheff's post:
# https://sookocheff.com/post/bash/parsing-bash-script-arguments-with-shopts/
#
# Please feel free to use it and modify it as you see fit. Any questions and/or
# recommendations are more than welcome.
###