Skip to content

Instantly share code, notes, and snippets.

View CberYellowstone's full-sized avatar
🕛
May not reply soon

CBYellowstone CberYellowstone

🕛
May not reply soon
View GitHub Profile
@polm
polm / fugashi-exe.md
Created July 16, 2021 14:04
PythonでMeCabを含むexeを作る方法

PythonでMeCabを含むexeを作る方法

Linuxで動作確認済みです。

まずvirtualenvでpipで必要なライブラリをインストールします。fugashiを使用していますがこの場合mecab-python3でも変わりません。

# MeCab関係
pip install fugashi unidic-lite
# EXEを作成するやつ

pip install pyinstaller

@mattirish
mattirish / conda_symlink.md
Last active March 6, 2024 04:43
Easily move a conda environment to a different drive on Windows without touching with conda
@abc1763613206
abc1763613206 / bvtest.py
Last active February 23, 2024 22:18
BVID Validate
import requests
import json
import random
Back_URL = 'https://api.bilibili.com/x/web-interface/archive/stat?aid='
headers = {
'Cookie': "Replace Me With REAL COOKIE" ,
'Pragma': 'no-cache',
@qwertyuiop6
qwertyuiop6 / TranslateToChineseOnYouTube.user.js
Last active March 10, 2024 14:44
🌍 🪄 🀄 Translate to Chinese automatically. Youtube自动点击翻译字幕到中文简体
// ==UserScript==
// @name YouTube字幕自动选择翻译->中文简体
// @namespace http://tampermonkey.net/
// @version 1.2
// @description translate to Chinese automatically. 自动点击字幕翻译到中文简体
// @author qwertyuiop6
// @match https://www.youtube.com/*
// @grant none
// ==/UserScript==