Skip to content

Instantly share code, notes, and snippets.

View ParkinT's full-sized avatar
💭
Retired from the workforce !!

Thom Parkin ParkinT

💭
Retired from the workforce !!
View GitHub Profile
@ParkinT
ParkinT / gist:0b88c446ac0b815271f27c1e0fb1452e
Created August 10, 2025 08:43
The World According to Student Bloopers
Richard Lederer, St. Paul's School
One of the fringe benefits of being an English or History teacher is receiving the occasional jewel of a student blooper in an essay. I have pasted together the following ``history of the world'' from certifiably genuine student bloopers collected by teachers throughout the United States, from eighth grade through college level. Read carefully, and you will learn a lot.
The inhabitants of ancient Egypt were called mummies. They lived in the Sarah Dessert and traveled by Camelot. The climate of the Sarah is such that the inhabitants have to live elsewhere, so certain areas of the dessert are cultivated by irritation. The Egyptians built the Pyramids in the shape of a huge triangular cube. The Pyramids are a range of mountains between France and Spain.
The Bible is full of interesting caricatures. In the first book of the Bible, Guinesses, Adam and Eve were created from an apple tree. One of their children, Cain, once asked, ``Am I my brother's son?'' God asked Abraham to sac

MemDeck Trainer

Master a Memorized Deck faster than ever before possible. And easily regardless of language. 

This will be The Most Memorable Item in your Magic inventory.

Memory By Association

Whenever you roll dice you know instantly the number rolled.  It is not necessary to count the dots.

@ParkinT
ParkinT / TSExport.md
Last active November 11, 2020 14:03
Clarification of Typescript syntax specifically related to export and import

This table associates different export statement forms with the expected export name and local names:

For importing, though...

  • If you are importing a default export, you have to explicitly name the import. Default exports will not automatically have a local name after importing. Example: import express from "express". The local name does not matter. Could as well be import banana from "express".
  • If you are importing a named export, by default, the local name will be the same as the exported name. Example: If you have export const x = 2, then, you should import it as import { x } from "module". You can also rename the import like this: `import { x as y } from "module".

Trump KILLED businesses:

  • 1991: Trump Taj Mahal. (Bankrupted)
  • 1992: Trump Castle Hotel & Casino. (Bankrupted)
  • 1992: TrumpPlaza Casino. (Bankrupted)
  • 1992: Trump Plaza Hotel. (Bankrupted)
  • 2004: Trump Hotels & Casino Resorts. (Bankrupted)
  • 2009: Trump Entertainment Resorts (Bankrupted)
  • 2015: Trump international golf club In Puerto Rico (bankrupted)
  • 2019: American farmers( bankrupted)
<!DOCTYPE html>
<body>
<p><a href="https://app.frame.io/presentations/e81e04a0-ce02-4310-934a-581718e6e041?fbclid=IwAR2ZP89CDZ15kKU0mXXdtUD0Kl5CdjQernN6u3NBo-hhyySl364msfxQd00" title="Stunning Magic by Doug Roy">Doug Roy Magic: Awesome entertainment</a></p>
</body>

I Sometimes Wonder...

  • Who invented the Dotted Line...?
  • What would they do if you said, "No" to "May I place you on a brief hold?"...?
  • Whose original idea was The Coupon…?
  • Do people in Europe, who make a business out of hosting travelers in their home, have a hostel work environment?
  • If AstroPhysicists hosted a competition, would it be called the Spatial Olympics?
  • Is it merely coincidence that Oral Roberts has spent his life as an ORATOR?
  • Is it merely coincidence that Bernie Madoff has "made off" with lots of other people's money?
  • Suppose "Sign Twirlers" formed a union. Then if they decide to strike. What would that look like?

##Alphabetic Intellectual Insult

"You have shown yourself to be

  • an apogenous,
  • bovaristic, 
  • coprolalial, 
  • dasypygal, 
  • excerebrose, 
  • facinorous, 
  • gnathonic, 
@ParkinT
ParkinT / bs.rb
Created August 16, 2016 16:18
Providing guidance (and some example code) in mentoring a new developer in Ruby, I threw together this little sample that calls upon my BusinessSpew API.
require 'net/http' #including external libraries
require 'json'
URL = "http://bs.leveragedsynergies.com/api" #Constant definition
#TODO: params can be extracted from input on the command line <== and example of a comment
params = { paragraphs: 2, sentences: 4, title: 'Daily BusinessSpew Report' } #Ruby hash for set of parameters
uri_string = URI.escape("#{URL}/#{params[:sentences]}/#{params[:paragraphs]}/#{params[:title]}") #illustration of Ruby string interpolation
@ParkinT
ParkinT / SlackScheduler_README.md
Last active May 17, 2016 14:42
Details to add the Slack Scheduler bot to your Slack channel(s)

Slack Scheduler

What is it

Yes. Slack has a 'reminder' feature. But that is insufficient for our needs. Slack Scheduler is intended to provide more of a Scheduling Capability from Slack. Although we spend all day in Slack and it is our primary channel for communication, most meetings and other reminders come through the email client. This application permits you to generate a reminder or a meeting without interrupting your normal flow of work. No need to switch away from Slack and into email or calendar. Just setup a meeting - within Slack - and all registered participants will recieve a notification by email; a standard Internet Calendar meeting notice!

The format is simple. Here are some examples that will make it clear.

@ParkinT
ParkinT / blog.md
Last active December 13, 2017 18:04
A Blog about Encouraging and Optimistic things

Optimist Prime

GistLog is one of the most ingenious applications I have seen. Leveraging GitHub Gists, you can have a simple blog!