Skip to content

Instantly share code, notes, and snippets.

View kevee's full-sized avatar

Kevin Miller kevee

View GitHub Profile
@kevee
kevee / container-list.sh
Last active February 17, 2022 03:44
A fine method for generating nested container lists into your pasteboard
find . -type f -print | sed 's_/_ / _g' | sed '/\.DS_Store/d'| sed '/\.tools/d' | sed '/\.git/d' | sed 's/\. \/ //' | pbcopy
@kevee
kevee / index.html
Last active June 3, 2020 14:53
A test interface to ensure CORS works with COVID Tracking Project APIs
<!DOCTYPE html>
<html>
<head>
<title>COVID Tracking Project API tester</title>
<link
rel="stylesheet"
href="https://code.jquery.com/qunit/qunit-2.10.0.css"
/>
</head>
<body>
@kevee
kevee / openapi-cdp.json
Last active May 13, 2020 10:00
OpenAPI sample spec
{
"openapi": "3.0.0",
"info": {
"title": "COVID Tracking Project API",
"version": "1.0"
},
"servers": [
{
"url": "https://covidtracking.com",
"x-is-public": true
import React, { useEffect } from 'react'
import Tablesaw from 'tablesaw'
import Layout from '../components/layout'
import 'tablesaw/dist/tablesaw.css'
export default () => {
useEffect(() => {
Tablesaw.init()
}, [])
@kevee
kevee / tide.json
Created November 13, 2019 18:40
Test tide harmonics #tide-harmonics
{
"name": "test"
}
f9370d944899e2ac7bee74c3670517b0276b94bed70b0f46c73ff8420d5a11df4e2912da5b178edc0dc834db7f31d6cfaf637dde6da09b9846987ba12f9f8ffae22ae273d2c58f66ccbf01840b0fa0dc4d2aa06565998ee947227b3329e9bf76be7a11774a6421812d11860699edae8a349b7c450f0d027a224b1253b739398710ef9ab6b48cd556eaa8c37f2b447bfc75e826c77748529be310a8182d54304973eb3f0a1752563eb49bab8165e6f52ed32a67e5af2acb66d067d253bf8484cfc7db057bbce61f4235caaf592a2363e8372e5c0498d2dafb148b264650d83daea72ff745bc88a6b3b8bd56649919a7e783a2fb03f108c4581a1ec2abdcf509a014a5a219379e3747d43d54c23bcc1e74a9680c3e3c999e2c628143f6d4bcbc73b024b171da30f6543e6548b0d64613908c30998812a677b3126a6aed0190f05c1dc9e14d9008d38fcc2c12b8ec18e2a11757dfa4687387d673bd91af8b7e23f5725f953be5d8cfa504ed097337829d294524fcba0261ae4900f38102c76afd421a049b1b0e8c203a79ab3022779443ce6eef29d4621dca4a080bbcf90f37fde49236840cbb2f86d59d3f62bb57b09acbfd6f2e24a40d8b1ffe5431b74fa8ee957876bd4d024dbb1a1f29334f586c8b5eb9c3ce83e20b8d248411f844699dec798aa741f115128647518edb939ae2a54c9eb16d58b08ab88071b0f0af490d1cf8
@kevee
kevee / log-links.js
Created October 11, 2018 17:41
A simple console dump of all links, highlights undefined links and turns them into annoying big red boxes.
@kevee
kevee / log.txt
Created August 15, 2017 23:33
International programs import
Updated existing page How to Apply
Updated existing page Earn a Degree
Updated existing page Next Steps for Admitted Students
Updated existing page Study for a Semester or Year
Updated existing page Study English
Updated existing page Forms
Updated existing page News & Events
Updated existing page About CSUMB International Programs
Updated existing page I Have Applied
Updated existing page High School/Secondary School Transcripts
@kevee
kevee / add-view-staff.js
Last active July 20, 2017 17:10
CSUMB Javascript Snippets
//If they have social icons:
(function($) {
$(document).ready(function() {
$('#site-secondary-content .contact .block div:has(.social-icon)').before('<p><a href="https://csumb.edu/[something]">View staff</a></p>');
});
})(jQuery);
//If they don't have social icons:
@kevee
kevee / graduates.json
Last active February 9, 2019 06:25
Science Illustration
[{"id":"rec2dSE9bQVKhWHLl","fields":{"first_name":"Sarah","degrees":"B.A. (Fine Art) University of California, Santa Cruz","website":"http:\/\/www.sarahadler.design\/","class":"2008","last_name":"Adler","Images":["recbqJFVG3y8oC8xp","rec4ipFoXBBDXfQw8","recrkctb3m6vc5kW6"],"slug":"sarah-adler"},"createdTime":"2016-06-02T18:05:44.000Z"},{"id":"rectaPA8UlYk0k3Np","fields":{"first_name":"Leonardo","degrees":"B.S (Evolutionary Biology and Ecology) California State University, Northridge","website":"http:\/\/www.leonardoalannis.com\/#leonardoalannis","bio":"Born and raised in Hollywood, CA, Leonardo took an active interest in both drawing and nature since he was very young. While obtaining his undergraduate degree, he accumulated experience in fine art, cinema, animation and public radio communications. He enjoys working with both traditional media as well as digital programs like the Adobe Creative Suite and 3D modeling software. His mission is to illustrate the deep aspects of evolutionary history and bring abou