Skip to content

Instantly share code, notes, and snippets.

@tylerwatt12
tylerwatt12 / General Debugging commands
Created January 8, 2024 17:56
iView STB3200 HLS viewer for Nginx
#general working principal
https://www.youtube.com/watch?v=2OtrIoG60rY
#List Audio input devices (used for ffmpeg command)
arecord -L
#List video input devices
v4l2-ctl --all
#List video formats ffmpeg can read from the device
@tylerwatt12
tylerwatt12 / testdb.php
Created September 21, 2022 12:57
ODBC connection to MAS90/ProvideX using PHP PDO_ODBC driver and Medoo Framework
include 'lib/Medoo.php'; //Call database library
use Medoo\Medoo; //This line needs added on any php page a database call is made (should only be functions.php)
//phpinfo();
$database = new Medoo([
'dsn' => [
// The PDO driver name for the DSN driver parameter.
'driver' => 'odbc',
// The parameters with key and value for DSN.
'DSN' => 'MASABC64'