Skip to content

Instantly share code, notes, and snippets.


Jesse Gardner plasticmind

View GitHub Profile
plasticmind / index.html
Created Feb 3, 2021
Time Visualization - Chrono
View index.html
<link rel="preconnect" href="" crossorigin>
<link rel="preload" href="" as="font" crossorigin>
<div class="day"></div>
<div class="day outline"></div>
<div class="chrono">
<div class="minutes">
View .xsession
#!/usr/bin/env bash
xset s off -dpms
exec matchbox-window-manager &
while true; do
python3 /home/plasticmind/App/
import tkinter as tk
from string import ascii_letters
from datetime import date
my_date =
def show_date():
s = my_date.strftime('%a').upper()
#s = 'Manual text here...'
plasticmind /
Last active Apr 6, 2020
Coronavirus Updates: Monday, April 6, 2020

This post appeared is written by Daniel Hanson and appeared originally at:


It’s the Monday between Palm Sunday and Easter, a moment for reflection on life and death. Here’s a 10 minute quick summary of some salient corona news.

The curve is bending and flattening. Social distancing is working, and as a consequence, we’ve gone from doubling the number of deaths in the US every three days to doubling them every four. That’s great news, and it should reduce the total number of deaths from this disease meaningfully. Still, more than 10,000 Americans have died from this disease as of this morning.

Hospitalization is a leading indicator; people tend to be hospitalized before they die from the disease. Typically, death from coronavirus comes about 16 days after being admitted to the hospital, and in this respect, it seems that New York has turned the corner. NY had fewer deaths yesterday than it has since mid-March, but that

plasticmind / functions.php
Last active Feb 20, 2020
Adding column count class to Gutenberg columns block
View functions.php
* inject_class_column_count
* @param string $content The block content about to be appended.
* @param array $block The full block, including name and attributes
* @return $content;
function inject_class_column_count( $content, $block ) {
if ( ! is_block_type( $block, "core/columns" ) ) {
View gist:707e65d61cbe57baa49cc9c5a4748844
import ddf.minim.*;
import ddf.minim.analysis.*;
Minim minim;
AudioPlayer song;
FFT fft;
// Group frequency bands into 3 zones
// Note: dropping the top 64% of the frequency
// bandwidth since we can't hear it
plasticmind / gist:8bbfcfc3e7b07de7897b8e88c6d567ef
Created Mar 20, 2018
DigiPublish Panel: The Current State of Digital Publishing and Its Challenges in Business
View gist:8bbfcfc3e7b07de7897b8e88c6d567ef
# Panel
Elizabeth Brady, Director Audience Engagement, People, @sheerling
Brian Kroski, Former Chief Digital Officer, AMI, @briankroski
Garrett Bewkes, Publisher, National Review, @egbewkes
Linda Li, Director, Global Strategy and Dev, NYT @multilinda
## Biggest Challenges for the Year
- Linda Li (NYT): NYT has 2.6 million digital subscribers — need to change the perception about how consumers feel about the company as a brand; convincing people to pay for news.
View Boxy Tomorrow Theme Configuration
"color_scheme": "Packages/User/SublimeLinter/Sunburst (SL).tmTheme",
"font_face": "Operator Mono",
"font_size": 21,
plasticmind / gist:14e04ebfa734b13e720f
Created Nov 19, 2014
Adjusted Bounce Rate for Google Analytics
View gist:14e04ebfa734b13e720f
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-XXXXXXXX']);
setTimeout("_gaq.push(['_trackEvent', '15_seconds', 'read'])",15000);
setTimeout("_gaq.push(['_trackEvent', '30_seconds', 'read'])",30000);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '';
View gist:94107399237599755f07
// == Create a simple hash based on a file checksum
function sr_version_hash($file) {
if(!$file) return false;
$full_path = get_template_directory() . $file;
return hash_file('CRC32',$full_path);