Skip to content

Instantly share code, notes, and snippets.

Ssuching Yu SiqingYu

Block or report user

Report or block SiqingYu

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View .vimrc
" Turn on line numbering
set number
" rebuild the index just by pressing the <F5> key
nnoremap <f5> :!ctags -R<CR>
" Automatically Execute ctags Each Time a File is Saved
" Issue: This causes Vim to freeze when exiting
" autocmd BufWritePost * call system("ctags -R")
View zhihu-zhuanlan-articles.js
var items = document.querySelectorAll('li.ArticleItem');
var articles = new Array();
items.forEach(element => {
var href = element.childNodes[0].href;
var title = element.childNodes[0].childNodes[0].innerText;
articles.push([href, title]);
});
View gist:71233a89c33fad47a4bcb2f48a155409
### Keybase proof
I hereby claim:
* I am siqingyu on github.
* I am siqingyu (https://keybase.io/siqingyu) on keybase.
* I have a public key ASAjB9XkM-Ee_leteFjmHCxOnfNKwFSxhDkhhDgldfbGwAo
To claim this, I am signing this object:
You can’t perform that action at this time.