This file contains hidden or 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/sh | |
# git-ticket-show by Ryan Petrich | |
if [ -e $1 ] ; then | |
echo "usage: git ticket-show <ticket>" | |
else | |
BRANCH=`git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/'` | |
REVLIST=`git rev-list HEAD` | |
echo "Merge status of ticket $1 relative to $BRANCH:" | |
git log --all --no-merges --format=%H --grep="$1[:+]" | \ | |
while read commit |
This file contains hidden or 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 | |
( | |
for ARG in "$@" | |
do | |
tail -n+6 "$ARG" | awk '{print $2}' | |
done | |
) | sort | uniq -c | egrep ^\\s+$# | awk '{print $2}' |
This file contains hidden or 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 | |
# Basic iOS Crash Debugging Helper Script by rpetrich | |
apt-get install jp.ashikase.symbolicate grep curl coreutils coreutils-bin > /dev/null | |
if [ $? -ne 0 ]; then | |
echo "Unable to install debug script dependencies!" >&2 | |
echo "Run script as root and make sure you have exited Cydia." >&2 | |
exit 1 | |
fi | |
IFS='|' read -r code url < <( | |
( |
This file contains hidden or 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
#import <Foundation/Foundation.h> | |
#import <AddressBook/AddressBook.h> | |
@class SBApplication; | |
__attribute__((visibility("hidden"))) | |
@interface BioLockdownController : NSObject | |
+ (BioLockdownController *)sharedController; |
This file contains hidden or 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/sh | |
if [[ $# == 0 ]]; then | |
ssh tunnel "bash -c \"symbolicate /var/mobile/Library/Logs/CrashReporter/LatestCrash.*\"" | |
else | |
if [[ $1 == /* ]]; then | |
ssh tunnel "symbolicate '$1'" | |
else | |
ssh tunnel "bash -c \"symbolicate /var/mobile/Library/Logs/CrashReporter/LatestCrash-$1.*\"" | |
fi | |
fi |
This file contains hidden or 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
print "--" | |
print "Renaming Hooks for Current Procedure..." | |
print "Message from rpetrich: Please use this for good and not evil" | |
print "--" | |
doc = Document.getCurrentDocument() | |
def procedure_end(seg, proc): | |
addr = proc.getEntryPoint() | |
currentIndex = seg.getProcedureIndexAtAddress(addr) |
This file contains hidden or 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
#import <Foundation/Foundation.h> | |
#import <AddressBook/AddressBook.h> | |
@class SBApplication, CKConversation; | |
__attribute__((visibility("hidden"))) | |
@interface BioLockdownController : NSObject | |
+ (BioLockdownController *)sharedController; |
This file contains hidden or 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 | |
if [ -z "$GIT_AUTHOR_EMAIL" ]; then | |
GIT_AUTHOR_EMAIL=`git config --get user.email` | |
fi | |
if [[ `uname` != Darwin ]]; then | |
IDENTITY=`readlink -f ~/.ssh/$GIT_AUTHOR_EMAIL` | |
elif which -s greadlink; then | |
IDENTITY=`greadlink -f ~/.ssh/$GIT_AUTHOR_EMAIL` | |
else | |
# No modern readlink with -f support, symlinks must be absolute paths :'( |
This file contains hidden or 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
.PHONY: clean all | |
CPPFLAGS = -std=c++14 | |
LINK.o = $(LINK.cc) | |
all: rotation | |
clean: | |
rm *.o rotation |
This file contains hidden or 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
// ==UserScript== | |
// @name No JIRA banner or Hover Indentation | |
// @namespace http://rpetri.ch/ | |
// @version 0.1 | |
// @description Remove JIRA announcement banners; Remove comment relayout on hover | |
// @author Ryan Petrich | |
// @match https://*.atlassian.net/* | |
// @grant none | |
// ==/UserScript== |