• Uncategorized

    How to install ffmpeg on a Amazon Linux AMI

    I recently had the need to create video thumbnails in a project, and to generate them I used the good old ffmpeg . No tutorial worked properly for installation on an Amazon EC2 instance, and that was the only way I could achieve that. mkdir -v -p /usr/local/bin/ffmpeg cd /usr/local/bin/ffmpeg wget https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-i686-static.tar.xz tar -v -xf ffmpeg-release-i686-static.tar.xz --strip-components=1 rm -v -f ffmpeg-release-i686-static.tar.xz ln -snf /usr/local/bin/ffmpeg/ffmpeg /usr/bin/ffmpeg ln -snf /usr/local/bin/ffmpeg/ffpropbe /usr/bin/ffpropbe view raw gistfile1.txt hosted with ❤ by GitHub Credits ansible

  • Uncategorized

    Changing Laravel monolog timezone

    I recently worked on a project where laravel logs were being uploaded to amazon cloudwatch . The problem was that the server time was set to UTC (which is correct), but laravel was recording the logs using the timestamp that was in the settings (which for me is incorrect, I have seen several places complaining about this approach) . Well, to avoid having to rewrite the Log class, I changed it directly within the app/Providers/AppServiceProvider.php, changing the monolog timezone, as shown in the gist below. Don’t forget to `php artisan config:cache` to reload settings

  • Portfolio

    New homepage published!

    After 12 years, the site of the painter from Minas Gerais joferreira was remodeled, aiming the mobile first. Being developed with laravel 7 and vuejs the site his most recent works, with the possibility to quote them via website, and to contact the artist. Through the administrative panel, the artist has full control of his publications, being able to define the categories and pictures that will be listed as main on the home page.


Notice: ob_end_flush(): failed to send buffer of zlib output compression (0) in /home/samu/public_html/blog/wp-includes/functions.php on line 4757