First terminal:
✗ grep -B 10 -A 3 gemma-3n ~/.config/aichat/config.yaml
- type: openai-compatible
name: local
api_base: http://localhost:8000/v1
api_key: ""
# default_provider: local
[ 0.000000] Linux version 6.6.63-ky (root@test) (riscv64-unknown-linux-gnu-gcc (g09b62c20e09) 13.2.1 20240423, GNU ld (GNU Binutils) 2.42) #1.0.0 SMP PREEMPT Wed Mar 12 09:04:00 CST 2025
[ 0.000000] Machine model: ky x1 orangepi-rv2 board
[ 0.000000] SBI specification v1.0 detected
[ 0.000000] SBI implementation ID=0x1 Version=0x10003
[ 0.000000] SBI IPI extension detected
[ 0.000000] SBI RFENCE extension detected
[ 0.000000] earlycon: sbi0 at I/O port 0x0 (options '')
[ 0.000000] printk: bootconsole [sbi0] enabled
[ 0.000000] efi: UEFI not found.
➜ nmap -sn 192.168.1.1-254/24 | egrep "scan report" | awk '{print $5}'
OpenWrt.lan
vernee_m6.lan
greenway.lan
192.168.1.147
➜
Open FB video (for example walking on the water), then:
open DevTools
(F12
), then Network
tab, watch for calling two GET URLs one-by-one, each with .mp4
inside: first is video without audio, second is just audio (both you can Open in New Tab
) - so do Copy As cURL
for both, and execute them as below (assuming 1.mp4
and 1.mp3
for both video and audio correspondently):
IMPORTANT: it's required to remove 2 HTML params from the end of URLs: &bytestart=XXX&byteend=YYY
!
curl --output 1.mp4 https://scontent.xx.fbcdn.net/o1/v/t2/f2/m69/AQO...Kq9.mp4\?strext\=1\&_nc_cat\=108\&_nc_sid\=...&oe\=679C6293
curl --output 1.mp3 https://scontent.xx.fbcdn.net/o1/v/t2/f2/m69/AQP...HqV.mp4\?strext\=1\&_nc_cat\=1\&_nc_sid\=&oe\=679C8E9F
merging downloaded 1.mp4
video and 1.mp3
audio into the final output.mp4
as below:
mpv https://online.nasheradio.ua/NasheRadio # Наше Радио
mpv https://online.hitfm.ua/HitFM # Хіт FM
mpv https://radio.ukr.radio/ur1-mp3 # UA: Українське радіо
mpv https://online.kissfm.ua/KissFM # Kiss FM
mpv https://icecastdc.luxnet.ua/lux # Lux FM
mpv http://91.218.212.84:8000/radionv.mp3 # Radio NV
mpv https://cast.mediaonline.net.ua/radiopyatnica320 # Радио Пятница
mpv https://online.melodiafm.ua/MelodiaFM # Мелодия FM
mpv https://online.radiorelax.ua/RadioRelax # Радио Relax
javascript:(function(){try{navigator.clipboard.readText().then(function(clipboardText){if(clipboardText){var newWindow=window.open("","_blank","width=800,height=600");newWindow.document.open();newWindow.document.write(clipboardText);newWindow.document.close();}else{alert('Clipboard is empty. Please copy some text to the clipboard first.');}}).catch(function(err){console.error('Failed to read clipboard contents: ',err);alert('An error occurred while trying to access the clipboard. Please ensure your browser allows clipboard access.');});}catch(e){console.error('An error occurred:',e);alert('An error occurred while trying to open the new window with the clipboard content.');}})(); |
➜ shrinker git:(main) ✗ tmux new-session -s shrinker
[detached (from session shrinker)] <- C-b d
➜ shrinker git:(main) ✗ tmux list-sessions
shrinker: 1 windows (created Mon Jul 31 00:03:22 2023)
➜ shrinker git:(main) ✗ tmux attach -t shrinker
[detached (from session shrinker)]
➜ shrinker git:(main) ✗
Q: Have a Linux on device in appartment A, which can go outside of local router to Internet. Have a Linux on device in appartment B located in another place on the globe. How it's possible to reach Linux A from Linux B via ssh when access to router A is prohibited?