I hereby claim:
- I am coderobe on github.
- I am coderobe (https://keybase.io/coderobe) on keybase.
- I have a public key whose fingerprint is 54EB 4D6D B209 862C 8945 CACC ED84 945B 35B2 555C
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| #!/bin/bash | |
| # Check if the input argument (MP4 file) is provided | |
| if [ "$#" -ne 1 ]; then | |
| echo "coderobe's gleis6.sh <3" | |
| echo "Usage: $0 <inputfile.mp4>" | |
| exit 1 | |
| fi | |
| # Input MP4 file |
| #!/usr/bin/env bash | |
| # This program was written by Mara Broda (coderobe) in 2020 | |
| printf "\033c" | |
| trap "tput cnorm" EXIT | |
| trap "exec bash "$(readlink -f "$0")"" SIGWINCH | |
| tput civis | |
| echo "starting bc coproc" |
| #!/usr/bin/env crystal | |
| TERM = `stty size`.split(" ").map { |x| x.to_i } | |
| WIDTH = TERM.last | |
| HEIGHT = TERM.first - 3 | |
| FOV = 45.0 | |
| MAX_DEPTH = 6 | |
| struct Vec3 |
| // open a playlist, or Watch Later (https://www.youtube.com/playlist?list=WL) | |
| // run. doesn't work? that means the playlist is truncated. scroll all the way down and try again. | |
| // output is in seconds. divide by 3600 for fractional hours. | |
| ytInitialData[b="contents"]["twoColumnBrowseResults"+(i="Renderer")] | |
| .tabs[0]["tab"+i] | |
| .content["sectionList"+i][b][0]["itemSection"+i][b][0][(g="playlistVideo")+"List"+i][b] | |
| .reduce((N,y,_,a)=>a[(z=y[g+i]).videoId]??=N+=+z.lengthSeconds,0) | |
| // authors: coderobe, ilbelkyr |
| // ==UserScript== | |
| // @name Soundcloud scrub fix | |
| // @namespace https://coderobe.net/ | |
| // @version 0.1 | |
| // @description enables scrubbing through long tracks on soundcloud without having to be logged in | |
| // @author Mara Broda (coderobe) | |
| // @match https://soundcloud.com/* | |
| // @icon https://www.google.com/s2/favicons?sz=64&domain=soundcloud.com | |
| // @grant none | |
| // ==/UserScript== |
tl;dr
glasgow run swd-openocd --port A --pin-swclk 1 --pin-swdio 0 -V 3.3 tcp:localhost:2222I: g.device.hardware: generating bitstream ID 98da97a3ebd449ef3ef7991939c4b823
I: g.cli: running handler for applet 'swd-openocd'
I: g.applet.interface.swd_openocd: port(s) A voltage set to 3.3 V
I: g.applet.interface.swd_openocd: socket: listening at tcp:localhost:2222