✅ PHP 8.4.11, Debian package, Debian Linux 13:
$ docker run --rm -it debian:13
temp# apt-get update -qq && apt-get install -qy php locales
temp# locale -a
C
C.UTF-8
POSIX
temp$ php --version; php -a
✅ PHP 8.4.11, Debian package, Debian Linux 13:
$ docker run --rm -it debian:13
temp# apt-get update -qq && apt-get install -qy php locales
temp# locale -a
C
C.UTF-8
POSIX
temp$ php --version; php -a
/*! | |
* Usage: | |
* $ node montehall.js | |
* $ DEBUG=1 node montehall.js | |
* | |
* changeYourMind=true | |
* | |
* $ node montehall.js | grep won | wc -l | |
* ~660 | |
* |
// One time: | |
// * Open the web inspector. | |
// * Paste the below code in the console. | |
// | |
// Usage: | |
// 1. Find a white pawn at the front of one of the conga lines in column 3425. | |
// Matt started around 3425,4464 | |
// and as of 6 Jul 2025 we have migrated north until 3425,3740. | |
// 2. Click on the white pawn so that it is selected (yellow) and gets a target (blue) | |
// in front of it. |
/* eslint-env node */ | |
'use strict'; | |
import cp from 'node:child_process'; | |
import fs from 'node:fs'; | |
import path from 'node:path'; | |
const CHANGELOG_FILE = './History.md'; | |
const MAILMAP_FILE = '.mailmap'; | |
const FIRST_TODO = '2.23.1 / '; |
<?php | |
define( 'INDENT', ' ' ); | |
$files = shell_exec( | |
'git -C ' . escapeshellarg( __DIR__ ) . | |
' ls-tree --name-only -r HEAD' | |
); | |
if ( !$files ) { |
<?php | |
$startupUrls = [ | |
'enwiki-canonical' => 'https://en.wikipedia.org/w/load.php?lang=en&modules=startup&only=scripts&raw=1&skin=vector', | |
'enwiki-mobile' => 'https://en.m.wikipedia.org/w/load.php?lang=en&modules=startup&only=scripts&raw=1&skin=minerva&target=mobile', | |
]; | |
define( 'STARTUPREG_JSON_START', 'mw.loader.register([' ); | |
define( 'STARTUPREG_JSON_START_OFFSET', 'mw.loader.register(' ); | |
define( 'STARTUPREG_JSON_END', ']);' ); |
const csvToJSON = (csv) => { | |
const getcsvdata = (csv) => { | |
const csvRegex = /,(?=(?:(?:[^"]*"){2})*[^"]*$)/; | |
const trimQuotes = /^"|"$/g; | |
csv = csv.split(csvRegex).map( | |
h => h.trim().replace(trimQuotes, '') | |
); | |
return csv; | |
} | |
let lines = csv.split('\n'); |
use AppleScript version "2.4" -- Yosemite (10.10) or later | |
use scripting additions | |
-- Original script: John Gruber (https://daringfireball.net/linked/2023/12/05/an-applescript-for-safari-split-tabs-to-new-window) | |
-- Much more elegant version: Leon Cowle (https://github.com/leoncowle) | |
tell application "Safari" | |
(* | |
`tab` properties: | |
index |
#!/usr/bin/python3 | |
# | |
# Convert an Apple iTunes Music Library.xml file into a set of .m3u playlists. | |
# | |
# Copyright 2023 Timo Tijhof <https://timotijhof.net> | |
# Copyright 2006 Mark Huang <[email protected]> | |
# | |
# SPDX-License-Identifier:: GPL-2.0 <https://opensource.org/licenses/GPL-2.0> | |
# | |
# Changelog: |