If you haven't already set your NPM author info, now you should:
npm set init.author.name "Your Name"
npm set init.author.email "[email protected]"
npm set init.author.url "http://yourblog.com"
npm adduser
| #include <stdio.h> | |
| #include <stdlib.h> | |
| void Extraer( | |
| int *A, // I/O unidades actuales en almacén | |
| int *C, // I/O valor actual en la tarifa | |
| int *P, // I/O unidades pendientes a extraer | |
| char *m // microprograma a ejecutar | |
| ) { |
| var serialport = require('node-serialport') | |
| var sp = new serialport.SerialPort("/dev/ttyO3", { | |
| parser: serialport.parsers.raw, | |
| baud: 9600 | |
| }) | |
| sp.on('data', function(chunk) { | |
| console.log(chunk.toString('hex'), chunk.toString(), chunk) | |
| }) |
| var FS = require('fs'); | |
| var EventEmitter = require('events').EventEmitter; | |
| // http://www.mjmwired.net/kernel/Documentation/input/joystick-api.txt | |
| function parse(buffer) { | |
| var event = { | |
| time: buffer.readUInt32LE(0), | |
| number: buffer[7], | |
| value: buffer.readInt16LE(4) | |
| } |
| [branch "master"] | |
| remote = origin | |
| merge = refs/heads/master |
| ############################################# | |
| # Push de la rama actual | |
| git push origin $rama_actual | |
| ############################################# | |
| # Volver a un commit anterior, descartando los cambios | |
| git reset --HARD $SHA1 | |
| ############################################# | |
| # Ver y descargar Ramas remotas |
| var HTTPS = require('https'); | |
| var QueryString = require('querystring'); | |
| /** | |
| * Facebook API Wrapper | |
| * @constructor | |
| * @param {Object} info Info about the Facebook application | |
| */ | |
| var Client = function (info) { | |
| if (!info.id) { |
| /^([A-Z,Ñ,&]{3,4}([0-9]{2})(0[1-9]|1[0-2])(0[1-9]|1[0-9]|2[0-9]|3[0-1])[A-Z|\d]{3})$/ |
| * { | |
| font-size: 12pt; | |
| font-family: monospace; | |
| font-weight: normal; | |
| font-style: normal; | |
| text-decoration: none; | |
| color: black; | |
| cursor: default; | |
| } |
| require "try-catch" | |
| try { | |
| function() | |
| error('oops') | |
| end, | |
| catch { | |
| function(error) | |
| print('caught error: ' .. error) |
If you haven't already set your NPM author info, now you should:
npm set init.author.name "Your Name"
npm set init.author.email "[email protected]"
npm set init.author.url "http://yourblog.com"
npm adduser