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 matplotlib.pyplot as plt | |
from scipy import stats | |
import time | |
import sys | |
import psutil | |
import os | |
from multiprocessing import Pool, cpu_count | |
from functools import partial |
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
# /// script | |
# requires-python = ">=3.11" | |
# dependencies = [ | |
# "pandas", | |
# "pdfplumber", | |
# ] | |
# /// | |
import pdfplumber | |
import pandas as pd | |
import os |
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
# Script to set up Windows 11 admin configuration for software development | |
# Author: Gary Oberbrunner, [email protected] | |
# License: MIT | |
# Requires elevation | |
if (-NOT ([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] "Administrator")) { | |
Write-Host "This script requires admin privileges. Please run PowerShell as Administrator and try again." | |
Exit 1 | |
} |
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
# Script to set up a Windows 11 machine for software development | |
# Author: Gary Oberbrunner, [email protected] | |
# License: MIT | |
# Requires elevation | |
if (-NOT ([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] "Administrator")) { | |
Write-Host "This script requires admin privileges. Please run PowerShell as Administrator and try again." | |
Exit 1 | |
} |
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
-*- coding: utf-8 -*- | |
Matching Pairs «»‹›“”‘’〖〗【】「」『』〈〉《》〔〕 | |
Greek ΓΔ Θ Λ ΞΠ Σ ΦΨΩ αβγδ εζηθ κλμ ξπ ρςτυ φχψω | |
currency ₿ ¤ $ ¢ € ₠ £ ¥ | |
common © ® ™ ² ³ § ¶ † ‡ ※ | |
Bullet-like •◦ ‣ ✓ ●■◆ ○□◇ ★☆ ♠♣♥♦ ♤♧♡♢ | |
phonetic ᴁ ᴂ ᴈ | |
Music ♩♪♫♬♭♮♯ | |
punctuation “” ‘’ ¿¡ ¶§ª - ‐ ‑ ‒ – — ― … | |
àáâãäåæç èéêë ìíîï ðñòóôõö øùúûüýþÿ ÀÁÂÃÄÅ Ç ÈÉÊË ÌÍÎÏ ÐÑ ÒÓÔÕÖ ØÙÚÛÜÝÞß |
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
==> INFO: Fetching info for git ref: master | |
==> INFO: Downloading tarball from GitHub. This could take a while, please be patient. | |
==> DEBUG: executing: curl -L https://github.com/emacs-mirror/emacs/tarball/1a1f47e4a1fb70e6810f9eabd0f1826b71a2bcb0 -o /Users/garyo/src/build-emacs-for-macos/tarballs/emacs-mirror-emacs-1a1f47e.tgz | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 | |
100 4024k 0 4024k 0 0 4244k 0 --:--:-- --:--:-- --:--:-- 4244k 100 9.8M 0 9.8M 0 0 5146k 0 --:--:-- 0:00:01 --:--:-- 6001k 100 15.0M 0 15.0M 0 0 5219k 0 --:--:-- 0:00:02 --:--:-- 5681k 100 20.3M 0 20.3M 0 0 5266k 0 --:--:-- 0:00:03 --:--:-- 5588k 100 25.5M 0 25.5M 0 0 5279k 0 --:--:-- 0:00 |
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
==> INFO: Copying "Emacs.app" to: /Users/garyo/src/build-emacs-for-macos/builds/Emacs.2023-10-11.cfed3bb.master.macOS-13.arm64 | |
==> INFO: Copying "COPYING" to: /Users/garyo/src/build-emacs-for-macos/builds/Emacs.2023-10-11.cfed3bb.master.macOS-13.arm64 | |
==> INFO: Adding "emacs" CLI helper to Emacs.app | |
==> DEBUG: executing: cp -pRL /Users/garyo/src/build-emacs-for-macos/helper/emacs-cli.bash /Users/garyo/src/build-emacs-for-macos/builds/Emacs.2023-10-11.cfed3bb.master.macOS-13.arm64/Emacs.app/Contents/MacOS/bin/emacs | |
==> DEBUG: executing: chmod +w /Users/garyo/src/build-emacs-for-macos/builds/Emacs.2023-10-11.cfed3bb.master.macOS-13.arm64/Emacs.app/Contents/MacOS/bin/emacs | |
==> INFO: Bundling C source files into Emacs.app for documentation purposes... | |
==> DEBUG: Copying *.c and *.h files from '/Users/garyo/src/build-emacs-for-macos/sources/emacs-mirror-emacs-cfed3bb/src' to: Contents/Resources/src | |
==> DEBUG: Patching 'Contents/Resources/lisp/site-start.el' to allow Emacs to find bundled C sources | |
==> INFO: Bundli |
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
/** | |
* Logseq custom theme by Gary Oberbrunner | |
* TO USE: `@import url("https://oberbrunner.com/logseq/themes/garyo/custom.css");` | |
*/ | |
/* Fonts: Hack */ | |
@import url("https://cdn.jsdelivr.net/npm/[email protected]/build/web/hack.css"); | |
/* === Colors based on OneNote === */ |
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
```yaml | |
--- | |
doe: "a deer, a female deer" | |
ray: "a drop of golden sun" | |
pi: 3.14159 | |
xmas: true | |
french-hens: 3 | |
calling-birds: | |
- huey | |
- dewey |
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
[ 0.000000] Linux version 5.10.60.1-microsoft-standard-WSL2 (oe-user@oe-host) (x86_64-msft-linux-gcc (GCC) 9.3.0, GNU ld (GNU Binutils) 2.34.0.20200220) #1 SMP Wed Aug 25 23:20:18 UTC 2021 | |
[ 0.000000] Command line: initrd=\initrd.img panic=-1 nr_cpus=32 swiotlb=force console=ttyS0,115200 debug pty.legacy_count=0 | |
[ 0.000000] KERNEL supported cpus: | |
[ 0.000000] Intel GenuineIntel | |
[ 0.000000] AMD AuthenticAMD | |
[ 0.000000] Centaur CentaurHauls | |
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers' | |
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers' | |
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers' | |
[ 0.000000] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256 |
NewerOlder