OK, turing.

<- leave blank

Sat Sep 26 15:54:23 EDT 2020

data matches 'https?://www.youtu(.be/|be.com/watch\?v=)[^ ]+'
plumb start yt $data

data matches '[^ ]+'
data matches '.*\.mp4'
arg isfile $data
plumb start window -dx 648 -dy 368 treason $file

; cat /bin/yt
#!/bin/rc
# yt: download a video from youtube
rfork e
itag=18 # default 360p mp4
if(~ $1 -i){
	itag=$2
	shift
	shift
}
switch($#*){
case 2
	f=$2
case 1
	f=/tmp/yt/^`{echo $1 | sed 's/.*v=([0-9A-Za-z]+).*/\1/'}^.mp4
case *
	echo 'usage: yt [-i itag] url [dest]' >[1=2]
	exit usage
}
hget $1 |urlencode -d |urlencode -d |tr " $nl |sed -n '
	s/\\\\u0026/\&/g
	s/\\//g
	s/.*(https?:\/\/.*googlevideo.*itag='^$itag^'.*)/dl ''\1'' $f/p
' |rc
; cat /bin/dl
#!/bin/rc
if(!  ~ $#* 2){echo usage: dl url dest >[1=2]; exit usage}
hget $1 | tput -p > $2 |[2] aux/statusmsg -kw0,416,9000,524 $2
; webpaste /dev/text


Sat Sep 26 15:50:43 EDT 2020
data matches 'https?://www.youtu(.be/|be.com/watch\?v=)[^ ]+'
plumb start yt $data

data matches '[^ ]+'
data matches '.*\.mp4'
arg isfile $data
plumb start window -dx 648 -dy 368 treason $file

#!/bin/rc
# yt: download a video from youtube
rfork e
itag=18 # default 360p mp4
if(~ $1 -i){
	itag=$2
	shift
	shift
}
switch($#*){
case 2
	f=$2
case 1
	f=/tmp/yt/^`{echo $1 | sed 's/.*v=([0-9A-Za-z]+).*/\1/'}^.mp4
case *
	echo 'usage: yt [-i itag] url [dest]' >[1=2]
	exit usage
}
hget $1 |urlencode -d |urlencode -d |tr " $nl |sed -n '
	s/\\\\u0026/\&/g
	s/\\//g
	s/.*(https?:\/\/.*googlevideo.*itag='^$itag^'.*)/dl ''\1'' $f/p
' |rc


Sat Sep 26 13:47:09 EDT 2020
% cat /mnt/plumb/web
plumb
web
/usr/ori
text

62
https://nitter.com/dk_munro/status/1308838584456278026/photo/1plumb


Sat Sep 26 13:46:21 EDT 2020

# open twitter urls with nitter
type is text
data matches 'https?://twitter.com/([^ ]+)'
data set 'https://nitter.com/$1'
plumb to web
plumb client window $browser


Sat Sep 26 13:25:25 EDT 2020
hello

Sat Sep 26 13:11:39 EDT 2020
You are my heart: http://clickfrm.com/zcbx

Sat Sep 26 00:49:00 EDT 2020
essid: Fios-9MZKE
bssid: 20c0472c735e
status: associated
channel: 11
rxkey1: ccmp:[16]
rxkey2: ccmp:[16]
rxkey4: ccmp:[16]
txkey0: ccmp:[16]
brsne: 30140100000FAC040100000FAC040100000FAC020C00
node: b42a0e8278f1 1411 326980 06 TC8717TEB
node: 0026b8d98dbe 0411 326410 06 B6M6Q
node: 44adb154c056 1411 325410 11 BLUST BACON
node: 541379e67016 1411 325140 11 WIFIE67012
node: 20c0472c735e 1431 40 11 Fios-9MZKE
node: 00180a034bc2 1021 326890 06
node: 1878d40ceb9c 1431 324860 11 Fios-5VR9T
node: 3c286dc0c858 1431 325380 11 nuevayork
node: fa8fca843454 0421 324950 11 Living Room speaker.ynm
node: 84a06ea4e24e 0411 325110 11 MySpectrumWiFi48-2G
node: 7829ed18a30f 1431 326850 06 MySpectrumWiFi11-2G
node: fa8fca3e10b9 0421 326510 01
node: 541379dffde4 1411 325510 11 TC8715D75
node: 28565ab1fb9c 1411 85180 11 WIFIB1FB98
node: b42a0e9d5d5d 1411 325320 11 TC8717T57
node: b8f8535f282a 1511 326490 01 Jimmy's WiFi
node: 527871c80821 1431 326970 06 SpectrumSetup-23
node: d80f99ada1e0 1411 314460 11 Bob Loblaw's Law Blog
node: 00cb514d29ee 0411 326830 06 LaCroix-2G
node: a00460bd67bb 1411 326220 08 NETGEAR85
node: b0982b2575b8 0431 325140 11 MySpectrumWiFib2-2G
node: a8a795fca03f 1411 324970 11 WIFIFCA03C
node: 1878d42986d0 1431 325610 11 Fios-S800G
node: de32e54aede7 1431 326420 02
node: c863fc9c14fe 0431 325180 11 MySpectrumWiFiFD-2G
node: b07fb9116e60 0411 326470 03 NETGEAR47
node: 44adb188cf86 1411 324960 11 SpectrumSetup-80
node: e8ada6351186 0411 325490 11 MySpectrumWiFi80-2G
node: 527871874938 1431 326900 06 SpectrumSetup-3A
node: 44adb14f9fd6 1411 325590 11 SpectrumSetup-D0
node: f08175fd235e 1411 326500 01 SpectrumSetup-58
node: 00183ab2b64e 0411 326890 06 08FX06048674


Fri Sep 25 16:31:22 EDT 2020
Hello, Turing World!

Fri Sep 25 13:05:21 EDT 2020
This is totally a test to see how long it takes you to notice my existence.

Fri Sep 25 12:21:05 EDT 2020
'

Fri Sep 25 11:02:41 EDT 2020
cpu% echo '<p>Hello</p>' | htmlfmt
Hello
cpu% htmlfmt < '<p>Hello</p>'
<p>Hello</p>: rc: can't open: '<p>Hello<' directory entry not
found

next