This file contains 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 | |
# ---------------------------------------------------------------------------- | |
# "THE BEER-WARE LICENSE" (Revision 42): | |
# <blagovest@petrovs.info> wrote this file. As long as you retain this notice you | |
# can do whatever you want with this stuff. If we meet some day, and you think | |
# this stuff is worth it, you can buy me a beer in return Blagovest Petrov | |
# ---------------------------------------------------------------------------- | |
# The script fixes the "no iKVM64 in java.library.path" bug with the SuperMicro | |
# iKVM Java S**t. You can do an alias of it, like: "alias javaws=/usr/local/bin/launchikvm" |
I assume you have an RX50 dual-floppy on your machine, and that you're trying to get the data off of e.g. an ST506 MFM HDD that's in the machine.
-
Get a PC or laptop setup with serial to the box. You want to connect to the Console port (the top left one), set the rotary switch to 9600 bps (setting 14) as 19200 is too unstable. You'll also need a null modem crossover to swap RX/TX and RTS/CTS. I recommend using Kermit on your machine to speak to the PDP, as you'll need it for file copies anyway. You can create the following script as e.g. pdp.ck and execute $ kermit pdp.ck to automatially connect to the machine with the correct parameters:
set line /dev/ttyR0 ; replace with the correct device for you ; this is port 0 on a RocketCom 8-port serial card set speed 9600 ; rotary switch setting 14 on the micro PDP-11 set parity even ; set stop-bits 1 ;
set session-log binar
This file contains 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 | |
exec {times}> times {typescript}> typescript < "${1-/dev/stdin}" | |
while read -r; do [[ $REPLY = ' "stdout": [' ]] && break; done # skip to this line | |
LANG=C | |
printf "Script started on %(%c)T\n" -1 >&"$typescript" # dummy | |
while read -r open; [[ $open = '[' ]]; do | |
read -r elapsed; read -r string; read -r close | |
eval printf %b%n "$string" characters >&"$typescript" # put count in $characters | |
printf "%s %s\n" "${elapsed%,}" "$characters" >&"$times" | |
done |
platform | # of DLs (approx) | # of DLs in 2019 (approx) | comments |
---|---|---|---|
Docker | 70.5m + 19m = 89.5m | 60.4m + 6.7m = 67.1m | See notes |
Windows | 72k | 100k | 75% 3.x, 25% 2.x. Extrapolated from 253d of data |
deb (Debian / Ubuntu) | 65k | 65k | 76% are 3.x, 24% are 2.x |
rpm (CentOS / RedHat) | 63k | 40k | 69% are 2.x, 31% are 3.x |
source .tar.gz |
11.6k | 38k | extrapolated from 10 days of data; primarily 3.1.1 |
Mac | 18k | 25k | 67% 3.x, 32% 2.x. Extrapolated from 253d of data |
This file contains 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
#!/usr/bin/python | |
# vim: set ts=4 sw=4 expandtab syntax=python: | |
""" | |
FTDI device permission fixer | |
Can be called from a udev rule to ensure connected FTDI devices have | |
world-writable permissions for use by user applications | |
J. Hipps <jacob@ycnrg.org> |
This file contains 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
Show hidden characters
// I'm tired of extensions that automatically: | |
// - show welcome pages / walkthroughs | |
// - show release notes | |
// - send telemetry | |
// - recommend things | |
// | |
// This disables all of that stuff. | |
// If you have more config, leave a comment so I can add it!! | |
{ |