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 api = require('etherscan-api').init('REPLACE THIS WITH YOUR API KEY @ ETHERSCAN', 'ropsten', '3000'); | |
| var address = 'RELPACE THIS WITH ADDRESS YOU ARE INTREST'; | |
| var balance = api.account.balance(address); | |
| balance.then(function (balanceData) { | |
| //b = JSON.parse(balanceData); | |
| console.log(balanceData); | |
| }); |
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
| FROM debian:stretch | |
| LABEL reference="https://superuser.com/questions/715722/how-to-do-dpkg-reconfigure-dash-as-bash-automatically" | |
| RUN echo "dash dash/sh boolean false" | debconf-set-selections | |
| RUN DEBIAN_FRONTEND=noninteractive dpkg-reconfigure dash |
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 "pluswave.id" is my Blockstack ID. https://onename.com/pluswave |
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 chnNumChar = { | |
| 零:0, | |
| 一:1, | |
| 二:2, | |
| 三:3, | |
| 四:4, | |
| 五:5, | |
| 六:6, | |
| 七:7, | |
| 八:8, |
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
| "use strict"; | |
| var page = require('webpage').create(); | |
| page.onConsoleMessage = function(msg) { | |
| console.log(msg); | |
| }; | |
| /* | |
| page.onUrlChanged = function (url){ | |
| console.log(url); |
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
| #*-- coding: utf-8 --* | |
| import matplotlib | |
| X_INCH = 7 | |
| Y_INCH = 11 | |
| X_MM = int(X_INCH*25.4) | |
| Y_MM = int(Y_INCH*25.4) | |
| while X_MM % 5 != 1: |
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/env node | |
| var jsdom = require('jsdom'); | |
| function lists(window){ | |
| var as = window.document.body.querySelectorAll("#topicListern a"); | |
| as = Array.prototype.slice.call(as, 0); | |
| // console.log(JSON.stringify(as)); | |
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/env node | |
| var fs = require('fs'); | |
| var child_process = require('child_process'); | |
| if( process.argv.length != 3 ){ | |
| console.log("usage: " + process.argv[1] + " packagename"); | |
| process.exit(1); | |
| } |
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
| package org.xiaofuxing.name; | |
| import org.apache.cordova.CordovaPlugin; | |
| import org.apache.cordova.CallbackContext; | |
| import org.json.JSONArray; | |
| import org.json.JSONException; | |
| import org.json.JSONObject; | |
| import java.lang.Runnable; | |
| import android.print.PrintJob; |
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
| <?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC | |
| "-//W3C//DTD XHTML 1.0 Transitional//EN" | |
| "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
| <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | |
| <head> | |
| <title>DocumentKeyTest</title> | |
| <script> | |
| function load(){ |
NewerOlder