I hereby claim:
- I am programmarchy on github.
- I am programmarchy (https://keybase.io/programmarchy) on keybase.
- I have a public key whose fingerprint is B996 22F1 D7FC C095 E86F 9E09 9238 2733 3ABD 81AD
To claim this, I am signing this object:
| <pre id="credentials"></pre> | |
| <button onClick="javascript:sendRequest()">Send Request</button> | |
| <script> | |
| function getEmberSessionCredentials() { | |
| var data = localStorage['ember_simple_auth:session'] | |
| if (!data) { return null } | |
| var session = JSON.parse(data) | |
| if (!session) { return null } |
| function choices(n) { | |
| var map = {} | |
| var rand = function (n) { | |
| return Math.floor(n * Math.random()) | |
| } | |
| var stride = (n / 2) | |
| var i = rand(n) | |
| var max = 0 |
| #include <asf.h> | |
| #include <avr/io.h> | |
| #include <avr/wdt.h> | |
| #include <stdint.h> | |
| #define PIN_SET_OUTPUT(ddr, id) ddr |= _BV(id) | |
| #define PIN_SET_INPUT(ddr, id) ddr &= ~_BV(id) | |
| #define PIN_SET_HIGH(port, id) port |= _BV(id) | |
| #define PIN_SET_LOW(port, id) port &= ~_BV(id) | |
| #define PIN_IS_HIGH(pins, id) bit_is_set(pins, id) |
| #include <asf.h> | |
| #include <avr/io.h> | |
| #include <avr/wdt.h> | |
| #include <stdint.h> | |
| #define PIN_SET_OUTPUT(ddr, id) ddr |= _BV(id) | |
| #define PIN_SET_INPUT(ddr, id) ddr &= ~_BV(id) | |
| #define PIN_SET_HIGH(port, id) port |= _BV(id) | |
| #define PIN_SET_LOW(port, id) port &= ~_BV(id) | |
| #define PIN_IS_HIGH(pins, id) bit_is_set(pins, id) |
| // BluetoothLowEnergy.cpp : Defines the entry point for the console application. | |
| // | |
| #include "stdafx.h" | |
| #pragma warning (disable: 4068) | |
| #include <windows.h> | |
| #include <stdio.h> | |
| #include <tchar.h> |
| env = Environment() | |
| env.Append(CPPPATH = ['.', 'lib/websocketpp', 'lib/cpp-json/include']) | |
| env.Append(LIBS = ['boost_system']) | |
| env.Append(CXXFLAGS = ['-std=c++11', '-stdlib=libc++', '-D_WEBSOCKETPP_CPP11_STL']) | |
| env.Append(FRAMEWORKS = ['Foundation', 'IOBluetooth']) | |
| program = env.Program(target = 'server', source = ["main.cpp", "bluetooth_serial.mm"]) |
I hereby claim:
To claim this, I am signing this object:
| # this works ok | |
| browserify -r './kitten.js:nyan' -e pizza.js > bundle.js | |
| # but full-paths causes an error: Uncaught Error: Cannot find module .../kitten.js | |
| browserify -r './kitten.js:nyan' -e pizza.js --full-paths > bundle.js |
| <!doctype html> | |
| <html ng-app="test" ng-csp> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <title>ngShow Test</title> | |
| <style> | |
| body { | |
| width: 300px; | |
| height: 300px; | |
| background: green; |
| // | |
| // ViewController.m | |
| // ExampleMoss | |
| // | |
| // Created by Donald Ness on 10/28/14. | |
| // Copyright (c) 2014 Modular Robotics. All rights reserved. | |
| // | |
| #import "ViewController.h" | |
| #import <MossKit/MossKit.h> |