This file contains hidden or 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
| 0x85Ad9d1FCF50b72255E4288dcA0ad29f5f509409 |
This file contains hidden or 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
| import React, { Component } from 'react'; | |
| import FlipMove from 'react-flip-move'; | |
| class App extends React.Component { | |
| constructor(props) { | |
| super(props); | |
| this.handeClick = this.handeClick.bind(this); | |
| this.state = { | |
| items:[ | |
| { id:"Item1", visible: true }, |
This file contains hidden or 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
| public static bool sendAuthorizedHttpRequest(string server, string functionUrl, string command, string apiKey, string apiSecret, byte[] data) | |
| { | |
| try | |
| { | |
| using (var client = new System.Net.WebClient()) | |
| { | |
| AddAuthroizationHeader(client, apiKey, apiSecret); | |
| client.UploadData(server + functionUrl, command, data); | |
| } | |
| return true; |
This file contains hidden or 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 that +ajcronk is my openname (Bitcoin username). https://onename.io/ajcronk |
This file contains hidden or 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 client = new Client.ClientBuilder() | |
| .Key("your-api-key") | |
| .Secret("your-api-secret") | |
| .Build(); | |
| static DateTime startDate = new DateTime(2012, 1, 1); | |
| static DateTime endDate = new DateTime(2013, 1, 1); | |
| static string seriesKey = "test-key" | |
| /* |
This file contains hidden or 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
| import dateutil.parser | |
| import optparse | |
| from Queue import Queue | |
| import tempodb | |
| from threading import Thread | |
| class Worker(Thread): | |
| """Thread executing tasks from a given tasks queue""" | |
| def __init__(self, tasks): | |
| Thread.__init__(self) |