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:
REM | |
REM Usage: | |
REM dns-dhcp.bat | |
REM | |
REM Description: | |
REM Configures DNS Servers with DHCP on interfaces listed below. | |
REM | |
REM To change interfaces, replace "name" with your interface names, or use "index" instead. | |
REM | |
REM To list the names and indices of your interfaces, run: |
astyle --style=1tbs --indent=spaces=4 --indent-classes --indent-switches --break-blocks --pad-oper --pad-header --delete-empty-lines --fill-empty-lines --align-pointer=name --align-reference=name --break-closing-brackets --add-brackets --add-one-line-brackets --close-templates --convert-tabs --max-code-length=120 --break-after-logical --unpad-paren *.hpp *.cpp |
var assert = require('assert'); | |
var SerialPort = require('serialport').SerialPort; | |
var device = require('./config.json')['device']; | |
describe('opening and closing a serial port', function() { | |
var serialport; | |
this.timeout(10000); | |
before(function() { |
if (process.argv.length < 3) { | |
console.log('Usage: node run.js PORT [ID1] [ID2]'); | |
return; | |
} | |
var device = process.argv[2]; | |
var SerialPort = require('serialport').SerialPort; | |
var bluetoothCubelet = new SerialPort(device, { baudrate: 38400 }); | |
var cubelets = require('cubelets'); |
/* | |
* cocos2d for iPhone: http://www.cocos2d-iphone.org | |
* | |
* Copyright (c) 2008-2010 Ricardo Quesada | |
* Copyright (c) 2011 Zynga Inc. | |
* Copyright (c) 2013-2014 Cocos2D Authors | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a copy | |
* of this software and associated documentation files (the "Software"), to deal | |
* in the Software without restriction, including without limitation the rights |
// | |
// 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> |
<!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; |
# 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 |
I hereby claim:
To claim this, I am signing this object:
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"]) |