Command line instructions You can also upload existing files from your computer using the instructions below.
Git global setup
git config --global user.name "<user_name>"
git config --global user.email "<user_email>"
import os | |
import rasterio | |
import pandas as pd | |
folder_path = "/path/to/your/folder" | |
all_tiffs = [f for f in os.listdir(folder_path) if f.endswith('.tif') or f.endswith('.tiff')] | |
master_df = pd.DataFrame() | |
for tiff_file in all_tiffs: |
// Importing Binance and Bybit Node Packages | |
const {CoinMClient} = require('binance'); | |
const RestClientV5 = require('bybit-api').RestClientV5; | |
// Set the API keys for the Binance and Bybit APIs | |
// Set the API keys for the Binance and Bybit APIs | |
const apiKeyBinance = 'your-binance-api-key'; | |
const apiSecretBinance = 'your-binance-api-secret'; | |
const apiKeyBybit = 'your-bybit-api-key'; | |
const apiSecretBybit = 'your-bybit-api-secret'; |
import asyncio | |
async def fetch_data(): | |
print('Start Fetching Data') | |
await asyncio.sleep(2) | |
print('Done fetching') | |
return {'Data' : 1} | |
async def print_numbers(): | |
for i in range(10): |
arr = [[6, 1], [1, 2], [3, 4], [5, 6], [2, 3], [4, 5]] | |
def separator(ab, b): | |
if b.index(ab) == 0: | |
return b[1] | |
else: | |
return b[0] | |
import time |
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.0; | |
contract BankOwned { | |
address public bankAddress; | |
constructor() { | |
bankAddress = msg.sender; | |
} |
Command line instructions You can also upload existing files from your computer using the instructions below.
Git global setup
git config --global user.name "<user_name>"
git config --global user.email "<user_email>"
''' | |
I really had a difficult time trying to come up with the authentication method for Primebit. I wouldn't want anyone | |
else who is a developer to go through the same challenge. | |
All the best. Happy Trading :-) | |
''' | |
from typing import Optional, Dict, Any, List | |
from requests import Request, Session, Response, request, exceptions | |
import hmac | |
import time |
import bisect | |
import itertools | |
class World: | |
uid = 0 | |
def __init__(self, nodes, lfunc, **kwargs): |
d = [ | |
[9, 4, 0, 0], | |
[0, 6, 0, 0], | |
[0, 0, 3, 0], | |
[0, 0, 0, 4] | |
] # List matrix | |
f = 0 # initilizing for the matrix columns | |
g = 3 # The starting point | |
h = [] # Final Sentence List |
import sys | |
from logging.handlers import TimedRotatingFileHandler | |
import logging | |
import logging.handlers | |
from datetime import date | |
from pathlib import Path | |
def get_project_root() -> Path: | |
return Path(__file__).parent.parent |