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
express = require("express") | |
request = require("request") | |
BufferList = require("bufferlist").BufferList | |
app = express.createServer(express.logger(), express.bodyParser()) | |
app.get "/", (req, res) -> | |
if req.param("url") | |
url = unescape(req.param("url")) | |
request | |
uri: url | |
encoding: 'binary' |
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 httpProxy = require('http-proxy'); | |
httpProxy.createServer(function (req, res, proxy) { | |
var buffer = httpProxy.buffer(req); | |
middleware(res, function() { | |
console.log("The request was proxied"); | |
}); | |
proxy.proxyRequest(req, res, { |
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
'use strict'; | |
var fs = require('fs'), | |
util = require('util'), | |
http = require('http'), | |
https = require('https'), | |
httpProxy = require('http-proxy'), | |
cache = require('./cache'), | |
memoryMonitor = require('./memorymonitor'); |
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
0xb926e63dCB450703658186F310e3c95dF140d449 |
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
[ | |
{ | |
"discount": 10, | |
"discountDescription": "description", | |
"expiryAt": "2017-12-31T00:00:00Z", | |
"name": 1, | |
"numberOfCoupons": 10, | |
"vendor": { | |
"address": "36, Arakashan Road, Opp. Church, Ram Nagar, New Delhi", | |
"name": "Hotel Ajanta", |
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
pragma solidity ^0.4.11; | |
contract MBToken { | |
address public owner; | |
function Owned() { | |
owner = msg.sender; | |
} |
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
0x5585CB3dd6002570810FAC073DB209c6BB9049DD |
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
Verifying my Blockstack ID is secured with the address 1BpL8UxXST5dXiDhm4rBiobUoPQHZJiWpy https://explorer.blockstack.org/address/1BpL8UxXST5dXiDhm4rBiobUoPQHZJiWpy |
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
[{ | |
"constant": true, | |
"inputs": [], | |
"name": "name", | |
"outputs": [{ | |
"name": "", | |
"type": "string" | |
}], | |
"payable": false, | |
"stateMutability": "view", |