(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 |
(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.
# 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 |
@interface NRLabel : UILabel | |
@property (nonatomic) UIEdgeInsets textInsets; | |
@end | |
@implementation NRLabel | |
- (void)setTextInsets:(UIEdgeInsets)textInsets | |
{ | |
_textInsets = textInsets; | |
[self invalidateIntrinsicContentSize]; |