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 ruby | |
| print "What is the URL of your Apple Downloads resource?\nURL:" | |
| url = gets.strip | |
| print "What is the ADCDownloadAuth cookie token:\nADCDownloadAuth: " | |
| token = gets.strip | |
| command = "aria2c --header \"Host: adcdownload.apple.com\" --header \"Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\" --header \"Upgrade-Insecure-Requests: 1\" --header \"Cookie: ADCDownloadAuth=#{token}\" --header \"User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 10_1 like Mac OS X) AppleWebKit/602.2.14 (KHTML, like Gecko) Version/10.0 Mobile/14B72 Safari/602.1\" --header \"Accept-Language: en-us\" -x 16 -s 16 #{url} -d ~/Downloads" |
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
| ***************** Show build duration time during running the project in xcode ****************** | |
| defaults write com.apple.dt.Xcode ShowBuildOperationDuration -bool YES | |
| *****Create ipa from xarchive******** -> To convert .xcarchive to .ipa | xcode 9 | |
| xcodebuild | |
| -exportArchive |
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
| # This will remove stash stash@{10}, stash@{11} , stash@{12} | |
| for n in {1..2} | |
| do | |
| git stash drop stash@{10} | |
| done |
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
| Install alfred 4 | |
| Install Cinch | |
| Open finder -> show PathBar and show Status bar | |
| show hidden Mac OS X files: run | |
| Install Rosetta2 | |
| softwareupdate --install-rosetta | |
| Install Homebrew : | |
| /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" |
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
| Instructions: | |
| 1. Change extension of your file from *.ipa to* .zip. | |
| 2. Unzip it. | |
| 3. Open extracted folder, right click on Application file and then choose "Show Package Contents". | |
| 4. Find Info.plist file and open it. | |
| 5. Find value for key "DTXcodeBuild". |
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
| UIKit | SwiftUI | |
|---|---|---|
| UILabel | Text & Label | |
| UIImageView | Image | |
| UITextField | TextField | |
| UITextView | TextEditor | |
| UISwitch | Toggle | |
| UISlider | Slider | |
| UIButton | Button | |
| UITableView | List | |
| UICollectionView | LazyVGrid / LazyHGrid |
OlderNewer