This guide installs FFmpeg 8.1.2 from source on Ubuntu (24.04 LTS) for servers that process user-uploaded media, such as Pixelfed or Loops.
This fixes the pixelsmash vulnerability.
It installs FFmpeg into:
/opt/ffmpeg/8.1.2This guide installs FFmpeg 8.1.2 from source on Ubuntu (24.04 LTS) for servers that process user-uploaded media, such as Pixelfed or Loops.
This fixes the pixelsmash vulnerability.
It installs FFmpeg into:
/opt/ffmpeg/8.1.2| [ | |
| { | |
| "_v": 1, | |
| "id": "2", | |
| "shortcode": "C", | |
| "uri": "https://pixelfed.social/p/dansup/2", | |
| "url": "https://pixelfed.social/p/dansup/2", | |
| "in_reply_to_id": null, | |
| "in_reply_to_account_id": null, |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>KeepAlive</key> | |
| <true/> | |
| <key>Label</key> | |
| <string>homebrew.mxcl.php</string> | |
| <key>LimitLoadToSessionType</key> | |
| <array> |
| { | |
| "version": 1, | |
| "auto_cw": [], | |
| "unlisted": [], | |
| "banned": [ | |
| "instagram.com", | |
| "myspace.com", | |
| "bebo.com", | |
| "photobucket.com", | |
| "friendster.com", |
| cd /home/forge/pixelfed.social | |
| git pull origin dev | |
| composer install --no-ansi --no-interaction --no-progress --no-scripts --optimize-autoloader | |
| echo "" | sudo -S service php7.2-fpm reload | |
| php artisan config:cache | |
| php artisan migrate --force | |
| php artisan horizon:purge | |
| php artisan horizon:terminate |
| APP_NAME=PixelFed Test | |
| APP_ENV=local | |
| APP_KEY= | |
| APP_DEBUG=true | |
| APP_URL=http://localhost | |
| ADMIN_DOMAIN="localhost" | |
| APP_DOMAIN="localhost" | |
| LOG_CHANNEL=stack |
For the scenario, imagine posts has a foreign key user_id referencing users.id
public function up()
{
Schema::create('posts', function(Blueprint $table) {
$table->increments('id');
$table->string('title');
$table->text('body');| "aoColumnDefs": [ | |
| { | |
| "aTargets": [0], // row id | |
| "mRender": function ( data, type, full ) { | |
| return '<a href="/path/to/route/' + data + '">' + data.substring(0,13) + '...</a>'; | |
| } | |
| } | |
| ], |
| <?php | |
| namespace Laracasts\Generators\Commands; | |
| use Illuminate\Console\Command; | |
| use Illuminate\Container\Container; | |
| use Illuminate\Filesystem\Filesystem; | |
| use Laracasts\Generators\Migrations\NameParser; | |
| use Laracasts\Generators\Migrations\SchemaParser; | |
| use Laracasts\Generators\Migrations\SyntaxBuilder; |