Skip to content

Connect issue using IPv6 on Unity3D UNET server

I am deploying dedicated server made on UNET and when I start server I try to get list of all IPs (both IPv4 and IPv6). My server is deployed on a Linux server on DigitalOcean with IPv6 support enabled, server can be pinged via IPv6 address. When I connect via IPv4 from client to server (from NetworkClient to…

Add id to the downloaded youtube playlist

I’ve downloaded a youtube playlist with youtube-dl is there any way i can rename the files i’ve downloaded to the appended id of the file in playlist. e.g. now xyz.mp4 abc.mkv want 1 – xyz.mp4 2 – abc.mkv (which is according to the number in the youtube playlist) Answer If the files ar…

redirecting stdin to tempfile in script

I want to write a bash script that receives a list of files through a pipe, writes a tempfile and then starts a program (qiv – an image viewer) with this tempfile. Example: where piped_qiv would look something like this: I’m probably missing something very basic about bash scripting but I was not …