Skip to content

Instantly share code, notes, and snippets.

Calvin Chu calchulus

  • Chicago, IL
Block or report user

Report or block calchulus

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View walletconnect-provider.js
import Web3 from 'web3'
function getCallback(payload, cb) {
return function(err, result) {
const obj = {}
const keys = ['id', 'jsonrpc']
keys.forEach(key => {
obj[key] = payload[key]
})
obj.result = result
@tanaikech
tanaikech / submit.md
Last active Jun 18, 2019
Binance API for Google Apps Script
View submit.md

Binance API for Google Apps Script

This sample script is for using Binance API by Google Apps Script. This script encryptes "signature" like samples. In this script, "Example 1: As a query string" is used, and it retrieves "All orders (SIGNED)" by "GET".

function main() {
    var key = '#####'; // Please input your key.
    var secret = '#####'; // Please input your secret.
    var api = "/api/v3/allOrders"; // Please input API Endpoint you want.
    var timestamp = Number(new Date().getTime()).toFixed(0);
    var string = "symbol=LTCBTC&timestamp=" + timestamp; // Please input query parameters for the inputterd API.
@jwang5797
jwang5797 / CMSC 122 - Webscraping
Last active Jan 8, 2018
CMSC 122 - WebScraping
View CMSC 122 - Webscraping
### CSMC 122
#### January 8, 2018
----------
### Beautiful Soup
#### Lecture 1 (Week 1 Fri, 2018-01-05)
##### urllib2:
We will use urllib2 (a package to import) to scrape websites
You can’t perform that action at this time.