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 | |
# This function will parse out the gitModules file to extrac the list of sub module names | |
function getSubs () { | |
git config --file=.gitmodules -l | cut -d '.' -f2 | sort -u | xargs | |
} | |
# Get a list of all the sub modules |
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
[submodule "parser"] | |
path = parser | |
url = [email protected]_company.org:react/insync.git | |
branch = develop | |
[submodule "my_company_platforms"] | |
path = configs/simulator_configs/my_company_platforms | |
url = [email protected]_company.org:simulator_my_company/platforms/my_company_platforms.git | |
branch = fa_develop | |
[submodule "configs/simulator_configs/sim_projects"] | |
path = configs/simulator_configs/sim_projects |
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
# Capture output of carthage update - so we only need to run it once | |
outdated=$(carthage outdated | grep -v "\*\*\* Fetching" | grep -v "following dependencies" ) | |
# Do some fancy grep action to turn the lines into approriate xcode style warnings | |
echo "$outdated" | cut -d' ' -f1 | xargs -I _ grep _ $(realpath Cartfile) --with-filename --line-number --only-matching | perl -p -e "s/([^:]*:\w+:)(\w+)/\$1 warning: \$2 is out of date -- run carthage update/" | |
# If there is updates - fire off a notificaiton | |
if [ "$outdated" == "All dependencies are up to date." ]; then | |
exit; |
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 | |
# Make certificate dir | |
mkdir ~/certs | |
# Setup the DNSMasq container | |
docker run -d --name dnsmasq \ | |
--restart always \ | |
-p 53535:53/tcp \ | |
-p 53535:53/udp \ |
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/zsh | |
for f in /Applications/Docker.app/Contents/Resources//etc/*.zsh-completion; | |
do | |
ln -sf "$f" "$HOME/.zprezto/modules/completion/external/src/_${$(basename $f)%.zsh-completion}" | |
done | |
# Regen all the completions | |
rm -f ~/.zcompdump; compinit |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<Bucket | |
type = "2" | |
version = "2.0"> | |
<Breakpoints> | |
<BreakpointProxy | |
BreakpointExtensionID = "Xcode.Breakpoint.ExceptionBreakpoint"> | |
<BreakpointContent | |
shouldBeEnabled = "No" | |
ignoreCount = "0" |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<Bucket | |
type = "2" | |
version = "2.0"> | |
<Breakpoints> | |
<BreakpointProxy | |
BreakpointExtensionID = "Xcode.Breakpoint.ExceptionBreakpoint"> | |
<BreakpointContent | |
shouldBeEnabled = "No" | |
ignoreCount = "0" |