Skip to content

Instantly share code, notes, and snippets.

View jm3's full-sized avatar
💭
code

jm3 jm3

💭
code
View GitHub Profile
I am attesting that this GitHub handle jm3 is linked to the Tezos account tz1f6XVDW99JanCm7vQSyG7LL8MTxnizdUMA for tzprofiles
sig:edsigtbDtz7JLrt1gkzf5ttywoVdwjDDnnfjC66JKFPqKP4d2EwBuFFMVBJx8w1vP3Etd9zSQtpLJAix9AGoXK5ZPrRv8GofwaE

from RANGE:

“Being forced to generate answers improves subsequent learning even if the generated answer is wrong. It can even help to be wildly wrong.”

“One of those desirable difficulties is known as the “generation effect.” Struggling to generate an answer on your own, even a wrong one, enhances subsequent learning. Socrates was apparently on to something when he forced pupils to generate answers rather than bestowing them. It requires the learner to intentionally sacrifice current performance for future benefit.”

“the concept of “desirable difficulties,” obstacles that make learning more challenging, slower, and more frustrating in the short term, but better in the long term. Excessive hint-giving, like in the eighth-grade math classroom, does the opposite; it bolsters immediate performance, but undermines progress in the long run. Several desirable difficulties that can be used in the classroom are among the most rigorously supported methods of enhancing learning, and the engaging eighth-grade math

@jm3
jm3 / airtable-json-to-posts.rb
Created June 14, 2019 21:21
Airtable → Ruby → Hugo markdown converter
#!/usr/bin/env ruby
require 'erb'
require 'json'
require 'pry'
# setup:
# bundle install
# extract records from Airtable:
# curl "https://api.airtable.com/v0/URBASE/til?maxRecords=100&view=learnings" -H "Authorization: Bearer YOUR_TOKEN" > til.json
{
"extends": [
"stylelint-order",
"stylelint-config-rational-order/plugin"
],
"plugins": [
"stylelint-color-format",
"stylelint-config-rational-order/plugin",
"stylelint-no-unsupported-browser-features"
@jm3
jm3 / folderify.rb
Created September 28, 2016 11:44 — forked from searls/folderify.rb
#! /usr/bin/env ruby
#
# Moves all the files found by the glob into a new directory of the same name
# as the file (less its extension). Useful when you have a bunch of examples
# in one language and you need to introduce multiple sibling examples to sit
# alongside the file
#
# Example usage:
# $ ruby folderify.rb "smells/**/*.js"
@jm3
jm3 / README.md
Last active February 19, 2024 04:47
Cognitive Bias Codex
@jm3
jm3 / favicon-size-creator.sh
Created July 12, 2016 16:48
create favicon .ICO's at all the common sizes from a source image
convert source.png -define icon:auto-resize=64,48,32,16 favicon.ico

juniorplenty: training the back [ franco.jpg ]

My back is a weapon I use to destroy my opponents.

I place my thumbs in the small of my back and begin to spread my lats. It doesn't all come on at once. First I flex them a few times and then begin to let them extend their widest. Each time the audience and the judges think that is all, I flex harder and they come out farther. And just when everyone is gasping with surprise that a human being could

@jm3
jm3 / choropleth-README.md
Last active September 11, 2015 22:52 — forked from mbostock/.block
Choropleth

This choropleth encodes unemployment rates from 2008 with a quantize scale ranging from 0 to 15%. A threshold scale is a useful alternative for coloring arbitrary ranges.

@jm3
jm3 / uninstall-foreign-fonts.sh
Created August 27, 2015 04:06
uninstall the 162 non-English fonts that Apple installs that clog up Photoshop's font menu.
#!/bin/sh
# jm3.net
# uninstall the 162 non-English fonts that Apple installs that clog up Photoshop's font menu.
# ========================
## RUN AT YOUR OWN RISK ##
# ========================
# if this formats your hard drive or deletes your fonts or changes the sex
# of your dog, I'm super sorry, but there's nothing I can do.