Stack: p5 2.3.0 · p5.sound 0.3.0 · Tone.js 15.0.2 · Firefox
(AI usage disclosure: analysis performed with claude code + opus 4.8)
Stack: p5 2.3.0 · p5.sound 0.3.0 · Tone.js 15.0.2 · Firefox
(AI usage disclosure: analysis performed with claude code + opus 4.8)
| /* | |
| * Sort Miro recording-library videos by their <h2> titles. | |
| * | |
| * Run by pasting the whole thing into the browser console on the | |
| * authenticated Miro page that shows the video list. | |
| * | |
| * Strategy (resilient to Miro's hashed CSS class names, which change | |
| * between sessions): | |
| * 1. Find the <h2> titles that look like video titles (most start | |
| * with a number, e.g. "22. Straw Poll"). |
| javascript:(function(){ | |
| const main = document.querySelector('main'); | |
| const headers = document.querySelectorAll('h1, h2'); | |
| if (!main || headers.length === 0) return; | |
| const ol = document.createElement('ol'); | |
| ol.style.cssText = 'background:#f4f4f4; border:1px solid #aaa; padding:20px 40px; margin-bottom:20px; font-family:sans-serif;'; | |
| headers.forEach((h, i) => { |
| # Define the path to scan (use "." for the current directory) | |
| $PathToScan = "." | |
| Get-ChildItem -Path $PathToScan -Directory -ErrorAction SilentlyContinue | | |
| ForEach-Object { | |
| # Calculate the size of the current folder and its contents | |
| $SizeInBytes = (Get-ChildItem -Path $_.FullName -Recurse -ErrorAction SilentlyContinue | | |
| Measure-Object -Property Length -Sum).Sum | |
| # Convert bytes to Megabytes (MB) |
here's what you get when you start to load global.d.ts and then index.d.ts from definitely typed.
flowchart LR
Z("global.d.ts")
A("index.d.ts")
Z --> A
subgraph Root Files| import processing.core.PApplet; | |
| public class MyExampleProcessingApp extends PApplet { | |
| public static void main(String[] args) { | |
| System.out.println("MyExampleProcessingApp main() started"); | |
| // The string must match your full class name: | |
| PApplet.main(new String[] { "MyExampleProcessingApp" }); |
| class Point { | |
| x: number; | |
| y: number; | |
| /** the label for this point */ | |
| label: string; | |
| constructor(givenLabel: string,givenX: number, givenY:number){ | |
| console.log("constructor was called") | |
| this.x = givenX; |