Skip to main content


Showing posts from May, 2022

How to install Miniconda Environment in Linux

Download the latest Miniconda version from the official download page. $ wget Go to the location where you downloaded the Miniconda installer and check the integrity of the downloaded file with SHA-256: $ sha256sum You will see an output like below:

What is Miniconda Script?

Miniconda is a minimal and stripped-down version of Anaconda distribution. As the name implies, Miniconda contains only Conda package manager, Python and a small number of useful packages such as pip, zlib including their dependencies. Miniconda is suitable for those who don't mind to install each package individually. It saves you not only the disk space but also avoids dumping a lots of unnecessary applications that you don't use often in your hard drive. For those wondering, Anaconda distribution automatically installs 1,500 packages that consumes around 3 GB disk space. If you use only a handful of applications, miniconda might be a good choice!

How to Install VLC dan Totem Player in Fedora 33 with Flatpak

The previous method is perfectly fine to install and enable most commonly required multimedia codecs in Silverblue. In addition, you can install VLC or Gnome Videos (Totem) or Celluloid (Formerly Gnome Mpv) to get all necessary codecs. To install VLC on Fedora Silverblue, run: $ flatpak install flathub org.videolan.VLC To install Gnome Videos on Fedora Silverblue, run: $ flatpak install flathub org.gnome.Totem Another popular media player is Celluloid that has codecs to play all type of media files. To install Celluloid on Fedora, run: $ flatpak install flathub io.github.celluloid_player.Celluloid At this stage, you should have all necessary multimedia codecs installed on your Fedora Silverblue system.

How to Enable H264 on Fedora Linux 33 Chromium Browser

  First, let us enable H264 support for Chromium browser. Install Chromium version from the official repositories:

How to Enable RPM Fusion repository on Fedora Silverblue

Many video codecs are non-free, so they are not included in Fedora default repositories and Flathub. So adding RPM Fusion repository is necessary. RPM Fusion repository provides the software which are not included in Fedora and Red Hat.

How to Use ELevate Script to Upgrade CentOS to AlmaLinux

Step 1: Install ELevate  Install elevate-release package in your CentOS 7 system using command: $ sudo yum install Step 2: Install Leapp and migration data 

What is ELevate Script?

 ELevate is an open source migration tool developed by AlmaLinux team. It allows you to easily and smoothly migrate between major versions of RHEL-based distributions from 7.x to 8.x version. ELevate combines Red Hat's Leapp framework with a community created library and service for the migration metadata set required for it. It currently supports migration from CentOS 7 to the following OSes: AlmaLinux OS 8 CentOS Stream 8 Oracle Linux 8 Rocky Linux 8 Migrations can be done in place, meaning data and configuration files are preserved. In other words, all the installed applications and settings and data will remain intact. However, the users are HIGHLY ENCOURAGED to backup the important data before starting the migration. ELevate is an open source program, released under the Apache 2.0 License.

How to Migrate from CentOS 8 to AlmaLinux

  A word of caution: As usual, backup important data from your CentOS system before starting AlmaLinux migration task. I tested this script in a freshly installed CentOS 8 virtual machine. My VM doesn't has any data and it is a server edition with minimal installation. It worked just fine without any issues as expected. Step 1: Update your CentOS system to latest available version as root or sudo user: $ sudo dnf update Step 2: Reboot your system to apply the updates:

How to Install Golang in Linux

Install Golang In Linux Using Update-golang Script   Download the Update-golang script by cloning its repository from GitHub: $ git clone The above command will clone the contents of official update-golang repository in a local directory named update-golang. Cd into this directory: $ cd update-golang It is always recommended to check the integrity of a script downloaded from Internet. So let us do that by verifying the CHECKSUM value of update-golang script: $ wget -qO hash.txt $ sha256sum -c hash.txt If you get an output as OK, you're good to go. OK After verifying the chekcsum, run the following command to install latest Golang version on your Linux machine: $ sudo ./ Sample output: version 0.24 find_latest: found last release: 1.16.2 user: uid=0(root) gid=0(roo

Vidio: Apa yang baru di Flutter 3.0

 Pada gelaran Google I/O 2022 kemarin, Google merilis Flutter 3.0. Framework toolkit cross-platform ini akhirnya benar-benar menguasai 6 platform: platform Android, iOs, Desktop Windows, Desktop Linux, Desktop MacOS dan Flutter Web. Simak ulasan kami berikut:

How to Create Drag n Drop File Upload in CodeIgniter 4

 On this simple tutorial, we gonna make a file upload with drag n drop features. We will using CodeIgniter 4 framework and Dropzone.js library. Preparation you're have running codeigniter 4 environment ready to used Step 1. Enable CSRF in Codeigniter 4 Open .env file. Remove # from the start of the security.tokenName, security.headerName, security.cookieName, security.expires, and security.regenerate. Using security.tokenName read CSRF hash. You can update it with any other value. # security.csrfProtection = 'cookie' # security.tokenRandomize = false security.tokenName = 'csrf_token_name' security.headerName = 'X-CSRF-TOKEN' security.cookieName = 'csrf_cookie_name' security.expires = 7200 security.regenerate = true # security.redirect = true # security.samesite = 'Lax' Open app/Config/Filters.php file. Uncomment in 'csrf' in 'before' if commented. public $globals = [ 'before' => [ // 'honeyp

Laravel Tutorial: How to Fetch Website Favicons

 On this laravel tutorial, we gonna create a favicon fetcher. This is our simple and straightforward solution to fetch the favicon from a website. We will be using Favicon Fetcher , an opensource library from here . Before you start, you'll need to make sure that you've got an application running at least PHP 8.0 and Laravel 8. You can install the package via Composer: composer require ashallendesign/favicon-fetcher You can then publish the package's config file using the following command: php artisan vendor:publish --provider="AshAllenDesign\FaviconFetcher\FaviconFetcherProvider" The package should now be installed and ready to use. You should also have a new config/favicon-fetcher.php config file. Favicon Fetch method To fetch a favicon from a website, you can use the fetch method which will return an instance of AshAllenDesign\FaviconFetcher\Favicon: use AshAllenDesign\FaviconFetcher\Facades\Favicon; $favicon = Favicon::fetch('https:/