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
I am attesting that this GitHub handle itherunder is linked to the Tezos account tz1cBabDyuEqavNuRwoFoen5fH5Lmy8vufak for tzprofiles | |
sig:edsigteN16Zy81qXFw3ECVeDjw3HXKUzm8vJk5MUCdNrFhVR8ogLTtDiyvAn4hKwdMJ5ydSqm8TnUPaTw15jP9BjGqNfu96PTHg |
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 main | |
import "fmt" | |
// 返回一个“返回int的函数” | |
func fibonacci() func() int { | |
a, b := 1, 0 | |
return func() int { | |
a, b = a+b, a | |
return b |
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 main | |
import ( | |
"fmt" | |
"math" | |
) | |
func Sqrt(x float64) float64 { | |
var z float64 = 1 | |
for math.Abs(z*z-x) > 0.0001 { |
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
__author__ = 'itherunder' | |
''' | |
https://etherscan.io/tokens?ps=100&p=1,从这里拿的 | |
coins = document.getElementsByClassName('text-primary') | |
res = [] | |
for (let i = 0; i < 100; i++) { | |
var name = coins[i].text | |
var href = coins[i].href | |
console.log(name, href) | |
res.push([name, href]) |
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 eth_typing.evm import Address | |
from web3 import Web3 | |
import time | |
NODE_URL = "YOUR NODE URL(https://admin.moralis.io/speedyNodes获取)" | |
w3 = Web3(Web3.HTTPProvider(NODE_URL)) | |
vis = {} | |
with open('vis.txt', 'r') as r: | |
for l in r: |
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 genericpath import getctime | |
from urllib import parse | |
from selenium import webdriver | |
from webdriver_manager.chrome import ChromeDriverManager | |
from webdriver_manager.utils import download_file | |
search_word = 'ethereum smart contract' | |
query = '+'.join(search_word.split(' ')) | |
url = 'https://scholar.google.com/scholar?hl=en&start=%d&q=%s' |
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 logging import info | |
import os, pdfplumber, docx, xlrd | |
import sys | |
from win32com import client as wc | |
def doc2docx(file): | |
word = wc.Dispatch("Word.Application") | |
doc = word.Documents.Open(doc_path+'/'+file) | |
doc.SaveAs(doc_path+'/'+'{}x'.format(file), 12) | |
doc.Close() |
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 pyautogui, time, random, sys, os | |
def send_email(msg): | |
msg = msg.replace(' ', '_') | |
os.system('send_mail.exe %s' % msg) | |
def into_followers(): | |
loc = pyautogui.locateCenterOnScreen("followers.png", confidence=0.9) | |
while loc is None: | |
print('[INFO] Cannot find followers.') |
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 main | |
import ( | |
"bufio" | |
"crypto/ecdsa" | |
crand "crypto/rand" | |
"fmt" | |
"io" | |
"log" | |
"net/smtp" |
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 Wallet = require('ethereumjs-wallet') | |
const fs = require('fs'); | |
// 生成 i 个钱包地址数量,改这里就可以了。 TeleGram:@btcok9 | |
for(var i = 0; i < 100; i++){ | |
const EthWallet = Wallet.default.generate(false); | |
const addressALL = EthWallet.getAddressString(); | |
const addr = addressALL + "\n"; | |
console.log("address: " + EthWallet.getAddressString()); |