Skip to content

Instantly share code, notes, and snippets.

View theosanderson's full-sized avatar

Theo Sanderson theosanderson

View GitHub Profile
// ==========================================
// AFRICAN WATERING HOLE DIORAMA
// Features: Elephant, Hippo, Crocodile, and Scenery
// Best viewed with OpenSCAD Preview (F5) to see transparency and colors!
// ==========================================
$fn = $preview ? 40 : 80; // Adaptive resolution for smooth rendering
// Render the assembled scene
scene();
import requests
import pandas as pd
import matplotlib.pyplot as plt
import os
from datetime import datetime, timedelta
# Step 1: Create the 'images' folder if it doesn't exist
os.makedirs("images", exist_ok=True)
# Step 2: Define pathogens to process
#!/usr/bin/env python3
import subprocess
import tempfile
import gzip
from pathlib import Path
from Bio import SeqIO
def read_fasta_headers(fasta_file):
headers = []
with gzip.open(fasta_file, 'rt') as f:
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: reverse-proxy
namespace: argocd
spec:
project: default
source:
repoURL: https://charts.bitnami.com/bitnami
targetRevision: 15.1.1
import { useEffect, useRef, useState } from 'react';
export default function LargeComponent() {
const scrollRef = useRef(null);
const trackRef = useRef(null);
const [scrollLeft, setScrollLeft] = useState(0);
const [maxScroll, setMaxScroll] = useState(0);
const [handleWidth, setHandleWidth] = useState(0);
const [dragging, setDragging] = useState(false);
const [startX, setStartX] = useState(0);

Women in the History of Antimicrobial Development March 15, 2024

Share This

Save This

Women working in a Penicillin factory. Women working in a Penicillin factory. Source: Wikimedia Commons

{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"name": {
"type": "string",
"default": "Loculus",
"description": "The name of the Loculus instance"
},
"logo": {

Okay, I need to write a story using only the vowel 'o'. Let me start by brainstorming possible words. Words with 'o' as the only vowel. Hmm. Let's see. First, the characters. Maybe a protagonist named Tom? Wait, no, 'Tom' has 'o' as the vowel. That works. Or maybe 'Bob'? Yes, Bob is good. Let's go with Bob. Now, setting. Maybe a small town? 'Town' is okay. Or a forest? 'Woods' has 'o' and 'o', so that's good.

Plot: Bob needs to solve a problem. Maybe he's looking for something. A lost dog? 'Dog' works. So Bob's dog, maybe named Spot? No, 'Spot' has 'o' as the vowel. Wait, 'Spot' has an 'o' and a 'o'? No, 'S' 'p' 'o' 't'—only 'o' as vowel. So Spot is okay. So Bob's dog Spot is lost. He goes to look for him. Maybe he goes through the woods, meets a fox? 'Fox' is good. The fox helps him. Then they find Spot. But how to structure sentences without other vowels.

Let me list some words. Nouns: Bob, dog, Spot, fox, log, rock, pond, frog, box, sock, clock, shop, top, fog, moss, lot, job, cot, lock, drop, plot, trot

-- Create the test table
CREATE TABLE table_name (
id SERIAL PRIMARY KEY,
warnings JSONB
);
-- Insert test data with the original JSON structure
INSERT INTO table_name (warnings) VALUES (
'[
{