This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Configuration | |
| mkdir -p processed | |
| mkdir -p to_delete | |
| PROCESSED_ROOT=$(realpath processed) | |
| TO_DELETE_ROOT=$(realpath to_delete) | |
| # Iterate through each clip folder | |
| for clip_dir in clips/*/; do |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import numpy as np | |
| from pydrake.all import ( | |
| AddMultibodyPlantSceneGraph, | |
| DiagramBuilder, | |
| Parser, | |
| MathematicalProgram, | |
| Solve, | |
| RigidTransform, | |
| JacobianWrtVariable, | |
| log, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Vibecoded with ChatGPT | |
| import jax | |
| import jax.numpy as jnp | |
| def scalar_curvature_projector(f, x0, n, k, rtol=1e-8): | |
| """ | |
| Compute the scalar curvature of M = {x : f(x) = 0} at x0, | |
| using the projector formula (basis-free Gauss equation). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import subprocess | |
| import datetime | |
| from collections import defaultdict | |
| import matplotlib.pyplot as plt | |
| import matplotlib.dates as mdates | |
| import os | |
| import sys | |
| import mplcursors | |
| import re |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "LD_* scout runtime" information: | |
| { | |
| "steam-runtime-system-info" : { | |
| "version" : "0.20250408.0+srt1", | |
| "path" : "/home/tommy/.steam/debian-installation/ubuntu12_32/steam-runtime/amd64/usr/bin/steam-runtime-system-info" | |
| }, | |
| "can-write-uinput" : true, | |
| "steam-installation" : { | |
| "path" : "/home/tommy/.steam/debian-installation", | |
| "data_path" : "/home/tommy/.steam/debian-installation", |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ====================== | |
| Proton: 1748966679 experimental-10.0-20250603b | |
| SteamGameId: 218230 | |
| Command: ['/mnt/9e35f787-a028-48b8-8f0e-9eda11669830/SteamLibrary/steamapps/common/PlanetSide 2/LaunchPad.exe', 'Updates:enable=0', 'Updates:PatchSelf=1', 'campaignID=1063272', 'promoID=146', 'launchPoint=steam', 'launchArgs=STEAM_ENABLED=1'] | |
| Options: {'forcelgadd'} | |
| depot: 3.0.20250408.124536 | |
| pressure-vessel: 0.20250408.0 scout | |
| scripts: 0.20250408.0 | |
| sniper: 3.0.20250408.124536 sniper 3.0.20250408.124536 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import csv | |
| # File paths (change these if needed) | |
| parties_file = 'parties.csv' | |
| guests_file = 'guests.csv' | |
| output_file = 'yes_rsvp_emails.txt' | |
| # Step 1: Collect RSVP IDs for guests who RSVPed yes | |
| yes_rsvp_ids = set() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cmake_minimum_required(VERSION 3.14) | |
| project(constexpr_demo) | |
| # Enable C++17 | |
| set(CMAKE_CXX_STANDARD 17) | |
| set(CMAKE_CXX_STANDARD_REQUIRED ON) | |
| # Find pybind11 | |
| find_package(pybind11 REQUIRED) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import numpy as np | |
| import time | |
| from pydrake.all import ( | |
| StartMeshcat, | |
| RigidTransform, | |
| RotationMatrix | |
| ) | |
| meshcat = StartMeshcat() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| from pydrake.all import ( | |
| StartMeshcat, | |
| DiagramBuilder, | |
| AddMultibodyPlantSceneGraph, | |
| Parser, | |
| LoadModelDirectivesFromString, | |
| ProcessModelDirectives, | |
| ) |
NewerOlder