#Integración de Paypal en menos de un minuto.
Listado de pasos.
- Ingrezar a la pagina de desarrollo de Paypal .
- Ir a la sección de Classic APIs.
- Elige la opcion
Add payment buttons
del menu de la izquierda.
/* | |
* blink.c | |
* Blink Pin B5 on AVR Atmega328p | |
* | |
* Created on: 10/06/2012 | |
* Author: iddar Olivares | |
* Email: iddar [at] open-drain [dot] com | |
* Link: http://open-drain.com | |
*/ |
#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 |
function db(_name){ | |
this.name = _name; | |
this.length = function(){ | |
return this.data.length; | |
} | |
this.set = function(_data){ | |
this.data.push(_data); |
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) { |
events = require 'events' | |
class gpsparse | |
gpsparse.prototype = new events.EventEmitter | |
errors = | |
parse: "Error de conexion del GPS." | |
format: "Error al codificar latlng" |