Skip to content

Instantly share code, notes, and snippets.

View touero's full-sized avatar
😅
I may be slow to respond.

Ensong Wei touero

😅
I may be slow to respond.
View GitHub Profile
# ===========================================
# ZSH Hacks - Dreams of Code
# ===========================================
# Add these to your .zshrc file
# ===========================================
# -------------------------------------------
# 1. Edit Command Buffer
# -------------------------------------------
# Open the current command in your $EDITOR (e.g., neovim)
"1ms@docker.1ms.run"
"rat@hub.rat.dev"
"vvvv@proxy.vvvv.ee"
"654876@docker.654876.xyz"
"cattt@docker.cattt.net"
"xuanyuanjingxiang@docker.xuanyuan.me"
@qoomon
qoomon / conventional-commits-cheatsheet.md
Last active February 10, 2026 11:11
Conventional Commits Cheatsheet
@jiqiujia
jiqiujia / scel2txt.py
Created December 4, 2018 11:52
搜狐词库scel格式转txt
# -*- coding: utf-8 -*-
import struct
import os
# 由于原代码不适用python3且有大量bug
# 以及有函数没有必要使用且一些代码书写不太规范或冗余
# 所以本人在原有的大框架基本不动的情况下作了大量的细节更改。
# 使得没有乱码出现,文件夹导入更方便等等。
# Author:Ling Yue, Taiyuan U of Tech
from selenium import webdriver
from selenium.webdriver.common.proxy import Proxy
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.common.desired_capabilities import DesiredCapabilities
from selenium import webdriver
from selenium.webdriver.chrome.options import Options
import zipfile