This file contains hidden or 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 "Keyboard.h" | |
| // columns are outputs, rows are inputs | |
| uint8_t colPins[] = { 15, 14, 16, 10, 3, 4 }; | |
| uint8_t rowPins[] = { 5, 6, 7, 8, 9 }; | |
| #define NUMCOLS sizeof(colPins) | |
| #define NUMROWS sizeof(rowPins) | |
| #define NUMKEYS (NUMCOLS * NUMROWS) |
This file contains hidden or 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
| package main | |
| import ( | |
| "fmt" | |
| ) | |
| func main() { | |
| l := &l{} | |
| fmt.Printf("result=%v\n", sum(l, nil, l.dims())) | |
| } |
This file contains hidden or 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
| package main | |
| import ( | |
| "github.com/donovanhide/eventsource" | |
| "fmt" | |
| "log" | |
| ) | |
| func main() { | |
| // prod |
This file contains hidden or 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
| package main | |
| import ( | |
| "log" | |
| "net/http" | |
| "os" | |
| "github.com/cloudfoundry-incubator/receptor/cmd/receptor/testrunner" | |
| "github.com/cloudfoundry/storeadapter/storerunner/etcdstorerunner" | |
| "github.com/onsi/ginkgo" |
This file contains hidden or 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
| FROM boot2docker/boot2docker | |
| RUN apt-get -y install p7zip-full | |
| ENV VBOX_VERSION 4.3.12 | |
| # Build VBox guest additions | |
| RUN mkdir -p /vboxguest && \ | |
| cd /vboxguest && \ | |
| curl -L -o vboxguest.iso http://download.virtualbox.org/virtualbox/${VBOX_VERSION}/VBoxGuestAdditions_${VBOX_VERSION}.iso && \ |