- Port forward
$PORTon target nc -l -p $PORT | mpv -on target- Stream to
tcp://target:$PORTon source - ???
- profit
This file contains hidden or 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
| powershell "$prev = Get-Clipboard -Raw; while ($true) { $cur = Get-Clipboard -Raw; if ($cur -ne $prev) { [Convert]::ToBase64String([Text.Encoding]::UTF8.GetBytes($cur)); $prev = $cur } else { Start-Sleep -Milliseconds 500 } }" | secure_bus --remote-server-addr <host>:<port> --sentinel-byte 10 | powershell "foreach ($line in $input) { $text = [Text.Encoding]::UTF8.GetString([Convert]::FromBase64String($line)); if ($text -ne '') { Set-Clipboard -Value $text } }" |
This file contains hidden or 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
| basename "$(dirname "$(grep -rl '[serial or other identifier]' /sys/class/drm/card*/edid)")" | cut -d'-' -f2- | |
| # --> DP-1 |
This file contains hidden or 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
| """ | |
| GNU GENERAL PUBLIC LICENSE | |
| Version 3, 29 June 2007 | |
| Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> | |
| Everyone is permitted to copy and distribute verbatim copies | |
| of this license document, but changing it is not allowed. | |
| Preamble |
This file contains hidden or 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
| document.body.innerHTML = document.body.innerHTML.replace(/([-'a-z\u4e00-\u9eff]+)《(.*?)》/g, '<ruby>$1<rt>$2</rt></ruby>') |