- Run
sudo chmod 666 /Applications/Xcode.app/Contents/Frameworks/IDEKit.framework/Versions/A/Resources//IDETextKeyBindingSet.plist
sudo chmod 777 /Applications/Xcode.app/Contents/Frameworks/IDEKit.framework/Versions/A/Resources/
#!/usr/bin/ruby | |
#encoding: utf-8 | |
Encoding.default_external = Encoding::UTF_8 | |
Encoding.default_internal = Encoding::UTF_8 | |
class Item | |
def initialize(file, line, at) | |
@file = file | |
@line = line | |
@at = at + 1 |
On Mac OSX, the native SSH client can use the built-in keychain directly. | |
Open terminal. | |
Write: | |
mkdir ~/.ssh | |
cd ~/.ssh | |
Copy your private key "id_rsa" to /.ssh folder. | |
Write in terminal also: |
If you've got something like this: | |
file was built for arm64 which is not the architecture being linked (x86_64): | |
Than this gist is for you. | |
Let's say you have already developed the framework itself and just want to build the binary | |
and distribute it through the Cocoapods. | |
1. Make sure your framework "Deployment Target" is equal to all the dependencies from your podspec file. |
1. Brew | |
2. NVM | |
3. RVM | |
4. Change screenshots location | |
5. VPNs | |
6. Add .ssh |
class ResumableTimer: NSObject { | |
private var timer: Timer? = Timer() | |
private var callback: () -> Void | |
private var startTime: TimeInterval? | |
private var elapsedTime: TimeInterval? | |
// MARK: Init |
https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/creating-a-pull-request-template-for-your-repository | |
**Ticket:** [12345]({BASE_LINK}/12345) | |
### Description | |
[//]: # (Give a brief summary of why the change is being implemented.) | |
### Changes | |
[//]: # (List change details here for Code Reviewers) |
https://docs.npmjs.com/downloading-and-installing-node-js-and-npm | |
Run nvm installation script. | |
https://github.com/nvm-sh/nvm#install--update-script | |
If you get nvm: `command not found` after running the install script, troubleshoot it. | |
https://github.com/nvm-sh/nvm#troubleshooting-on-macos | |
This worked in my case on zsh: | |
You might need to restart your terminal instance or run `. ~/.nvm/nvm.sh`. |
Basically just type the following in a shell: | |
$ irb | |
irb> require "spaceship" | |
irb> Spaceship::Tunes.login("iTunesConnect_username", "iTunesConnect_password") | |
irb> Spaceship::Tunes.select_team | |
You'll be presented with a list of teams your account belongs to, along with the numerical representation for that team. |
Command line:
defaults write com.apple.screencapture location /Users/alex/Screenshots