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
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' |
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
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 |
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
rm -rf ~/Library/Developer/Xcode/DerivedData/* |
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
- (UIColor *)getAverageColor:(UIImage *)image{ | |
CGSize size = {1, 1}; | |
UIGraphicsBeginImageContext(size); | |
CGContextRef ctx = UIGraphicsGetCurrentContext(); | |
CGContextSetInterpolationQuality(ctx, kCGInterpolationMedium); | |
[image drawInRect:(CGRect){.size = size} blendMode:kCGBlendModeCopy alpha:1]; | |
uint8_t *data = CGBitmapContextGetData(ctx); | |
UIColor *color = [UIColor colorWithRed:data[2] / 255.0f | |
green:data[1] / 255.0f |
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
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 |
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
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 |
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
xattr -d com.apple.quarantine /path/to/app/myMacApp.app |
OlderNewer