Skip to content

Instantly share code, notes, and snippets.

View pimgeek's full-sized avatar
😃
Hello, Developers & OSS World!

pimgeek pimgeek

😃
Hello, Developers & OSS World!
View GitHub Profile
@pimgeek
pimgeek / Lexicon of Common Words in Contemporary Chinese (2008).txt
Created January 10, 2025 01:15
《现代汉语常用词表(草案)》(商务印书馆 2008)
This file has been truncated, but you can view the full file.
# 在以下资料的基础上简单校对更新 (尚未逐条对比,重点检查两个在线版的差异)
#《现代汉语常用词表(草案)》电子版 - https://annas-archive.org/md5/6a39bf21dbb37b04a75e7f63568117ce
# @liangqi 在线版本 - https://github.com/liangqi/chinese-frequency-word-list/blob/master/xiandaihaiyuchangyongcibiao.txt
# @indiejoseph 在线版本 - https://gist.github.com/indiejoseph/eae09c673460aa0b56db
# 为双拼打字方便把“阿Q”的拼音写做 a1'q1
#
阿爸 a1'ba4 18137
阿昌族 a1'chang1'zu2 50849
阿斗 a1'dou3 42632
阿飞 a1'fei1 48603
@kaid
kaid / zhihu_hot.js
Last active June 6, 2019 04:08
知乎热门问题抓取脚本
//==== Displayer ====
var Displayer = function() {
this.$el = jQuery("body").prepend(
"<div class=\"hotqs-list\">" +
"<div class=\"head\">" +
"<div>关注</div>" +
"<div>回答</div>" +
"</div>" +
"<div class=\"loading\">开始抓取问题</div>" +
@sstur
sstur / dom-to-json.js
Last active October 8, 2023 04:17
Stringify DOM nodes using JSON (and revive again)
function toJSON(node) {
let propFix = { for: 'htmlFor', class: 'className' };
let specialGetters = {
style: (node) => node.style.cssText,
};
let attrDefaultValues = { style: '' };
let obj = {
nodeType: node.nodeType,
};
if (node.tagName) {
@mrchief
mrchief / LICENSE.md
Last active May 20, 2025 13:10
Add "Open with Sublime Text 2" to Windows Explorer Context Menu (including folders)

MIT License

Copyright (c) [year] [fullname]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

@daveray
daveray / seesaw-repl-tutorial.clj
Created December 7, 2011 04:55
Seesaw REPL Tutorial
; A REPL-based, annotated Seesaw tutorial
; Please visit https://github.com/daveray/seesaw for more info
;
; This is a very basic intro to Seesaw, a Clojure UI toolkit. It covers
; Seesaw's basic features and philosophy, but only scratches the surface
; of what's available. It only assumes knowledge of Clojure. No Swing or
; Java experience is needed.
;
; This material was first presented in a talk at @CraftsmanGuild in
; Ann Arbor, MI.