This file contains 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
#include <SoftwareSerial.h> | |
SoftwareSerial midi(2, 3); | |
// there are 6 strings | |
#define STRINGS 6 | |
// and 5 frets available | |
#define FRETS 5 | |
// input pins |
This file contains 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
======================================================================== | |
BYTE UNIX Benchmarks (Version 5.1.3) | |
System: ip-172-31-43-143: GNU/Linux | |
OS: GNU/Linux -- 3.14.35-28.38.amzn1.x86_64 -- #1 SMP Wed Mar 11 22:50:37 UTC 2015 | |
Machine: x86_64 (x86_64) | |
Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8") | |
CPU 0: Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz (5000.1 bogomips) | |
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET | |
13:44:50 up 43 min, 2 users, load average: 0.78, 0.62, 0.33; runlevel 3 |
This file contains 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
import static com.google.common.collect.Lists.transform; | |
import static java.nio.charset.StandardCharsets.UTF_8; | |
import static rx.Observable.from; | |
import static rx.Observable.merge; | |
public Observable<String> watch(String path) { | |
return Observable.create(observer -> { | |
AtomicBoolean unsubscribed = new AtomicBoolean(false); |
This file contains 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
#include <iostream> | |
#include <fstream> | |
#include <cstdlib> | |
#include <algorithm> | |
#include <vector> | |
static const int SESSIONS = 10000; | |
static const double ALPHA = 0.25; | |
static const double BETA = 0.95; |
NewerOlder