One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
VS Code Settings | |
Run > | |
`code --list-extensions | xargs -L 1 echo code --install-extension` | |
Output > | |
code --install-extension 343max.android-emulator-launcher | |
code --install-extension adelphes.android-dev-ext | |
code --install-extension alexisvt.flutter-snippets |
alias clean='rm -rf ~/Library/Developer/Xcode/DerivedData/' | |
alias fast='bundle exec fastlane' | |
alias cl='curl -L' | |
alias ll='ls -l' | |
alias ..='cd ..' | |
alias please='sudo' | |
alias now='date +"%T"' | |
alias welcome='sh -x ~/welcome.sh' | |
status --is-interactive; and source (rbenv init -|psub) | |
source ~/.bash_profile |
FILE=$1 | |
ANOTHER_FILE=$2 | |
exec 4> "$ANOTHER_FILE" | |
while read -ru 3 LINE; do | |
line="$LINE" | |
linearray=($line) | |
echo ${linearray[2]} | |
xcrun c++filt "${linearray[2]}" >&4 |
platform :ios, '9.0' | |
workspace '../WebEngageAll' | |
source 'https://github.com/WebEngage/podspecs.git' | |
# source 'https://github.com/CocoaPods/Specs.git' | |
def app_pods | |
pod 'WebEngage' #:path => '../Built' |
extension Int { | |
var arc4random: Int { | |
if self > 0 { | |
return Int(arc4random_uniform(UInt32(self))) | |
} else if self < 0 { | |
return -Int(arc4random_uniform(UInt32(abs(self)))) | |
} else { | |
return 0 | |
} | |
} |
###################### | |
# Options | |
###################### | |
set -x | |
set -e | |
REVEAL_ARCHIVE_IN_FINDER=false | |
FRAMEWORK_NAME="${PROJECT_NAME}" |
// for custom overwrites within an entity like changing an attribute from Boolean to NSNumber, etc | |
- (BOOL)createDestinationInstancesForSourceInstance:(NSManagedObject *)sInstance | |
entityMapping:(NSEntityMapping *)mapping | |
manager:(NSMigrationManager *)manager | |
error:(NSError **)error { | |
NSManagedObject *newObject = | |
[NSEntityDescription insertNewObjectForEntityForName:[mapping destinationEntityName] | |
inManagedObjectContext:[manager destinationContext]]; | |
// do transfer of nsdate to nsstring non-lightweight operations here |
git branch -r | awk -F/ '/\/PREFIX/{print $2}' | |
git branch -r | awk -F/ '/\/PREFIX/{print $2}' | xargs -I {} git push origin :{} |
rm -rf ~/Library/Developer/Xcode/DerivedData/* |