Good question. We'll assume a gpg2 install available at gpg.
First you have to have a key-pair.
gpg --full-generate-key
First prepare your Mac for Developer Mode™.
xcode-select --install (now all sorts of stuff works)Install rbenv and use it to install a Ruby:
brew install rbenv ruby-buildecho 'eval "$(rbenv init -)"' >> ~/.bash_profilerbenv install Download OpenSSL 1.1.1q source.
Extract and change into source directory. Applied this workaround (should be fixed in next openssl release, "r").
$ mkdir /opt && chown -R veen:staff /opt
$ ./config --prefix=/opt/openssl-1.1.1q
$ make -j 4 && make install
| set terminal png | |
| set output "plot.png" | |
| set title "Cannon ball" | |
| set key autotitle columnhead | |
| set xlabel "Time" | |
| set datafile separator ',' | |
| plot "output.csv" u 1:62 w lines |
| // view model | |
| self.figureOutWhatToShowNext = [RACCommand commandWithCanExecuteSignal:self.okayToShowNextThing]; | |
| self.nextVM = [[self.figureOutWhatToShowNext addSignalBlock:^ RACSignal *(id value) { | |
| return [self.model.figureItOut map:id (id x) { return x.boolValue ? [[OkayVM alloc] init] : [[NotOkayVM alloc] init] }]; | |
| ] flatten]; | |
| // view |
| // from RichB, https://groups.google.com/forum/#!msg/kayak-http/ivzlD8HoF9w/7reCjodx2-AJ%5B1-25%5D | |
| class FileProducer : IDataProducer | |
| { | |
| // Members | |
| private string m_fileName; | |
| private FileStream m_fileStream; | |
| private IDataConsumer m_consumer; |
| - (void) assertionIdeasLikeNUnit | |
| { | |
| [Assert that:@"foobar" is:[Equal to:@"other"]]; | |
| [Assert that:@"foobar" isNot:[Equal to:@"other"]]; | |
| [Assert that:collection isAll:[Less than:@10]]; | |
| [Assert that:collection isAll:[Less thanOrEqualTo:@10]]; | |
| [Assert that:collection isAll:[Less thanOrEqualTo:@10]]; | |
| [Assert that:collection isAll:[Greater than:@10]]; | |
| [Assert that:collection isAll:[Greater thanOrEqualTo:@10]]; |
| int windowWidth; | |
| int windowHeight; | |
| float surfaceHeight = 50; | |
| // sum should be 1 | |
| float kYaw = .5, kBrake = .5; | |
| float[] mix(float pitch, float yaw, float roll, float brake) { | |
| float brakeSeparation = kBrake * (1 + brake) / 2; | |
| float yawMix = Math.max(kYaw, 1 - brakeSeparation); |