This file contains 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
# General | |
# Prompt | |
## Default Config | |
#export TERM=%n@%m %1~ %# | |
# Alias | |
alias l='ls -CF' |
This file contains 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 | |
# bash <(curl -s https://gist.githubusercontent.com/adelinofaria/daf2eda5a3158328e874/raw) | |
# Install bash config files | |
bash <(curl -s https://gist.githubusercontent.com/adelinofaria/b15be15f6dd7afcaaeef/raw) | |
# Homebrew | |
bash <(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh) |
This file contains 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
buildNumber=$(/usr/libexec/PlistBuddy -c "Print CFBundleVersion" "${PROJECT_DIR}/${INFOPLIST_FILE}") | |
buildNumber=$(($buildNumber + 1)) | |
/usr/libexec/PlistBuddy -c "Set :CFBundleVersion $buildNumber" "${PROJECT_DIR}/${INFOPLIST_FILE}" |
This file contains 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
command alias uikit expr @import UIKit | |
command alias foundation expr @import Foundation | |
command regex ps 's/^[[:space:]]*$/po [NSThread callStackSymbols]/' | |
command regex pv 's/^[[:space:]]*$/po [[[UIApplication sharedApplication] keyWindow] recursiveDescription]/' 's/^(.+)$/po [%1 recursiveDescription]/' | |
command regex pe 's/^[[:space:]]*$/po [[NSProcessInfo processInfo] environment]/' | |
command regex pd 's/^(.+)$/po [[NSString alloc] initWithData:%1 encoding:4]/' | |
command regex pjson 's/^(.+)$/po [[NSString alloc] initWithData:(id)[NSJSONSerialization dataWithJSONObject:%1 options:0 error:nil] encoding:4]/' | |
command regex pcef 's/^(.+)$/p (unsigned short*)%1.string_->str/' |
This file contains 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
# Created by https://www.gitignore.io/api/osx,vim,emacs,swift,xcode,fastlane,cocoapods,objective-c | |
### CocoaPods ### | |
## CocoaPods GitIgnore Template | |
# CocoaPods - Only use to conserve bandwidth / Save time on Pushing | |
# - Also handy if you have a lage number of dependant pods | |
# - AS PER https://guides.cocoapods.org/using/using-cocoapods.html NEVER IGONRE THE LOCK FILE | |
Pods/ |
This file contains 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
# Avoid conflicts in pbxproj files | |
.pbxproj merge=union | |
# Always diff strings files as text | |
*.strings text diff=multibytetext |
This file contains 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
export LANG=en_US.UTF-8 | |
if [ ! -e "$HOME/.cocoapods/repos" ] | |
then | |
pod setup | |
fi | |
cd framework | |
if [ -e "Pods" ] |
This file contains 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
# bash <(curl -s https://gist.githubusercontent.com/adelinofaria/b15be15f6dd7afcaaeef/raw) | |
echo "Start bash_config.sh" | |
#echo "Git Commit First Name" | |
#read gitFirstName | |
#echo "Git Commit Last Name" | |
#read gitLastName |
This file contains 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
# General | |
alias l='ls -CF' | |
alias la='ls -A' | |
alias ll='ls -larth' | |
alias ..='cd ..' | |
alias cd..='cd ..' | |
# Recursively delete `.DS_Store` files |
This file contains 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
# /etc/inputrc - global inputrc for libreadline | |
# See readline(3readline) and `info rluserman' for more information. | |
# Be 8 bit clean. | |
set input-meta on | |
set output-meta on | |
# To allow the use of 8bit-characters like the german umlauts, uncomment | |
# the line below. However this makes the meta key not work as a meta key, | |
# which is annoying to those which don't need to type in 8-bit characters. |
NewerOlder