⌘T | go to file |
⌘⌃P | go to project |
⌘R | go to methods |
⌃G | go to line |
⌘KB | toggle side bar |
⌘⇧P | command prompt |
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
# install git | |
sudo apt-get install g++ curl libssl-dev apache2-utils | |
sudo apt-get install git-core | |
# download the Node source, compile and install it | |
git clone https://github.com/joyent/node.git | |
cd node | |
./configure | |
make | |
sudo make install | |
# install the Node package manager for later use |
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
<alps version="1.0"> | |
<link rel="help" href="https://github.com/RESTFest/2014-Greenville/wiki/Hack%20Day" /> | |
<!-- semantic descriptors (data elements) --> | |
<descriptor id="todo" type="semantic"> | |
<descriptor id="id" type="semantic" /> | |
<descriptor id="Title" type="semantic" /> | |
<descriptor id="DateDue" type="semantic" /> | |
<descriptor id="Notes" type="semantic" /> | |
<descriptor id="dateCreated" type="semantic" /> |
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
module.exports = function(server) { | |
var buttonQuery = server.where({type: 'button'}); | |
server.observe([buttonQuery], function(button){ | |
button.on('click', function(b){ | |
//This will log undefined because there are no inputs to this transition | |
//You can use dot notation to access properties on devices | |
//console.log(b); | |
console.log(button.b); |
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
var util = require('util'); | |
var zetta = require('zetta'); | |
var DeviceRegistry = module.exports = function(path) { | |
zetta.DeviceRegistry.call(this, { path: path, collection: 'devices' }); | |
}; | |
util.inherits(DeviceRegistry, zetta.DeviceRegistry); |
scopes:
3cef180d:
proxies:
edgemicro_hello:
revision: '15'
proxy_name: 'default'
base_path: '/iloveapis'
target_name: 'default'
url: 'http://mocktarget.apigee.net/'
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
[ | |
{ | |
"id": "1234567890", | |
"displayName": "abc123", | |
"created":"1481917061", | |
"updated":"1481917061", | |
"createdBy":"mdobs", | |
"updatedBy":"mdobs", | |
"scopeId": "ABCDEF", | |
"uri": "file:///tmp/F1ERRO/0c9853d1ad9b7ec9f7d16ed16ada1be4/archive/369a01f320f926cd8ffac5dfda83b1d8a2129ab3.zip", |