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
#!/usr/bin/env sh | |
XCODE_APP=$(xcode-select -p) | |
XCODE_APP="${XCODE_APP%%.app*}.app" | |
if [[ -z "${XCODE_APP// }" ]]; then | |
echo "Unable to find path for Xcode installation. Install Xcode." | |
exit 1 | |
fi | |
echo "Opening Xcode..." |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- | |
To install: | |
$ cd ~/Library/Developer/Xcode/UserData/xcdebugger && curl https://gist.githubusercontent.com/feosuna1/05593f8a1dfb645dac0cd66070ebf460/raw -o Breakpoints_v2.xcbkptlist | |
--> | |
<Bucket | |
type = "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
expr -- (void)printf("[%s, %s]\n",(char *) object_getClassName(*(long*)($esp+4)), (char *) *(long *)($esp+8) ) |
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
expr -- (void)printf("[%s %s]\n",(char *) object_getClassName(*(long*)($rdi)), (char *)($rsi)) |
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
shopt -s histappend | |
PROMPT_COMMAND=prompt_command | |
prompt_command () | |
{ | |
local NONE="\[\033[0m\]" # unsets color to term's fg color | |
# regular colors | |
local FG_BLACK="\[\033[0;30m\]" | |
local FG_RED="\[\033[0;31m\]" |
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
#!/usr/bin/env bash | |
#==============================================================================# | |
# Remove whitespace errors from text files. | |
# | |
# If a whitespace error is found, it notifies the user and fixes the errors. | |
# This script will only run if the `git config` variable `apply.whitespace` is | |
# set to fix. You can use `git config` to make this change, use the `--global` | |
# to apply these changes globally to all your git repos: | |
# ``` | |
# $ git config apply.whitespace fix |