Skip to content

Instantly share code, notes, and snippets.

View rpardee's full-sized avatar

Roy Pardee rpardee

View GitHub Profile
screen mode id:i:2
use multimon:i:0
desktopwidth:i:1600
desktopheight:i:1200
session bpp:i:32
winposstr:s:0,1,0,0,1538,718
compression:i:1
keyboardhook:i:2
audiocapturemode:i:0
videoplaybackmode:i:1
* Gimme 10 records of a random var. ;
data fake_data ;
do cnt = 1 to 10 ;
randy = uniform(7376) ;
output ;
end ;
keep randy ;
run ;
proc sort data = fake_data ;
* Translate service centers to facility codes. Translations change over time. ;
data svc_facs ;
input
@1 svcctr $char3.
@7 ctreffdt date9.
@19 ctrtrmdt date9.
@31 facility_code $char3.
;
format ctr: mmddyy10. ;
datalines ;
@rpardee
rpardee / values.js
Last active November 21, 2020 20:52 — forked from lennymd/values.js
var outcomes_health ;
function filter_down(indata) {
const cols = indata.columns;
let values = {};
indata.columns.forEach(col => (values[col] = d3.map(indata, d => d[col]).keys()));
outcomes_health = values['health_outcomes'] ;
}
async function get_values() {
@rpardee
rpardee / mass_transcode.ps1
Created December 28, 2025 20:34
mass transcode MKVs keeping english subtitles
<#
Automates the handbrake CLI (such as it exists) so I can sic this script on a
whole dir of mkvs and have them trimmed down, but with subtitles
The raw command that works:
flatpak run --command=HandBrakeCLI fr.handbrake.ghb `
--input '../The Good Place S02E04.mkv' `
--output 'The Good Place S0204.mkv' `
@rpardee
rpardee / rp_comment.md
Last active June 25, 2026 15:14
comment on usps controlling mail-in voting

To: PCFederalRegister@usps.gov

Subject: Ballot Mail

I am writing to oppose the adoption of the proposed rule that would amend 39 CFR Part 111 to prevent USPS' delivering mail-in or absentee ballots unless the addressee appears on USPS-maintained list of approved voters. Such an amendment would cause many practical and logistical problems, including:

  • Who at the USPS would be charged with maintaining the list of approved voters, in addition to their other duties?
  • Where would the budget for this work come from?
  • How could the American people be assured that these lists were handled fairly?