Skip to content

Instantly share code, notes, and snippets.

View jendiamond's full-sized avatar
🏠
Working from home

JenDiamond jendiamond

🏠
Working from home
View GitHub Profile

Ingest Records Locally

  1. Go to https://github.com/UCLALibrary/eureka and download the csv files you want to use.
    • Bennet has 79 records
    • Connell has 502 records
    • LA Daily News has over 5000
    • The ingest time is about 5 seconds per record
  2. Go to the californica local host http://localhost:3000/
  3. Sign in Email: admin@example.com Password: password
  4. Once you sign in click "Import Contenr From a CSV" in the sidebar

Update Search Results - List View to Carbon 5 Version 3 design

UCLALibrary/ursus#316

blacklight_701

app/helpers/blacklight/render_partials_helper_behavior.rb

  def render_document_partials(doc, partials = [], locals = {})
    safe_join(partials.map do |action_name|

Kubernetes

Pods

3 service types

  • Node Port (for toy apps)
  • Load Balancer (binds to a service)
  • Ingress (nginx proxying)(scalable way)

Kube Security Basics

  • Secrets
  • stored in cluster
@jendiamond
jendiamond / test.md
Last active February 11, 2019 19:16

Add alt-tag to the thumbnails on the search results page


The actual issue:

Fix accessibility issues on search results

Issue #348

expect(page).to have_xpath(".//*[@id='documents']/div[1]/div[2]/a/img[@alt='Work']")