Share Code Quickly

What is Harigami?

Harigami is a simple source code sharing service. You can share source code by an URL which is issued after submission.
You can also run your source code online such as Python, Ruby, JavaScript and so on.
For free.Use for code review.
Preferences

anonymous No title
Python
cbd store  <a href=" http://cbdhempoilwr.com/#  ">cbd tinctures </a> cbd oil for pain  
anonymous No title
Python
import math

ry = int(input("年利を入力してください(単位:%)")) #年利
rm = ((1+ ry/100)**(1/12)-1) #年利から月利を計算
rm_percent = rm*100
print("月利は" + str(rm_percent) + "%です")
ganpon = int(input("元本を入力してください。(単位:円)"))
year = int(input("運用年数を入力してください。(単位:年)"))
month = year*12
hikidashi = int(input("毎月引き出したい金額を入力してください(単位:円)"))
zandaka = ganpon

def calc(hikidashi):
    global ganpon
    global zandaka
    zougen = (ganpon *(rm) - hikidashi)
    for i in range(month):
        zandaka = zandaka + zougen
    return zandaka

while(zandaka >0):
    zandaka = calc(hikidashi)
    zandaka = math.floor(zandaka)
    print("年利" +str(ry) + "%の場合" +"毎月" + str(hikidashi) + "円引き出すと" +str(zandaka) +"円の残高")
    if zandaka >0:
        zandaka = ganpon
        hikidashi = hikidashi + 1000
anonymous Rust で Hello World
Mozilla Public v 2.0 Rust
fn main() {
    println!("Hello, world!!");
}
anonymous No title
Python
print("Hello World")
anonymous No title
Python
import hashlib
import hmac
import time
import requests

API= "BF_API"
secretKey = b'BF_SECRET'

timeloc = str(time.time()*1000)[0:13]
payloadstr = "symbol=BTCUSDT&recvWindow=5000&timestamp="+timeloc
payload = payloadstr.encode(encoding='utf-8')

signature = hmac.new(secretKey, payload, hashlib.sha256).hexdigest()
#print(signature) #実行のたびに結果が違っていればタイムスタンプを使ってハッシュを計算しているのでOKっぽい

headerstr = {'X-MBX-APIKEY': API}
url_1 = "https://fapi.binance.com/fapi/v1/allOpenOrders?"
url_3 = "&signature="
url = url_1 + payloadstr + url_3 + signature

res = requests.delete(url, headers=headerstr)
print(res)
#print(url)
anonymous No title
Python
import hashlib
import hmac
import time
import requests

API= "BF_API"
secretKey = b'BF_SECRET'

timeloc = str(time.time()*1000)[0:13]
payloadstr = "symbol=BTCUSDT&recvWindow=5000&timestamp="+timeloc
payload = payloadstr.encode(encoding='utf-8')

signature = hmac.new(secretKey, payload, hashlib.sha256).hexdigest()
#print(signature) #実行のたびに結果が違っていればタイムスタンプを使ってハッシュを計算しているのでOKっぽい

headerstr = {'X-MBX-APIKEY': API}
url_1 = "https://fapi.binance.com/fapi/v1/allOpenOrders?"
url_3 = "&signature="
url = url_1 + payloadstr + url_3 + signature

res = requests.delete(url, headers=headerstr)
print(res)
#print(url)
anonymous No title
Python
import hashlib
import hmac
import time
import requests

API= "BF_API"
secretKey = b'BF_SECRET'

timeloc = str(time.time()*1000)[0:13]
payloadstr = "symbol=BTCUSDT&recvWindow=5000&timestamp="+timeloc
payload = payloadstr.encode(encoding='utf-8')

signature = hmac.new(secretKey, payload, hashlib.sha256).hexdigest()
#print(signature) #実行のたびに結果が違っていればタイムスタンプを使ってハッシュを計算しているのでOKっぽい

headerstr = {'X-MBX-APIKEY': API}
url_1 = "https://fapi.binance.com/fapi/v1/allOpenOrders?"
url_3 = "&signature="
url = url_1 + payloadstr + url_3 + signature

res = requests.delete(url, headers=headerstr)
print(res)
#print(url)
anonymous No title
Python
import hashlib
import hmac
import time
import requests

API= "BF_API"
secretKey = b'BF_SECRET'

timeloc = str(time.time()*1000)[0:13]
payloadstr = "symbol=BTCUSDT&recvWindow=5000&timestamp="+timeloc
payload = payloadstr.encode(encoding='utf-8')

signature = hmac.new(secretKey, payload, hashlib.sha256).hexdigest()
#print(signature) #実行のたびに結果が違っていればタイムスタンプを使ってハッシュを計算しているのでOKっぽい

headerstr = {'X-MBX-APIKEY': API}
url_1 = "https://fapi.binance.com/fapi/v1/allOpenOrders?"
url_3 = "&signature="
url = url_1 + payloadstr + url_3 + signature

res = requests.delete(url, headers=headerstr)
print(res)
#print(url)
anonymous No title
Python
import hashlib
import hmac
import time
import requests

API= "BF_API"
secretKey = b'BF_SECRET'

timeloc = str(time.time()*1000)[0:13]
payloadstr = "symbol=BTCUSDT&recvWindow=5000&timestamp="+timeloc
payload = payloadstr.encode(encoding='utf-8')

signature = hmac.new(secretKey, payload, hashlib.sha256).hexdigest()
#print(signature) #実行のたびに結果が違っていればタイムスタンプを使ってハッシュを計算しているのでOKっぽい

headerstr = {'X-MBX-APIKEY': API}
url_1 = "https://fapi.binance.com/fapi/v1/allOpenOrders?"
url_3 = "&signature="
url = url_1 + payloadstr + url_3 + signature

res = requests.delete(url, headers=headerstr)
print(res)
#print(url)
anonymous No title
Python
import hashlib
import hmac
import time
import requests

API= "BF_API"
secretKey = b'BF_SECRET'

timeloc = str(time.time()*1000)[0:13]
payloadstr = "symbol=BTCUSDT&recvWindow=5000&timestamp="+timeloc
payload = payloadstr.encode(encoding='utf-8')

signature = hmac.new(secretKey, payload, hashlib.sha256).hexdigest()
#print(signature) #実行のたびに結果が違っていればタイムスタンプを使ってハッシュを計算しているのでOKっぽい

headerstr = {'X-MBX-APIKEY': API}
url_1 = "https://fapi.binance.com/fapi/v1/allOpenOrders?"
url_3 = "&signature="
url = url_1 + payloadstr + url_3 + signature

res = requests.delete(url, headers=headerstr)
print(res)
#print(url)