This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var items = Zotero.getActiveZoteroPane().getSelectedItems(); | |
| for (let item of items) { | |
| let identifier = { | |
| itemType: "journalArticle", | |
| DOI: item.getField('DOI') | |
| }; | |
| var translate = new Zotero.Translate.Search(); | |
| translate.setIdentifier(identifier); | |
| let translators = await translate.getTranslators(); | |
| translate.setTranslator(translators); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #! /bin/sh | |
| API_KEY="$1" | |
| [ -z $API_KEY ] && echo "Usage: \n\taccept-invitation.sh <API_KEY>" && exit 1 | |
| INVITATION_IDS=$(curl -s -H "Accept: application/vnd.github+json" -H "Authorization: Bearer $API_KEY" https://api.github.com/user/repository_invitations | jq -r ".[].id") | |
| for id in $INVITATION_IDS; do | |
| curl \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Windows Registry Editor Version 5.00 | |
| [HKEY_CURRENT_USER\SOFTWARE\Microsoft\InputMethod\Settings\CHS] | |
| "UserDefinedDoublePinyinScheme0"="Xiaohe*2*^*iuvdjhcwfg xmlnpbksqszxkrltvyovt" | |
| [HKEY_CURRENT_USER\SOFTWARE\Microsoft\InputMethod\Settings\CHT] | |
| "UserDefinedDoublePinyinScheme0"="Xiaohe*2*^*iuvdjhcwfg xmlnpbksqszxkrltvyovt" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "title": "Logitech MX Master 3 for Mac", | |
| "rules": [ | |
| { | |
| "description": "Side button for desktop switch", | |
| "manipulators": [ | |
| { | |
| "type": "basic", | |
| "from": { | |
| "pointing_button": "button4" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package goddrinksjava; | |
| /** | |
| * The program GodDrinksJava implements an application that | |
| * creates an empty simulated world with no meaning or purpose. | |
| * | |
| * @author momocashew | |
| * @lyrics hibiyasleep | |
| */ | |