Skip to content

Instantly share code, notes, and snippets.

@KyleLeneau
KyleLeneau / check-x86-bitcode-support.sh
Created April 10, 2018 15:41
Checks for required targets in static libraries and frameworks, also checks for Bitcode support for anything in the directory it's run from recursively.
#!/bin/bash
PATH=$(pwd)
REQUIRED_ARCHS="arm64 x86_64"
REPORT_FILE="${PATH}/x86-bitcode-support-report.txt"
function clean_report() {
/bin/rm -f "$REPORT_FILE"
}
@KyleLeneau
KyleLeneau / .bash_profile
Created March 26, 2024 16:25
bash-dotfiles
source ~/.git_aliases
alias df="df -h"
alias ping="ping -c3"
alias :q="exit"
alias :wq="exit"
if [[ $(uname) = 'Darwin' ]]; then
if [[ -x `which brew` ]]; then alias updateos="brew update && brew upgrade && brew cleanup && softwareupdate -i -a" ;fi