Skip to content

Instantly share code, notes, and snippets.

View jasonclark's full-sized avatar

Jason A. Clark jasonclark

View GitHub Profile
@jasonclark
jasonclark / gist:9586f8bace7ee3b56235a8bd4952ec76
Created November 10, 2023 18:06
<meta> tags - article markup for Google Scholar
<head>
<title>Identification and Characterization of Bacteria-Derived Antibiotics for the Biological Control of Pea Aphanomyces Root Rot</title>
<link rel="schema.DCTERMS" href="http://purl.org/dc/terms/" />
<link rel="schema.DC" href="http://purl.org/dc/elements/1.1/" />
<meta name="DC.creator" content="Lai, Xiao" />
<meta name="DC.creator" content="Niroula, Dhirendra" />
<meta name="DC.creator" content="Burrows, Mary" />
<meta name="DC.creator" content="Wu, Xiaogang" />
<meta name="DC.creator" content="Yan, Qing" />
<meta name="DCTERMS.dateAccepted" content="2023-11-09T23:34:06Z" scheme="DCTERMS.W3CDTF" />
@jasonclark
jasonclark / gist:9ea832d8abd335d9bc8477b01ac345b2
Last active October 6, 2023 19:59
msu journal home page json-ld markup - Mountains and Minds example
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Periodical",
"@id": "https://www.montana.edu/news/mountainsandminds/",
"hasPart": {
"@id": "ADD INDIVIDUAL ARTICLE URL HERE",
"@type": "Article"
},
"name": "Mountains and Minds",
@jasonclark
jasonclark / gist:f203f702ac4b10426f8081f306e57cc9
Last active October 6, 2023 20:16
msu article json-ld -> Mountains and Minds individual article example
<script type="application/ld+json">
{ "@context": "https://schema.org",
"@type": "Article",
"isPartOf": {
"@id": "https://www.montana.edu/news/mountainsandminds/"
},
"headline": "Addressing Montana's Veterinary Shortage",
"alternativeHeadline": "Efforts MSU began decades ago have helped transform Bozeman into a thriving center of the photonics industry",
"image": "https://...ADD FULL IMAGE pathe HERE/Article Example_files/rockgirlz.jpg",
"author": "Marshall Swearingen",
<script type="application/ld+json">
{
"@context": "https://schema.org/",
"@type": "EducationalOccupationalProgram",
"name": "Undergraduate Accounting degree from Montana State University",
"description": "Accounting – B.S. in Business, Accounting EmphasisAccounting is designed to help students develop the necessary technical expertise and broad-based business knowledge required for long-term success in careers such as auditing, assurance, tax consulting, corporate or non-profit accounting and finance, financial analysis, venture capital and financial planning."
"url": "https://www.montana.edu/academics/accounting/",
"provider": {
"@type": "CollegeOrUniversity",
"name": "Montana State University",
@jasonclark
jasonclark / gist:01e6b363f6dbfe5d94aeea6c7043b6d0
Created December 16, 2017 04:33
Testing hero image swap
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>HTML5 boilerplate – all you really need…</title>
<style>
section.heroimg {
display: flex;
align-items: flex-end;
margin-bottom: 2rem;
@jasonclark
jasonclark / css-diagnostic-for-https.css
Created August 23, 2016 13:13
CSS as privacy diagnostic tool - mark all unsecure or unencrypted content/links. Add this to your CSS to see a red frowny face next to your non-SSL content.
.content [href^="http:"]::after {
content: "\2639\ (unencrypted link)";
display: inline-block;
width: .8em;
height: .8em;
text-indent: .8em;
white-space: nowrap;
color: red;
}
@jasonclark
jasonclark / data-model-people.sql
Created July 28, 2016 16:44
Data model for @msulibrary people app
--
-- Database: `people`
--
-- --------------------------------------------------------
--
-- Table structure for table `create_action`
--
@jasonclark
jasonclark / data-model-resources.sql
Created July 28, 2016 16:40
Data model for @msulibrary resources app
--
-- Database: `resources`
--
-- --------------------------------------------------------
--
-- Table structure for table `matchSubject`
--
Verifying that +jasonclark is my blockchain ID. https://onename.com/jasonclark
@jasonclark
jasonclark / gist:960167281dbeb6f79ed3
Last active February 20, 2020 11:17
Applying the Google Maps UI as an image viewer interface
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no">
<meta charset="utf-8">
<title>Ground Overlays</title>
<style>
html,body {height:100%;margin:0;padding:0;}
#map {height:100%;}