Skip to content

Instantly share code, notes, and snippets.

View JupyterJones's full-sized avatar

Jack Northrup JupyterJones

View GitHub Profile
@SuperDoxin
SuperDoxin / logo.py
Last active November 25, 2022 22:57
Python Logo using bezier curves and the turtle module
import turtle
import math
def lerp(a, b, t):
"""Linear interpolation function. returns a when t==0, returns b when t==1
and linearly interpolates for values inbetween"""
return (a * (1 - t)) + (b * t)
#!/bin/bash
# Bash Profile
# By JenniferNorthrup
# Aliases
alias new="~/../../Program\ Files/Git/git-bash"
# Old DOS command aliases
alias dir="ls"
alias md="mkdir"
@JupyterJones
JupyterJones / Covid-Chart-USA-States.html
Created July 3, 2020 08:17
JavaScript - Get the twenty five states with most covid deaths Graphed high to low. Live data uploaded. All in one including CSS
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>Covid-19 Deaths in USA and Territories.</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta content="Jack Northrup " name="author" />
@JupyterJones
JupyterJones / mongodb.html
Last active May 1, 2022 11:30
mongodb information
<!doctype html>
<html lang="en">
<head>
<title>MongoDB Information</title>
<meta name="description" content="Information concerning ChatterBot, mongodb, using mongo-compass and the terminal commands to work with Chatterbot statements.">
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
@JupyterJones
JupyterJones / app.py
Created August 19, 2023 15:24
Flask creates mp4 backgrounds using images from thumbnail cache
#!/home/jack/Desktop/StoryMaker/env/bin/python
from flask import Flask, render_template, request, redirect, url_for, send_from_directory, Response,flash
from flask import send_file, make_response,g
import os
import subprocess
import shutil
import logging
import random
from random import randint
import glob