View sublog.sh
#!/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 |
View .gitmodules
[submodule "parser"] | |
path = parser | |
url = git@gitlab.my_company.org:react/insync.git | |
branch = develop | |
[submodule "my_company_platforms"] | |
path = configs/simulator_configs/my_company_platforms | |
url = git@gitlab.my_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 |
View dependencyCheck.sh
# 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; |
View setup-ngnix-proyx.sh
#!/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 \ |
View update_completions.zsh
#!/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 |
View Breakpoints_v2.xcbkptlist
<?xml version="1.0" encoding="UTF-8"?> | |
<Bucket | |
type = "2" | |
version = "2.0"> | |
<Breakpoints> | |
<BreakpointProxy | |
BreakpointExtensionID = "Xcode.Breakpoint.ExceptionBreakpoint"> | |
<BreakpointContent | |
shouldBeEnabled = "No" | |
ignoreCount = "0" |
View Breakpoints_v2.xcbkptlist
<?xml version="1.0" encoding="UTF-8"?> | |
<Bucket | |
type = "2" | |
version = "2.0"> | |
<Breakpoints> | |
<BreakpointProxy | |
BreakpointExtensionID = "Xcode.Breakpoint.ExceptionBreakpoint"> | |
<BreakpointContent | |
shouldBeEnabled = "No" | |
ignoreCount = "0" |