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
| #!/usr/bin/python | |
| import pycoin.key | |
| import sys | |
| import requests | |
| import json | |
| import datetime | |
| def getbalance(address): | |
| response = requests.get("https://bitaps.com/api/address/%s" % address) |
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 +rossigee is my blockchain ID. https://onename.com/rossigee |
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>Google Maps marker bug demonstration</title> | |
| <meta charset="utf-8"> | |
| <style> | |
| html, body, #map-canvas { | |
| height: 100%; | |
| margin: 0px; |
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
| <?php | |
| $application_token = "abcdef12-4855-11e4-a25f-06ee74823f7d"; | |
| # Get a visitor token | |
| $url = "https://www.cpd.co.uk/restapi/v1/agents/visitortoken/"; | |
| $curl = curl_init(); | |
| curl_setopt($curl, CURLOPT_URL, $url); | |
| curl_setopt($curl, CURLOPT_HTTPHEADER, array( | |
| 'X-CPD-Token: '.$application_token |
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
| <?php | |
| $application_token = "abcdef12-4855-11e4-a25f-06ee74823f7d"; | |
| $url = "https://www.cpd.co.uk/restapi/v1/agents/visitortoken/"; | |
| $curl = curl_init(); | |
| curl_setopt($curl, CURLOPT_URL, $url); | |
| curl_setopt($curl, CURLOPT_HTTPHEADER, array( | |
| 'X-CPD-Token: '.$application_token | |
| )); |
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
| <?php | |
| $params = array( | |
| "client_id" => "683c5835a8d36a5bb974", | |
| "client_secret" => "50ac9cb374989802d3d437c3fe0d7d8829c00e1b", | |
| "username" => "[email protected]", | |
| "password" => "theirpasswordhere", | |
| "grant_type" => "password", | |
| ); | |
| $postData = ""; |
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
| #!/bin/bash | |
| # | |
| # Returns (via stdout) the number of seconds since a file was last changed. Useful for checking a | |
| # 'success' timestamp/flag file to identify a stale/dead process. | |
| # | |
| echo $[`date +%s` - `stat -c %Y $1`] |
NewerOlder