Skip to content

Instantly share code, notes, and snippets.

View jeeftor's full-sized avatar
🌮

Jeef jeeftor

🌮
  • MITRE
  • Colorado Springs
View GitHub Profile
@jeeftor
jeeftor / Breakpoints_v2.xcbkptlist
Created June 1, 2016 13:57
User Breakpoints for XCODE goes into:
<?xml version="1.0" encoding="UTF-8"?>
<Bucket
type = "2"
version = "2.0">
<Breakpoints>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.ExceptionBreakpoint">
<BreakpointContent
shouldBeEnabled = "No"
ignoreCount = "0"
@jeeftor
jeeftor / Breakpoints_v2.xcbkptlist
Created June 1, 2016 13:57
User Breakpoints for XCODE goes into: ~/Library/Developer/Xcode/UserData/xcdebugger
<?xml version="1.0" encoding="UTF-8"?>
<Bucket
type = "2"
version = "2.0">
<Breakpoints>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.ExceptionBreakpoint">
<BreakpointContent
shouldBeEnabled = "No"
ignoreCount = "0"
@jeeftor
jeeftor / update_completions.zsh
Created July 20, 2017 15:07
Install Docker ZSH completions in PRETZO from Docker
#!/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
#!/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 \
@jeeftor
jeeftor / dependencyCheck.sh
Last active August 7, 2017 15:16
Xcode alert for out of date carthage in build process
# 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;
@jeeftor
jeeftor / .gitmodules
Created July 6, 2019 17:29
SubModules
[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
@jeeftor
jeeftor / sublog.sh
Created July 6, 2019 17:35
Sub Module Log
#!/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