Skip to content

Instantly share code, notes, and snippets.

View HackettYu's full-sized avatar
🇨🇳
hackettyu.com

hackettyu HackettYu

🇨🇳
hackettyu.com
View GitHub Profile
owner repo description language stargazers
JanDeDobbeleer oh-my-posh A prompt theming engine for Powershell PowerShell 4780
sourcegraph sourcegraph Universal code search (self-hosted) Go 4265
ElaWorkshop awesome-cn-cafe A curated list of awesome coffee places in China. JavaScript 747
ajeetdsouza zoxide A faster way to navigate your filesystem Rust 1913
looly hutool A set of tools that keep Java sweet. Java 17423
willmcgugan rich Rich is a Python library for rich text and beautiful formatting in the terminal. Python 20112
rsms markdown-wasm Markdown parser and HTML generator implemented in WebAssembly. based on md4c C 742
Higurashi-kagome wereader 一个 Chrome / Firefox 插件:主要用于微信读书做笔记,对常使用 Markdown 做笔记的读者尤其有帮助。 JavaScript 67
netdata netdata Real-time performance monitoring. done right! https://www.netdata.cloud C 51023
@HackettYu
HackettYu / vscode-snippet-creator.py
Created December 28, 2018 11:41
[script] #script
try:
with open(r'in.txt') as inputstream:
stream = inputstream.readlines()
for i in range(0, len(stream)):
stream[i] = f'\t\t\t"{stream[i].strip()}",\n'.replace("", "") # raplace
with open(r'out.txt', 'w') as output:
output.write('\t"$1": {\n')
output.write('\t\t"prefix": "$2",\n')
output.write('\t\t"body": [\n')