Skip to content

Instantly share code, notes, and snippets.

Jeef jeeftor

  • Washington DC
Block or report user

Report or block jeeftor

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@jeeftor
jeeftor / sublog.sh
Created Jul 6, 2019
Sub Module Log
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
@jeeftor
jeeftor / dependencyCheck.sh
Last active Aug 7, 2017
Xcode alert for out of date carthage in build process
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 \
@jeeftor
jeeftor / update_completions.zsh
Created Jul 20, 2017
Install Docker ZSH completions in PRETZO from Docker
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
@jeeftor
jeeftor / Breakpoints_v2.xcbkptlist
Created Jun 1, 2016
User Breakpoints for XCODE goes into: ~/Library/Developer/Xcode/UserData/xcdebugger
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"
@jeeftor
jeeftor / Breakpoints_v2.xcbkptlist
Created Jun 1, 2016
User Breakpoints for XCODE goes into:
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"
You can’t perform that action at this time.