- CTRL + D
Secilen satiri alt satiri kopyalar.
- CTRL + /
Secilen satirlari comment icine alir. comment edilmisse commentten cikartir.
- CTRL + w
Secilen satiri alt satiri kopyalar.
Secilen satirlari comment icine alir. comment edilmisse commentten cikartir.
import openai | |
from threading import Thread | |
import time | |
def work_with_openai(tid): | |
key = f"key_{tid}" | |
openai.api_key = key | |
print(f"Thread {tid} set api key as {key}") |
# -*- coding: utf-8 -*- | |
import re | |
class TurkishTools(object): | |
CHAR_MAP = { | |
"to_upper": { | |
u"ı": u"I", | |
u"ö": u"Ö", |
package main | |
import ( | |
"fmt" | |
) | |
func BinarySearch(target_map []int, value int) int { | |
start_index := 0 | |
end_index := len(target_map) - 1 |
log-appender = {"appender":"stderr","stream":"std_error"} {"appender":"p2p","file":"logs/p2p/p2p.log"} | |
log-logger = {"name":"default","level":"info","appender":"stderr"} {"name":"p2p","level":"warn","appender":"p2p"} | |
backtrace = yes | |
plugin = webserver p2p json_rpc witness account_by_key reputation market_history | |
plugin = database_api account_by_key_api network_broadcast_api reputation_api | |
plugin = market_history_api condenser_api block_api rc_api | |
history-disable-pruning = 0 | |
account-history-rocksdb-path = "blockchain/account-history-rocksdb-storage" |
I hereby claim:
To claim this, I am signing this object:
package main | |
import "fmt" | |
func main() { | |
x := []int{ | |
48, 96, 86, 68, | |
57, 82, 63, 70, | |
37, 34, 83, 27, |
import requests | |
from lightsteem.client import Client | |
import random | |
def get_proxy_votes(c, username): | |
account_detail = c.get_accounts([username])[0] | |
if account_detail["proxy"]: | |
# print(f"proxy found, checking {account_detail['proxy']}") | |
return get_proxy_votes(c, account_detail["proxy"]) |