Skip to content

Instantly share code, notes, and snippets.

View giorgiosironi's full-sized avatar

Giorgio Sironi giorgiosironi

View GitHub Profile
@giorgiosironi
giorgiosironi / gist:a2634d1b550ef0ce7f1adebd870e9d3c
Created December 9, 2024 10:02
10.7888/juoeh.43.217 Crossref XML
<?xml version="1.0" encoding="UTF-8"?>
<doi_records>
<doi_record owner="10.7888" timestamp="2021-06-05 01:00:11">
<crossref>
<journal>
<journal_metadata language="en">
<full_title>Journal of UOEH</full_title>
<abbrev_title>J UOEH</abbrev_title>
<issn media_type="print">0387-821X</issn>
<issn media_type="electronic">2187-2864</issn>
@giorgiosironi
giorgiosironi / gist:c6b72a9f37f65ec8623d411172c8ea28
Created December 9, 2024 09:59
10.34024/prometeica.2024.30.16025 Crossref XML
<?xml version="1.0" encoding="UTF-8"?>
<doi_records>
<doi_record owner="10.34024" timestamp="2024-07-08 11:12:58">
<crossref>
<journal>
<journal_metadata>
<full_title>Prometeica - Revista de Filosofía y Ciencias</full_title>
<abbrev_title>prometeica</abbrev_title>
<issn media_type="electronic">1852-9488</issn>
</journal_metadata>
@giorgiosironi
giorgiosironi / gist:1316faedfb15653b7411f82fc185559c
Created December 9, 2024 09:56
10.1007/s12630-022-02199-z Crossref XML
<?xml version="1.0" encoding="UTF-8"?>
<doi_records>
<doi_record owner="10.1007" timestamp="2024-07-02 01:49:31">
<crossref>
<journal>
<journal_metadata language="en">
<full_title>Canadian Journal of Anesthesia/Journal canadien d'anesthésie</full_title>
<abbrev_title>Can J Anesth/J Can Anesth</abbrev_title>
<issn media_type="print">0832-610X</issn>
<issn media_type="electronic">1496-8975</issn>
@giorgiosironi
giorgiosironi / gist:d08f1ed0de7520b39271f0af6fc04150
Created May 10, 2024 09:47
Rapid Reviews all content from Crossref
sciety=# SELECT payload->>'evaluationLocator' FROM events;
?column?
-----------------------------------------------------------
rapidreviews:http://dx.doi.org/10.1162/2e3983f5.139a3456
rapidreviews:http://dx.doi.org/10.1162/2e3983f5.38f31e7c
rapidreviews:http://dx.doi.org/10.1162/2e3983f5.05177604
rapidreviews:http://dx.doi.org/10.1162/2e3983f5.4edb0c2a
rapidreviews:http://dx.doi.org/10.1162/2e3983f5.f565e018
rapidreviews:http://dx.doi.org/10.1162/2e3983f5.2c1d7e71
rapidreviews:http://dx.doi.org/10.1162/2e3983f5.3437714c
INFO - Validating kustomization ./kustomizations/apps/data-hub-configs/
Flag --reorder has been deprecated, use the new 'sortOptions' field in kustomization.yaml instead.
stdin - ConfigMap data-hub-configs is valid
INFO - Validating kustomization ./kustomizations/apps/basex-validator/
Flag --reorder has been deprecated, use the new 'sortOptions' field in kustomization.yaml instead.
# Warning: 'commonLabels' is deprecated. Please use 'labels' instead. Run 'kustomize edit fix' to update your Kustomization automatically.
stdin - Service basex-validator is valid
stdin - Ingress basex-validator is valid
stdin - Deployment basex-validator is invalid: For field spec.replicas: Invalid type. Expected: [integer,null], given: string
stdin - ImagePolicy basex-validator-stable is invalid: For field spec.filterTags.extract: Invalid type. Expected: string, given: null
<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<doi_records>\r\n <doi_record>\r\n <crossref>\r\n <error>doi:10.21203/rs.3.rs-3869684/v1</error>\r\n </crossref>\r\n </doi_record>\r\n</doi_records>
{"messages":[{"status":"no posts found"}], "collection":[]}
[16:46:49][giorgio@elife-XPS-13-9370:~/code/sciety]$ kubeconform -schema-location default -verbose -kubernetes-version=1.22.0 *.yaml
pod-identity-webhook.yaml - MutatingWebhookConfiguration pod-identity-webhook is valid
controllerrevision1.yaml - ControllerRevision cloudwatch-agent-74cb9dfbcb is valid
daemonset1.yaml - DaemonSet cloudwatch-agent is valid
[16:47:17][giorgio@elife-XPS-13-9370:~/code/sciety]$ kubeconform -schema-location default -verbose -kubernetes-version=1.20.0 *.yaml
pod-identity-webhook.yaml - MutatingWebhookConfiguration pod-identity-webhook is valid
controllerrevision1.yaml - ControllerRevision cloudwatch-agent-74cb9dfbcb is valid
daemonset1.yaml - DaemonSet cloudwatch-agent is valid
@giorgiosironi
giorgiosironi / gist:eea5dc5db2de457d8ee5988218dbcabc
Created November 25, 2020 12:09
Example of Crossref metadata of a withdrawn bioRxiv article
$ curl -s -L -H "Accept: application/vnd.crossref.unixref+xml" "https://doi.org/10.1101/2020.01.30.927871"
<?xml version="1.0" encoding="UTF-8"?>
<doi_records>
<doi_record owner="10.1101" timestamp="2020-06-02 10:44:42">
<crossref>
<posted_content type="preprint" language="en" metadata_distribution_opts="any">
<group_title>Evolutionary Biology</group_title>
<contributors>
<person_name contributor_role="author" sequence="first">
<given_name>Prashant</given_name>
[09:40:26][giorgio@Newton:~/code/prc]$ node -v
v14.5.0
[09:40:28][giorgio@Newton:~/code/prc]$ npm install
npm WARN [email protected] requires a peer of eslint-plugin-jsx-a11y@^6.3.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of eslint-plugin-react@^7.20.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of eslint-plugin-react-hooks@^4 || ^3 || ^2.3.0 || ^1.7.0 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
audited 1043 packages in 19.194s