Skip to content

Instantly share code, notes, and snippets.

View jlcolbert's full-sized avatar
🦇

Jay L. Colbert jlcolbert

🦇
View GitHub Profile
@purem
purem / Wolfram alpha named parametric curves
Created January 31, 2013 23:05
Wolfram alpha named parametric curves
Enter into wolfram alpha to draw
witch of Agnesi
ampersand curve
Archimedean spiral
Archimedes' spiral
astroid
astroid pedal curve
atriphtaloid
bean curve
@krebeck
krebeck / modstemplate.xml
Last active March 1, 2022 19:38 — forked from sallain/modstemplate.xml
MODS Template for Open Refine
<!-- For Prefix -->
<?xml version="1.0" encoding="UTF-8"?>
<modsCollection xmlns="http://www.loc.gov/mods/v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-4.xsd">
<!-- For Row Template -->
<mods xmlns="http://www.loc.gov/mods/v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-4.xsd">
<titleInfo>
<title>{{jsonize(cells["name_of_title_column"].value).replace('"', '')}}</title>
@MichaelPaulukonis
MichaelPaulukonis / a.notes.md
Last active May 11, 2023 11:36
Github repo as narrative
@krebeck
krebeck / DPLAtemplate.xml
Last active March 1, 2022 19:38
template for outputting OpenRefine document in DPLA metadata
<!-- For Prefix -->
<?xml version="1.0" encoding="UTF-8"?>
<mapCollection xmlns="http://digital.library.wisc.edu/1711.dl/DC-DPLA" xmlns:dc_qual="http://digital.library.wisc.edu/1711.dl/DC-DPLA" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcmitype="http://purl.org/dc/dcmitype/" xmlns:dct="http://purl.org/dc/terms/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:edm="http://www.europeana.eu/schemas/edm/" xsi:schemaLocation="http://digital.library.wisc.edu/1711.dl/DC-DPLA http://digital.library.wisc.edu/1711.dl/DC-DPLA-Schema">
<!-- For Row Template -->
<metadata>
<dc_qual:qualifieddc xmlns="http://digital.library.wisc.edu/1711.dl/DC-DPLA" xmlns:dc_qual="http://digital.library.wisc.edu/1711.dl/DC-DPLA" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcmitype="http://purl.org/dc/dcmitype/" xmlns:dct="http://purl.org/dc/terms/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:edm="http://www.europeana.eu/schemas/edm/" xsi:schemaLocation="http://digital.library.wisc.edu/1711.dl/DC-
@mmzsource
mmzsource / cljs-quil-emacs-figwheel-setup.md
Last active August 11, 2023 00:43
Setup dynamic Clojurescript and Quil environment with emacs and figwheel

My environment

  • emacs 26.3
  • cider 0.25.0
  • leiningen 2.9.4 on Java 11.0.2
  • ~/.lein/profiles.clj : {:user {:plugins []}}

Project setup

In a terminal, run these commands:

from collections import namedtuple
DataProvider = namedtuple('DataProvider', 'code oai_url mdprefix oai_sets')
OAI_DICT = {
'boynton': DataProvider('boynton',
'http://dpanther.fiu.edu/sobek/sobekcm_oai.aspx',
'oai_dc',
[]),
'brockway': DataProvider('brockway',
@masukomi
masukomi / doom.md
Created September 21, 2020 16:07 — forked from anhedonix/doom.md
Doom Emacs Cheatsheet

Doom Emacs Default keybindings cheetsheet

SPC

  • SPC find file
  • , switch bufferA
  • . browse files
  • : MX
  • ; EX
  • &lt; switch buffer
@idelem
idelem / titleUrlMarkdownClip.js
Last active July 17, 2024 20:48 — forked from bradleybossard/titleUrlMarkdownClip.js
Bookmarklet to copy current page title and url in Markdown format to clipboard, like [title](url) - Usual for posting links to resources in README.md files
javascript:(function() {
function copyToClipboard(text) {
if (window.clipboardData && window.clipboardData.setData) {
/*IE specific code path to prevent textarea being shown while dialog is visible.*/
return clipboardData.setData("Text", text);
} else if (document.queryCommandSupported && document.queryCommandSupported("copy")) {
var textarea = document.createElement("textarea");
textarea.textContent = text;
@chrisdaaz
chrisdaaz / git-for-librarians-reading-list.md
Last active October 25, 2023 03:37
A reading list for librarians learning about Git and GitHub

Git and GitHub for Librarians: A Brief Bibliography

Each citation includes an abstract or annotation. Feel free to suggest an addition!

Libraries

Davis, Robin Camille. 2015. “Git and GitHub for Librarians.” Publications and Research, January. https://academicworks.cuny.edu/jj_pubs/34.

  • One of the fastest-growing professional social networks is GitHub, an online space to share code. GitHub is based on free and open-source software called Git, a version control system used in many digital projects, from library websites to government data portals to scientific research. For projects that involve developing code and collaborating with others, Git is an invaluable tool; it also creates a backup system and structured documentation. In this article, we examine version control, the particulars of Git, the burgeoning social network of GitHub, and how Git can be an archival tool.

Setting Up Your Computer

These instructions provide an opinionated method for setting up your computer to use Git and GitHub for this course. These instructions assume that you are new to Git, terminals, and text editors. You are absolutely welcome to disregard my suggestions if you're comfortable with command line interfaces and text editors. Experienced users can skim this page and follow along beginning at the "Your First Repo" section.

Learning Git and GitHub requires setting up accounts and installing some free software packages. This section steps you through the process of setting up your computer. If you're comfortable using text editors and terminals, you can disregard my recommendations.

GitHub

Create a GitHub account: Visit https://github.com/ and sign up for a free account.