Skip to content

Instantly share code, notes, and snippets.

View kenjyco's full-sized avatar

kenjyco

View GitHub Profile
@kenjyco
kenjyco / README.md
Created February 20, 2015 06:57
A relatively simple script that demonstrates threaded daemons, signal handling, cleanup functions, and logging with the Python standard library.

Run the script

% python ./sleepy_random_threads.py
2015-02-20 00:38:23,547: 'a' created with a sleep time of 19 seconds
2015-02-20 00:38:23,548: 'c' created with a sleep time of 5 seconds
2015-02-20 00:38:23,548: 'b' created with a sleep time of 2 seconds
2015-02-20 00:38:23,550: 'e' created with a sleep time of 7 seconds
2015-02-20 00:38:23,550: 'd' created with a sleep time of 11 seconds
2015-02-20 00:38:23,551: 'g' created with a sleep time of 18 seconds

2015-02-20 00:38:23,551: 'f' created with a sleep time of 22 seconds

@kenjyco
kenjyco / 01-Learning-Python3.md
Last active May 25, 2024 10:20
Learn Python 3 with Jupyter Notebook

Trino with SQLAlchemy and Great Expectations

1. Sign up for a free Starburst Galaxy account (if you don't already have one)

  • Visit https://www.starburst.io/platform/starburst-galaxy and signup
    • Click the "Start Free" button
    • Enter name, email, and click "Create Account"
    • Enter verification code sent to email
    • Choose a domain _____.galaxy.starburst.io
  • Create a password for your domain (at )
@kenjyco
kenjyco / 01-Open-source-terms-and-concepts.md
Created December 25, 2023 14:45
A historical timeline and collection of Wikipedia links with bullet points for opensource terms/concepts, programming languages, text/stream editing tools, companies/organizations, and people behind them

Open-source Terms and Concepts

  • https://en.wikipedia.org/wiki/Operating_system
    • system software that manages computer hardware, software resources, and provides common services for computer programs
    • time-sharing operating systems schedule tasks for efficient use of the system
    • for hardware functions such as input and output and memory allocation, the operating system acts as an intermediary between programs and the computer hardware