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
# Generated by Powerlevel10k configuration wizard on 2023-09-25 at 17:47 CST. | |
# Based on romkatv/powerlevel10k/config/p10k-classic.zsh, checksum 48479. | |
# Wizard options: nerdfont-complete + powerline, small icons, classic, unicode, light, | |
# 24h time, round separators, round heads, flat tails, 2 lines, disconnected, | |
# left frame, sparse, many icons, concise, instant_prompt=quiet. | |
# Type `p10k configure` to generate another config. | |
# | |
# Config for Powerlevel10k with classic powerline prompt style. Type `p10k configure` to generate | |
# your own config based on it. | |
# |
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
數學是研究數量、結構以及空間等概念及其變化的一門學科,屬於形式科學的一種。 | |
數學利用抽象化和邏輯推理,從計數、計算、量度、對物體形狀及運動的觀察發展而成。 | |
數學家們拓展這些概念,以公式化新的猜想,以及從選定的公理及定義出發,嚴謹地推導出一些定理。 | |
基礎數學的知識與運用是生活中不可或缺的一環。 | |
對數學基本概念的完善,早在古埃及、美索不達米亞及古印度歷史上的古代數學文本便可觀見,而在古希臘那裡有更為嚴謹的處理。 | |
從那時開始,數學的發展便持續不斷地小幅進展,至16世紀的文藝復興時期,因為新的科學發現和數學革新兩者的交互,致使數學的加速發展,直至今日。 | |
數學並成為許多國家及地區的教育中的一部分。 | |
數學在許多領域都有應用,包括科學、工程、醫學、經濟學和金融學等。 |
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 os | |
import subprocess as sp | |
def launch(): | |
container_name = "HelloTGI" | |
local_model = True # Model 是否已下載到本機內 | |
download_dir = "Models" # 如果不是 Local Model 要下載到哪裡 | |
model_path = "Models/Llama-2-7b-chat-fp16" | |
image_name = "ghcr.io/huggingface/text-generation-inference:latest" |
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
{ | |
"00": { | |
"explain": "愚人的編號是 0,它象徵旅程的開始,宛如一個初生的孩童,有無限的可能。0 這個數字代表著一切事物皆處於混沌未開的狀態之中,沒有正反善惡的分別。這張牌描繪一個旅行者站在懸崖邊緣,雙眼凝視天空,有漠視所處環境有危機的暗示。腳邊有一隻狗在吠叫著,有提醒危險的暗示。左手上有一朵白玫瑰,代表純潔的心靈,右肩的行囊裝載著很多他的過去(過去的生活和經驗),畫面上這條狗也代表著過去,他頭上方那個圓圈代表無始無終,每件事情都是一個新的局面。當牌面上出現愚者時,是在暗示我們應該無所畏懼的去冒個險,並活在當下。桂冠代表勝利,紅色的羽毛代表追求新事物的願望,包袱代表無法捨去的世俗事物,玫瑰代表純潔的內心,五彩繽紛的衣服代表內心的衝擊,棍杖代表愚者充滿力量與活力的面對新旅程。", | |
"name": "愚者", | |
"positive": { | |
"behavior": "新開始、無經驗的、懷有信心、冒險的行動、無限的可能性、隨興而為、無憂無慮、輕鬆愉快、明顯的危險、放縱的愚行、不體貼的、沒有計劃的、不成熟的、不理性的、沒有安全感、狂熱與眾不同。", | |
"marriage": "代表天真不受拘束的伴侶,即將展開一段新的開始。冒個險,信任自己的直覺去行動吧!自由戀愛、不顧及他人看法、以獨特的方式獲得成功、輕易墜入愛河、浪漫多彩的愛情、獨特的戀人、等待交往機會。對單身者來說,你將會得到一場輕鬆浪漫的愛情。而對戀人來說,則表示了兩人間的已有的感情將會持續發展,值得好好把握。完全可以不理會世俗眼光的自由戀愛,用自己的一套去追求心愛的人,不需要太用心力的談一場戀愛。", | |
"meaning": "愚者牌暗示現在你正不顧風險的有所行動。代表邁向自由解放的第一步。是一張代表自我放縱或放鬆的牌,一段跳脫現實自得其樂的日子。對旅遊而言,這是一張有助於感情發展積極的牌,暗示將會快活於當下,並且會有彼此的生命緊密結合的感覺。當你周遭的人都對某個事務提防戒慎,而你卻打算去冒這個險的時候,愚者牌可能就會出現。暗示無論如何都要試試看,愚者暗示通往滿足之路是經由自發的行動,而長期的計畫則是將來的事。", | |
"related": "天真、單純、可能、流浪、自由、隨興、古怪、輕浮、妄想、浪費、瘋狂 |
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 os | |
import gc | |
import time | |
import psutil | |
def get_process_memory(): | |
process = psutil.Process(os.getpid()) | |
mem_info = process.memory_info() | |
return mem_info.rss / 1024 / 1024 |
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 os | |
import psutil | |
class CheckingVOD: | |
def __init__(self): | |
self.process = self.locate() | |
self.refresh() | |
def locate(self, name='potplayer'): | |
pid = None |
在動畫瘋的頁面可針對影片進行不含彈幕的擷圖。
這 script 是依靠 Tampermonkey extension 運作的
請確認已安裝好相應套件
此程式根據 原作者 的專案做修改,先從原作者的程式安裝連結取得原本的 script,然後開啟 Tampermonkey > 控制台 (Dashboard) > 點擊「巴哈姆特動畫瘋影片擷圖小工具」右方的編輯按鈕,再把這裡的 UserScript.js
覆寫上去
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 os | |
import sys | |
import json | |
import time | |
import argparse | |
import xmltodict | |
import subprocess as sp | |
from collections import namedtuple | |
def main(show_processes, length=None, driver=True): |
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 os | |
import argparse | |
import datetime as dt | |
import subprocess as sp | |
def main(inn, bb, ee): | |
fn, ext = os.path.splitext(inn) | |
def parse_time(s): | |
try: |
NewerOlder