This file contains 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 requests | |
# 仓库的所有者和名称 | |
repo_owner = "freqtrade" | |
repo_name = "freqtrade" | |
# 你的 GitHub 用户名 | |
your_username = "14790897" | |
# GitHub API 的 URL |
This file contains 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
# --- Do not remove these libs --- | |
from freqtrade.strategy.interface import IStrategy | |
from pandas import DataFrame | |
import talib.abstract as ta | |
from freqtrade.strategy import CategoricalParameter, DecimalParameter, IntParameter | |
import numpy as np | |
import pandas as pd | |
import os | |
# -------------------------------- |
This file contains 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
addEventListener('fetch', event => { | |
event.respondWith(handleRequest(event.request)) | |
}) | |
addEventListener('scheduled', event => { | |
event.waitUntil(doSomeTaskOnASchedule()); | |
}); | |
async function doSomeTaskOnASchedule() { | |
await handleChecklist(); |
This file contains 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
// ==UserScript== | |
// @name Card Input | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @match https://www.zuora.com/apps/PublicHostedPageLite.do** | |
// @grant none | |
// ==/UserScript== |
This file contains 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 json | |
def find_bottom_most_node(conversation_data): | |
""" | |
Finds the bottom-most node in the conversation, which is the node without any children. | |
:param conversation_data: The conversation data in a nested dictionary format. | |
:return: The ID of the bottom-most node, or None if not found. | |
""" |