- Install GPG tools
- Install GPG tools and setup pin entry by running:
brew install gnupg pinentry-mac mkdir -m 700 -p ~/.gnupg echo "pinentry-program /usr/local/bin/pinentry-mac" >> ~/.gnupg/gpg-agent.conf killall gpg-agent
| @interface NRLabel : UILabel | |
| @property (nonatomic) UIEdgeInsets textInsets; | |
| @end | |
| @implementation NRLabel | |
| - (void)setTextInsets:(UIEdgeInsets)textInsets | |
| { | |
| _textInsets = textInsets; | |
| [self invalidateIntrinsicContentSize]; |
| # see the current limits | |
| $ sysctl -a | grep maxproc | |
| # increase it | |
| $ sudo sysctl -w kern.maxproc=xxxx | |
| $ sudo sysctl -w kern.maxprocperuid=xxx | |
| # run at startup | |
| $ sudo vim /etc/sysctl.conf |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| #!/bin/sh | |
| # Download Neko | |
| curl -L http://nekovm.org/_media/neko-2.0.0-osx.tar.gz > neko-2.0.0-osx.tar.gz | |
| # Extract and copy files to /usr/lib/neko |