Skip to content

Instantly share code, notes, and snippets.

@kjgarza
kjgarza / high-level-mapping.md
Created January 20, 2023 13:27
high-level-mapping
DFG Fachsystematik OECD Field of Science Classification
Mathematics Natural Sciences
Computer Science Engineering and Technology
Physics Natural Sciences
Chemistry Natural Sciences
Earth Sciences Natural Sciences
Biology Natural Sciences
Agricultural Sciences Medical and Health Sciences
Medical Sciences Medical and Health Sciences
@kjgarza
kjgarza / hundred-barchart.js
Created January 19, 2023 13:36
hundred-barchart
hundredBarSpec = function (data, variable) {
return {
data: {
url: data
},
width: 500,
mark: {
type: "bar",
tooltip: true
},
@kjgarza
kjgarza / high-level-mapping.md
Created January 18, 2023 15:09
GPT Vocabulary Mappings
DFG Fachsystematik OECD Field of Science Classification
Mathematics Natural Sciences
Computer Science Engineering and Technology
Physics Natural Sciences
Chemistry Natural Sciences
Earth Sciences Natural Sciences
Biology Natural Sciences
Agricultural Sciences Medical and Health Sciences
Medical Sciences Medical and Health Sciences
<doi_records>
<doi_record owner="10.1002" timestamp="2021-11-25 02:23:49">
<crossref>
<journal>
<journal_metadata language="en">
<full_title>European Journal of Inorganic Chemistry</full_title>
<abbrev_title>Eur. J. Inorg. Chem.</abbrev_title>
<issn media_type="print">1434-1948</issn>
<issn media_type="electronic">1099-0682</issn>
</journal_metadata>
@kjgarza
kjgarza / ard.md
Last active December 30, 2022 13:44
Refactor Controller to a "Skinny Controller"

Title

Keep "Skinny Controller" by using single responsability principle in controllers

Status

Proposed

Context

We have observed that the controller for the DOI resource has a large amount of non-response-related logic, which makes the code difficult to maintain and test. Additionally, the code in the safe_params method is complex and not easily testable.

Decision

We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 2.
name,ring,quadrant,isNew,description
Ruby on Rails,Adopt,languages-and-frameworks,TRUE,"<p>Although <strong>path-to-production mapping</strong> has been a near-universal practice at Thoughtworks since codifying <em><a href=""https://www.amazon.com/Continuous-Delivery-Deployment-Automation-Addison-Wesley/dp/0321601912"">Continuous Delivery</a></em>, we often come across organizations unfamiliar with the practice. The activity is most often done in a workshop with a cross-functional group of people — that includes everyone involved in designing, developing, releasing and operating the software — around a shared whiteboard (or virtual equivalent). First, the steps in the process are listed in order, from the developer workstation all the way to production. Then, a facilitated session is used to capture further information and pain points. The most common technique we see is based on <a href=""https://en.wikipedia.org/wiki/Value-stream_mapping"">value-stream mapping</a>, although plenty of <a href=""https://caro
[
{
"Name": "ARDC",
"count": 1
},
{
"Name": "Arizona State University",
"count": 1
},
{
This file has been truncated, but you can view the full file.
[
{
"id": 15286187,
"created_at": "2017-12-04",
"note_title": "Slack message from trisha cruse",
"note_text": "",
"state": "Processed",
"creator_name": "Kristian Garza",
"creator_email": "kgarza@datacite.org",
"owner_name": "",
@kjgarza
kjgarza / org.json
Last active September 14, 2022 14:20
{
"nodes": [
{ "name": "https://ror.org/02zez7725", "group": 1 },
{ "name": "https://doi.org/10.5061/dryad.1q9r8", "group": 2 },
{ "name": "https://doi.org/10.5061/dryad.20864", "group": 2 },
{ "name": "https://doi.org/10.5061/dryad.hqbzkh1bj", "group": 2 },
{ "name": "https://doi.org/10.5061/dryad.ksn02v71r", "group": 2 },
{ "name": "https://doi.org/10.5061/dryad.rr4xgxd8f", "group": 2 },
{ "name": "https://orcid.org/0000-0002-2043-4653", "group": 3 },
{ "name": "https://orcid.org/0000-0001-5593-348X", "group": 3 }
@kjgarza
kjgarza / 02zez7725.json
Last active September 14, 2022 13:26
ORg 02zez7725
{
"nodes": [
{
"name": "https://doi.org/10.5061/dryad.1q9r8",
"group": "https://doi.org/10.5061/dryad.1q9r8",
"doi": "10.5061/dryad.1q9r8",
"identifiers": [],
"types": {
"resourceTypeGeneral": "Dataset",
"resourceType": "dataset",