Skip to content

Instantly share code, notes, and snippets.

@zuphilip
zuphilip / moveCostumFieldNotesToField.js
Created November 9, 2023 17:29
Zotero Script for moving custom field notes (e.g. imported from Citavi) to some field
// Move value from #CostumField notes with fixed label
// to a different field. Set these two fields according to your needs.
var label = "Signatur";
var field = "callNumber";
// List of all possible fields:
// https://api.zotero.org/itemFields?pprint=1
var check = true;
var overwrite = false;
@zuphilip
zuphilip / README.md
Last active December 24, 2022 10:43
Bookmarklet to prepare a toot from any website

Usage

This JavaScript bookmarklet will copy the selected text on any website and prepare a toot with that for you. It can be used as it is for the openbiblio.social and some other instances but can be easily adapted. To use it in your browser go through the following steps:

  1. Create a new bookmark in your browser
  2. Choose any name, e.g. Toot this!
  3. Copy the content of *.bookmarklet.js as its adress
  4. Save it
@zuphilip
zuphilip / Dockerfile
Last active October 12, 2022 08:55
Replication attempt
FROM rocker/binder:4.2.0
## Declares build arguments
ARG NB_USER
ARG NB_UID
COPY --chown=${NB_USER} . ${HOME}
ENV DEBIAN_FRONTEND=noninteractive
USER root
@zuphilip
zuphilip / README.md
Last active May 12, 2022 18:45
JS Bookmarklet which shows your saved reviews in ConfTool overview page

Show my reviews in ConfTool overview page

This JavaScript bookmarklet shows your saved reviews in the ConfTool overview page.

  1. Create a new bookmark in your browser
  2. Choose any name
  3. Copy the content of showMyReviews.bookmarklet.js as its adress
  4. Save it
  5. Navigate to your ConfTool website with the overview page of all your reviews, e.g. https://www.conftool.com/oat21/index.php?page=browseAssignedPapers&form_track=0
  6. Click on the newly created bookmarklet in your browser twice (first time will enrich the site with your reviews, second time will then do the reordering)
@zuphilip
zuphilip / universitat-mannheim-germanistische-linguistik.csl
Last active January 20, 2021 08:55
Zotero Zitationsstil für Germanistische Linguistik, Universität Mannheim
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="sort-only" default-locale="de-DE">
<!-- This style was edited with the Visual CSL Editor (https://editor.citationstyles.org/visualEditor/) -->
<info>
<title>Universität Mannheim - Germanistische Linguistik (German)</title>
<id>http://www.zotero.org/styles/universitat-mannheim-germanistische-linguistik</id>
<link href="http://www.zotero.org/styles/universitat-mannheim-germanistische-linguistik" rel="self"/>
<link href="http://www.zotero.org/styles/universitat-bremen-institut-fur-politikwissenschaft" rel="template"/>
<link href="https://www.phil.uni-mannheim.de/media/Lehrstuehle/phil/deutsche_philologie/LS_Germanistische_Linguistik/Leitfaden_zur_Anfertigung_von_Hausarbeiten_allgemein_April_2016.pdf" rel="documentation"/>
<contributor>
@zuphilip
zuphilip / FT50.csv
Created December 28, 2020 11:17
Journal list
ISSN Title
0165-4101 Journal of Accounting and Economics
0021-8456 Journal of Accounting Research
0001-4826 The Accounting Review
0022-1082 Journal of Finance
0304-405X Journal of Financial Economics
0893-9454 Review of Financial Studies
1047-7047 Information Systems Research
0276-7783 MIS Quarterly
0001-4273 Academy of Management Journal
@zuphilip
zuphilip / README.md
Last active November 15, 2020 17:01
Binderize a python app with streamlit running on port 8501
@zuphilip
zuphilip / zotero-wikidata-lookup-issn.js
Last active June 14, 2023 14:02
Zotero Script for looking up ISSN and other fields in Wikidata
// Zotero script look up the ISSN of the selected items in Wikidata.
// If results are found then the QIDs are saved in the corresponding
// items in the extra field with the label P1433 (published in).
// Moreover, it can do the same with ISBN or link to the publisher, place.
// Some warnings are given for the other cases; thus watch the
// Zotero error console as well during execution of the script. [CC0]
// CHOOSE (i.e. uncomment) one property here:
var property = "ISSN";
@zuphilip
zuphilip / move-image-caption.lua
Last active February 28, 2022 13:45
Pandoc filter for moving image caption [CC0]
-- If the image caption is a separate paragraph below the
-- image, then this script will move it into the curly braces in
-- Markdown and make sure it is not redundantly present.
-- For example:
--
-- ![](image1.png)
-- ==> ![Abb. 1: title](image1.png)
-- Abb. 1: title