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

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!


@ParkinT
ParkinT / BBBR.html
Last active August 29, 2015 14:14
After viewing the 'http://beesandbombs.com/roulette' site everyday, there were many images I *really* liked. I have collected those who lend themselves best to begin tiled and applied them here to be displayed - randomly - with each page load.
<!DOCTYPE html>
<html>
<head>
<title>The Best of Bees & Bombs</title>
<meta charset="UTF-8">
<script>
var imgs = new Array(
'http://33.media.tumblr.com/f734dcf8b6dbbe32f117b911cacec79d/tumblr_n1ko92ODOd1r2geqjo1_500.gif'
,'http://33.media.tumblr.com/a2bf33f31a8373a4607058af1162848f/tumblr_neh3v3ShSV1r2geqjo1_500.gif'
,'http://33.media.tumblr.com/363fded6d6148383b21218d0e8e415b8/tumblr_mpvsyv0cK81r2geqjo1_500.gif'