I’m trying to capture VHS video on Linux using a new USB capture device and FFMPEG. I’m able to successfully capture either only audio (using Alsa), or only video (using v4l2) but when I try to do both with the same command I get errors and the video comes out with […]
Yearly Archives: 2020
I recently noticed a strange behaviour with my home wifi network and I can’t find any answers on the internet. I tried calling my internet provider but he could not answer any of my questions. I would really appreciate it if someone could help me out on this. when I […]
This: $a = new NumberFormatter('en_UK', NumberFormatter::SPELLOUT); var_dump($a->format('36')); Outputs: thirty-six If I have “thirty-six”, “thirtysix” or “thirty six”, can I turn that back into “36” with the same method somehow? Note: I’m not talking about manually coding this for English, which I already have done in the past and could do […]
A few months ago, I updated Debian to 10. (I believe I’m using Wayland and GNOME?) Among the several problems that suddenly started occurring is the following: Once in a while, I’ll come back to my computer, and there will be a password dialog reading “Authentication required” and “Authentication is […]
I got the following script to run pre-backup stuff on my server : #!/bin/bash dump_name="nextcloud_$(date +%d-%m-%y_%H-%M-%S)_backup.sql" printf "Enabling maintenance mode... " docker exec -u www-data nextcloud_front_1 sh -c "php occ maintenance:mode --on" printf "nDumping database...n" docker exec nextcloud_database_1 sh -c 'mysqldump -u root -p$MYSQL_ROOT_PASSWORD nextcloud' | sudo tee "/data/nextcloud/database/dumps/$dump_name" > […]
The second interview with Marc Morera, an author of DriftPHP. We talk about the problem of the database persistence layer in asynchronous PHP. We discuss DBAL and ORM for ReaectPHP.
I have been working on this course for about 2 months (I do not have much free time) and I hope it will help a lot of people… This 5 hours video covers all the basic things about PHP. I think this is good starting point if you want to […]