Skip to content

Instantly share code, notes, and snippets.

@nilobarp
nilobarp / bluetooth.proto
Last active April 5, 2019 10:32
Proto message definitions
syntax = "proto3";
option java_package = "com.example.protochannel";
option java_outer_classname = "Protos";
option objc_class_prefix = "Protos";
enum BluetoothState {
off = 0;
on = 1;
unsupported = 2;
@nilobarp
nilobarp / introrx.md
Created December 27, 2017 06:42 — forked from staltz/introrx.md
The introduction to Reactive Programming you've been missing
// Restify Server CheatSheet.
// More about the API: http://mcavage.me/node-restify/#server-api
// Install restify with npm install restify
// 1.1. Creating a Server.
// http://mcavage.me/node-restify/#Creating-a-Server
var restify = require('restify');