Make notes for me in short. I’ve got exam tomorrow and idk anything
python -m markitdown /home/daytona/workspace/attachments/1310b877-b734-44bd-98f0-3c71a3af971a/adrenal1.pptx
cd /home/daytona/workspace/attachments/1310b877-b734-44bd-98f0-3c71a3af971a && python3 -c " from pptx import Presentation import sys for fname in ['adrenal1.pptx', 'adrenal2.pptx']: print(f'\n\n========== {fname} ==========') prs = Presentation(fname) for i, slide in enumerate(prs.slides): print(f'\n--- Slide {i+1} ---') for shape in slide.shapes: if hasattr(shape, 'text') and shape.text.strip(): print(shape.text.strip()) "
ls /home/daytona/skills/pptx/scripts/ 2>/dev/null; ls /home/daytona/skills/pptx/ 2>/dev/null; which node; node --version
ls /home/daytona/skills/pptx/scripts/office/
ATTACH="/home/daytona/workspace/attachments/1310b877-b734-44bd-98f0-3c71a3af971a" mkdir -p /home/daytona/workspace/adrenal-notes/unpacked1 /home/daytona/workspace/adrenal-notes/unpacked2 python3 /home/daytona/skills/pptx/scripts/office/unpack.py "$ATTACH/adrenal1.pptx" /home/daytona/workspace/adrenal-notes/unpacked1/ python3 /home/daytona/skills/pptx/scripts/office/unpack.py "$ATTACH/adrenal2.pptx" /home/daytona/workspace/adrenal-notes/unpacked2/ echo "Done"
ATTACH="/home/daytona/workspace/attachments/1310b877-b734-44bd-98f0-3c71a3af971a" mkdir -p /home/daytona/workspace/adrenal-notes/unzip1 /home/daytona/workspace/adrenal-notes/unzip2 unzip -o "$ATTACH/adrenal1.pptx" -d /home/daytona/workspace/adrenal-notes/unzip1/ > /dev/null 2>&1 && echo "adrenal1 done" unzip -o "$ATTACH/adrenal2.pptx" -d /home/daytona/workspace/adrenal-notes/unzip2/ > /dev/null 2>&1 && echo "adrenal2 done"
ls -lh /home/daytona/workspace/attachments/1310b877-b734-44bd-98f0-3c71a3af971a/
cp /home/daytona/workspace/attachments/1310b877-b734-44bd-98f0-3c71a3af971a/adrenal1.pptx /tmp/a1.zip && cd /tmp && unzip -o a1.zip -d a1out/ 2>&1 | tail -5 && echo "DONE"
cp /home/daytona/workspace/attachments/1310b877-b734-44bd-98f0-3c71a3af971a/adrenal2.pptx /tmp/a2.zip && cd /tmp && unzip -o a2.zip -d a2out/ > /dev/null 2>&1 && echo "DONE"
ls /tmp/a1out/ppt/slides/ | head -20
python3 << 'EOF' import os, re, glob def extract_text_from_slide(xml_path): with open(xml_path, 'r', encoding='utf-8') as f: content = f.read() # Extract all text runs texts = re.findall(r'<a:t[^>]*>(.*?)</a:t>', content) # Clean up cleaned = [] for t in texts: t = t.strip() if t: cleaned.append(t) return ' | '.join(cleaned) for folder, label in [('/tmp/a1out', 'ADRENAL 1'), ('/tmp/a2out', 'ADRENAL 2')]: print(f'\n\n{"="*60}') print(f' {label}') print(f'{"="*60}') slides = sorted(glob.glob(f'{folder}/ppt/slides/slide*.xml'), key=lambda x: int(re.search(r'slide(\d+)', x).group(1))) for sl in slides: num = re.search(r'slide(\d+)', sl).group(1) text = extract_text_from_slide(sl) if text.strip(): print(f'\n[Slide {num}]') print(text) EOF
| Type | Features |
|---|---|
| Adrenalosympathetic (Paroxysmal) | Hypertensive crises; sudden onset; pallor, irritability, fear, fever; BP rapidly swings from high to low; fatal without treatment |
| Continuous | Rare crises (mainly children); resembles malignant HTN; nephrosclerosis, MI; sometimes + DM |
| Nonsymptomatic | Rare; triggered by stress (surgery, trauma, delivery) |
| Type | Subcategory | Examples |
|---|---|---|
| Hypogonadotropic (↓ LH/FSH) | Constitutional delay | Normal variant |
| Congenital | Kallmann syndrome, Prader-Willi, LH receptor defect | |
| Acquired | Craniopharyngioma, adenoma, glioma, CNS infection/radiation | |
| Hypergonadotropic (↑ LH/FSH) | Congenital | Klinefelter, Turner, anorchism, steroidogenesis damage |
| Acquired | Gonadal infection, radiation, autoimmune, iatrogenic castration |
| Condition | Key Hormone | Key Lab Change | Key Drug |
|---|---|---|---|
| Cushing's | ↑ Cortisol | - | Glucocorticoid inhibitors |
| Conn's | ↑ Aldosterone | K↓, Renin↓ | Spironolactone / Surgery |
| Addison's | ↓ Cortisol | K↑, Na↓ | Hydrocortisone |
| Pheo | ↑ Catecholamines | Metanephrines in urine | Alpha-blockers |
| CAH | ↑ Androgens | 17-OH Prog ↑ | Glucocorticoids |
| Klinefelter | ↓ Testosterone | ↑ FSH/LH | Testosterone |
| Turner | ↓ Estrogen | ↑ FSH/LH | Estrogen + GH |