Skip to content

Instantly share code, notes, and snippets.

View coryjamescrook's full-sized avatar

Cory Crook coryjamescrook

  • Toronto, ON
View GitHub Profile
@coryjamescrook
coryjamescrook / fastapi-starter.js
Created June 24, 2023 11:42
Fastapi starter script
const { execSync } = require('child_process');
const fs = require('fs');
const path = require('path');
// Step 1: Set up the project structure
const projectDir = path.join(__dirname, 'fastapi-project');
fs.mkdirSync(projectDir);
process.chdir(projectDir);
const directories = [
@coryjamescrook
coryjamescrook / ascii_timeline.rb
Created July 16, 2021 13:21
Utility fn for generating a visual representation of time-based models in ruby
# outputs something like the following:
#
# <-------------------------x------------------------->
# |-----------------|
# |----------------------------------|
# |--------------------|
# |------------------------------|
#
def create_ascii_timeline_for_time_based_models(list)

Keybase proof

I hereby claim:

  • I am coryjamescrook on github.
  • I am coryjamescrook (https://keybase.io/coryjamescrook) on keybase.
  • I have a public key ASAzc-KTYqfH4AHEL92yU8uFIpWOf8gU5sz1fY0Uz5rP6wo

To claim this, I am signing this object: