Skip to content

Instantly share code, notes, and snippets.

View aywi's full-sized avatar
🚀
Moon landing

Yuanyuan Wei aywi

🚀
Moon landing
View GitHub Profile
@OmidS
OmidS / edit-zotero-extra-field.js
Last active December 21, 2023 11:33
Removes some values from the Zotero extra field
// Original reference:
// https://github.com/eschnett/zotero-citationcounts/issues/2#issuecomment-765117249
// To run this, open Tools > Developer > Run JavaScript in Zotero, paste the JavaScript below and then press run.
// To make sure this code won't delete too much, by default it will just rehearse what will happen if you run it.
// Press cancel on any dialog to stop the rehearsal.
// If you are happy with the rehearsal, change 'rehearse' in the next line to 'false' and run again.
const rehearse = true; // Set this to false to actually make changes
const moveToTop = false; // Set this to true to move to top instead of deleting. This can help make "extra" sortable.
@octocat
octocat / .gitignore
Created February 27, 2014 19:38
Some common .gitignore configurations
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #