Skip to content

Instantly share code, notes, and snippets.

View kachidk's full-sized avatar

Victor Nwanguma kachidk

View GitHub Profile
@kachidk
kachidk / 0000_01_01_000000_set_sqlite_extensions.php
Created July 8, 2024 15:48 — forked from james2doyle/0000_01_01_000000_set_sqlite_extensions.php
Use a Laravel migration to set some PRAGMA performance settings in Sqlite
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Support\Facades\DB;
return new class extends Migration
{
/**
* Run the migrations.
*/
@kachidk
kachidk / ffmpeg-compress-mp4
Created November 24, 2023 15:00 — forked from lukehedger/ffmpeg-compress-mp4
Compress mp4 using FFMPEG
$ ffmpeg -i input.mp4 -vcodec h264 -acodec mp2 output.mp4