Skip to main content

Posts

Showing posts from 2022

How to Install Traefik in Debian (Without Docker)

 Download the suitable version of Traefik for your system from here: https://github.com/traefik/traefik/releases as an example, we'll be download the linux 64 bit version: wget https://github.com/traefik/traefik/releases/download/v2.8.7/traefik_v2.8.7_linux_amd64.tar.gz extract those package: tar -xzvf traefik_v2.8.7_linux_amd64.tar.gz set the traefik as executable and move the traefik binary to linux bin folder

How to Crack PDF Password with Pdfcrack-ng

In this tutorial, we gonna crack PDF password with Pdfcrack-ng.  Pdfcrack-ng  is an awesome open-source PDF cracker. Learn more about it here https://github.com/MichaelSasser/pdfcrack-ng How to Install Pdfcrack-ng Install cmake. Assuming your distro uses apt you can run sudo apt install cmake Clone the pdfcrack-ng Repo git clone https://github.com/MichaelSasser/pdfcrack-ng.git Build and install pdfcrack-ng

Function Name Convention in Golang

This recommendations are applicable for function and methods Uses camelCase to define the names, example: getSomthing() DoSomething() print()

Project & Filename Convention in Golang

In this article, we going to analyze the naming convention for the essential parts of our code. - Project Naming --- Package Naming ------ Files Naming --------- Functions --------- Structures --------- Variables --------- Constants

How to Calculate a Perfect PHP-FPM Configuration

How Calculate php-fpm max-children To be safe though, I’ll reserve 1 GiB for all other processes and round up php process size to 55MiB.

How to Calculate a Perfect Apache MPM Configuration

 The Apache HTTP Server (/əˈpætʃi/ ə-PATCH-ee) is a free and open-source cross-platform web server software, released under the terms of Apache License 2.0. Apache is developed and maintained by an open community of developers under the auspices of the Apache Software Foundation. The vast majority of Apache HTTP Server instances run on a Linux distribution, but current versions also run on Microsoft Windows, OpenVMS, and a wide variety of Unix-like systems. Past versions also ran on NetWare, OS/2 and other operating systems, including ports to mainframes.

Top 5 Golang Package You Must See

 Go is a statically typed, compiled programming language designed at Google[11] by Robert Griesemer, Rob Pike, and Ken Thompson. It is syntactically similar to C, but with memory safety, garbage collection, structural typing, and CSP-style concurrency. It is often referred to as Golang because of its former domain name, golang.org, but its proper name is Go.

How to Install OBS in Ubuntu 22.04/22.10/Fedora/Alma Linux?

How to Install OBS Studio On Ubuntu / Linux Mint? Step 1: Add the Official PPA sudo add-apt-repository ppa:obsproject/obs-studio Step 2: Update the repository and install OBS Studio sudo apt update && sudo apt install obs-studio

How to Install Wine 7.16 on Ubuntu 22.04/Linux Mint 20.3?

 Wine a set of library and apps to allow users to run their Windows software on non-Windows systems, and it has been very successful in this regard. The version 7.16 of Wine is released with some new feature: - Wow64 support in X11 driver  - Session storage in MSHTML  - Unicode regexp fixes in MSXML  - IME improvements in Edit control  - Various bug fixes

How to Create Golang Lambda with Serverless Framework

 This is a beginner friendly step by step guide developers to create a Lambda function with Golang. We gonna use Serverless Framework.  First, create the project directory and setting up the Go Project go mod init github.com/<username>/ go-serverless-lambda Open in your favourite IDE, create the first file, main.go package main import "fmt" func main() { fmt.Println("Hello world!") } then run it:

How to Obfuscate Flutter Code?

What is Code Obfuscation? Code Obfuscation is the process of modifying an app’s binary to make it harder for humans to understand. It's hides function, class name, variables etc.   Is there any obfuscation method in Dart (the programming language behind Flutter). flutter apparently has its own obfuscate function. we can use it by adding --obfuscate option when building APK.   Example: flutter build apk --obfuscate --split-debug-info=/ / Once you’ve obfuscated your binary, save the symbols file. You need this if you later want to de-obfuscate a stack trace. example: the flag --split-debug-info

How to Customize Icons in Windows 11

 There are a handful of big sites that have icons you can download: IconArchive DeviantArt IconFinder How to Change Icon in Windows 11 Right-click empty space on your desktop and click “Personalization.” Scroll down a bit and select “Themes.” Scroll down again, then click “Desktop Icon Settings.” Select the icon you’d like to change, then click “Change Icon.” This example will replace the “This PC” icon. Click “Change Icon,” and choose your icon Navigate to wherever you saved your icon, click it, and then click “OK.” Once you hit OK, there is a preview that’ll show you what the icon will look like. If you like the change, click “Apply.” Otherwise, click “Restore Default.”

How to Create Microservices With Laravel Octane (Swoole) Using Laravel 9 & Docker

  Create Laravel Project composer create-project laravel/laravel microservices-project/project-name Install Laravel Octane cd project-name composer require laravel/octane Generate laravel Key php artisan:key generate Clone the docker builder template

What's New in Firefox 104? Here it is

 Scheduled to be released on August 23, 2022, Mozilla Firefox 104 is officially available for download, both for Linux, macOS and Windows platforms. Firefox 104 version came as a beta testing version at the end of last July, by offering features that many parties have been waiting for, namely swipe left and right as a two-finger gesture without touching the alt key. Unfortunately, this feature seems immature, so the two-finger gesture feature will be coming from Firefox 105.

Linux Kernel 5.18 is Unsupported! Upgrade Immediately

Believe it or not, it seems that it is time for us to start leaving the Linux 5.18 kernel which has entered the EOL (end of life) period based on information from the kernel.org website. Linux kernel 5.18 was released at the end of May 2022 yesterday. This version is indeed one of the versions of the Linux kernel that is included in the short-lived series category. This kernel introduces new features such as support for "user events" in system tracing, support for AMD's "host system management port" function, support for 64-bit integrity checks on NVMe devices, support for the "hardware feedback interface" feature. Intel, as well as indirect branch tracking support for x86 architectures.

Star Lab Unveils Starbook Mk VI Linux Laptop with 12th Gen Intel or AMD Ryzen 7 CPU

An UK vendor, Star Labs, has just released a Linux laptop with an Intel 12th generation "alder-lake" with the name StarBook, the StarBook Mk VI.

Dotnet 6 Docker Container in Ubuntu 22.04 Is Available

.NET 6 is now available with Chiseled Ubuntu Containers. Our friends at Canonical have developed a new chisel approach for making ultra-small container images. We’re very excited about it. The Chiseled Ubuntu image is 100MB smaller than the Ubuntu images you’ve been using until now! Here’s the command to pull the new ASP.NET Chiseled image: docker pull mcr.microsoft.com/dotnet/nightly/aspnet:6.0-jammy-chiseled We also updated our dotnetapp and aspnetapp samples so that you can try out .NET with Chiseled Ubuntu Containers.

How to Install DotNet 6 on Ubuntu 22.04

 .NET 6 is now included in Ubuntu 22.04 (Jammy) and can be installed with just apt install dotnet6. This change is a major improvement and simplification for Ubuntu users. We’re also releasing .NET with Chiseled Ubuntu Containers, a new small and secure container offering from Canonical. These improvements are the result of a new partnership between Canonical and Microsoft.  Here’s the commands to install the .NET 6 SDK on Ubuntu 22.04:

How to Create Linux Command Line with Bash Aliases

If you’ve never created an alias before, create a file called .bash_aliases in your $HOME path if it doesn’t exist yet. Open a terminal and make sure that you are located in the $HOME directory.

VLC Officially Banned in India, What's Up?

Downloading the VLC app is no longer officially possible in India. This happened, due to the massive Cicada virus attack. VLC was one of the applications that fell victim to the Cicada malware attack, which can stay in RAM as a computer virus. Cicada malware can duplicate itself and insert itself into the MBR, the master boot record on the hard disk on the computer. The danger is, this Cicada malware begins to erase the hard drive and displays a warning related to virus infection to computer users.

There's Zero Day Exploit, Update Your Google Chrome Immediately

Google on Tuesday, released a special patch suddenly that addresses the exploit CVE-2022-2856 that specifically attacks the Chrome browser. The CVE above has the highest status, namely High-severity Zero-day Flaw. CVE-2022-2856, the issue has been described as a case of insufficient validation of untrusted input in Intents. Security researchers Ashley Shen and Christian Resell of Google Threat Analysis Group have been credited with reporting the flaw on July 19, 2022.

RedAlpha Group from China Attacks NGOs

A hacker group that is thought to be backed by the Chinese government, RedAlpha reportedly managed to mass attack humanitarian activists, think tanks and a number of state institutions within a year. They reportedly succeeded in hacking to access the email accounts and chat communications of their victims, both personal and institutional. CitizenLab started reporting on this hacker group last January 2018 in its report. Since then, this group has not stopped carrying out espionage, surveillance and information theft for some Tibetans and Indians through a malware called NjRAT backdoor.

Beware, Many Malware Appears As Browser Extensions

More than 1.3 million users have fallen victim to a malware-infected browser extension, at least once. This was conveyed by the security firm Karspersky yesterday. According to company data from Russia, at least from January 2020 to June 2022 there have been more than 4.3 million unique users who were attacked using adware that sneaked in as browser extensions. On average, about 70% of them are victims of unwanted addons.

North Korean Hacker, Attacking Job Seeker with Malicious MacOS Executable

 Hacker group from North Korea, Lazarus is reportedly attacking job seekers in cyberspace with malware that can specifically attack Apple Macs with Intel and M1 chipsets. It was ESET Security who reported this in a report entitled "Operation In(ter)ception" which was issued since last June 2020. The Lazarus Group reportedly uses social engineering tactics to trick job seekers in the aerospace and military fields with fake job vacancies, so that their data will be very easily collected and used to attack them in the future.

What is RubyGems?

  RubyGems is a package manager for the Ruby programming language that provides a standard format for distributing Ruby programs and libraries (in a self-contained format called a "gem"), a tool designed to easily manage the installation of gems, and a server for distributing them . It was created by Chad Fowler, Jim Weirich, David Alan Black, Paul Brannan and Richard Kilmer during RubyConf 2004. The interface for RubyGems is a command-line tool called gem which can install and manage libraries (the gems). RubyGems integrates with Ruby run-time loader to help find and load installed gems from standardized library folders. Though it is possible to use a private RubyGems repository, the public repository is most commonly used for gem management.

RubyGem Requires Multi-Factor Authentication

The Ruby Package Manager now follows in the same footsteps as NPM and PyPi by requiring multifactor authentication to access Ruby packages. Starting on August 15, 2022, all RubyGems users with a total of more than 180 million downloads are required to activate MFA to be able to enjoy the Ruby package download service. If some maintainers have exceeded 165 million package downloads, they will receive a notification to enable the MFA feature.

New SOVA Android Banking Trojan: Attack with New Capabilities & Targets

SOVA, a trojan on the android platform that attacks banking applications has now been detected as having new capabilities and targets. Around 200 mobile applications were recorded as being the target of one of the most vicious banking trojans in the world. Apart from attacking banking applications, SOVA trojan is also a crypto wallet and crypto exchange.

Shuckworm Malware is Attacking Ukraine, Sponsored by Russia?

Hackers allegedly supported by the Russian government, again attacked several institutions in Ukraine and carried out information theft by placing malware as an espionage operation. Symantec is a security firm that released several names of malware used by these hackers. The malware includes Shuckworm, which other security vendors call Actinium, Armageddon, Gamaredon, PrimitiveBear and Trident Ursa.

Twilio Hacked! 1900 Signal Messenger Account in Big Risk

The management of the Signal app announced a disclosure this week regarding Twilio being hacked. Around 1900 vulnerable users became victims of the hack. How can hacking on Twilio affect Signal apps? Investigate an investigation because Signal uses Twilio to send SMS verification when registering a new user.

What is AttackForge? The best Pen testing tool?

AttackForge is A pen test management and collaboration tool and it was developed to make security testing easier for both big and small businesses. The Daily Swig previously reported that the creators showed off an early iteration of the tool at Black Hat Europe 2021. The new capabilities in this year's ReportGen, according to Stas Filshtinskiy, co-founder of the DevSecOps tool, are intended to eliminate the "most hated element" of pen testing.

How to Start Child Coding

It's probable that you've heard a lot about coding and how crucial it is for kids to begin learning about it as soon as possible. We're not simply referring to the laptop or desktop computer you might have at home or on your desk at work when we say that computers have become a part of our lives. Computers are in charge of your phone, microwave, and car, and they require instructions to tell them what to do. These instructions must be written using coding, often known as computer programming. This is a tool and platform to start teaching coding to your child.

What is CrowPi2?

CrowPi2 is a new product that has been launched by Elecrow on KickStarter. It is a laptop-style shell that includes a huge selection of pre-connected sensors, switches and displays. As with the original CrowPi the idea behind it is that you can easily create and test projects without needing to worry about lots of wiring.

Sign-up Now, New Webinar Pipeline Implementation with Atlassian

When the entirety of developer productivity rests on your shoulders, it can be daunting to introduce pipeline changes. 😰 That's why Atlassian Open DevOps is introducing DevOps Talks. In this series, we're bringing together DevOps leaders to share their learnings, cautionary tales, and answers to any questions you might have! In this virtual fireside chat, join CICD experts from Bitbucket Pipelines, CircleCI, Harness and Octopus Deploy as they share the lessons they've learned from implementing pipelines for development teams of all topologies, sizes, and industries. In this webinar, you will learn: • What to do and what not to do when implementing and configuring your CICD pipeline • How to alter your pipelines to meet industry specific standards • Where they think the future of CICD is going Are you ready to optimize your developers' productivity? Save your seat to learn more. Sign-up Now here

Ikuti Webinar Storage Baremetal dari Biznet Gio

R&D atau lab riset yang terdapat pada perusahaan atau institusi pendidikan umumnya membutuhkan server yang mampu menampung workload dan storage yang besar. Namun, apakah sudah ada layanan bare metal server yang memiliki penyimpanan dengan skalabilitas tinggi? Menjawab permasalahan tersebut, Biznet Gio menghadirkan NEO Metal, layanan Bare Metal Server berteknologi canggih dengan NEO Elastic Storage, sebagai expandable storage yang membuat kedua layanan ini cocok untuk mendukung pengembangan produk digital yang inovatif.

FFMPEG Tutorial: Stacking 4 Video Input by 2x2 Matrix Output

  Use the   vstack   (vertical),   hstack   (horizontal), or   xstack   (custom layout) filters. It is easier and faster than other methods. Combine/stack two videos or images Vertical

Watch PiHut Tear-downing the Raspberry Pi 400!

 The new Raspberry Pi four hundred is an altogether unique type of product than we`re used to seeing from Raspberry Pi.   Whilst The Pi400 keeps comparable functions and overall performance to the Raspberry Pi 4, and really tons borrows it`s `clicky elements` from the present Raspberry Pi keyboard, having the running elements hidden away isn`t some thing we`re used to seeing from the smart parents at Raspberry Pi.   Whilst this eliminates a whole lot of the distraction for plenty information customers starting off on a brand new coding journey, a lot of us pro Raspberry Pi customers are keen to look what`s taking place below the hood! 

How to Monitor 3D Printer with Raspberry Pi Zero 2

Many of you're proud proprietors of 3-d Printers AND virtually have the time to make cool stuff with them! We`re very jealous of you.  Envy aside, some thing we see quite a few our clients making with the Raspberry Pi Zero are 3-d printer tracking projects - combining a Raspberry Pi Zero with a digital digicam module and streaming the output over the integrated Wi-Fi, permitting you to maintain a watch in your print from the consolation of your sofa. 

How to Create DIY Camera for Raspberry Pi Zero 2

The Raspberry Pi Zero 2 has a small camera connection at one end. This can be connected to a ZeroCam camera, or one of the official Raspberry Pi Camera Modules, with the use of an adapter cable. During 2021, Raspberry Pi cameras were used for many projects, one of the most popular being to make a webcam for family and work video calls. USB webcams were hard to come by that year, so the Raspberry Pi webcam was a great solution. Raspberry Pi Zero webcam DIYs are making great quality cameras using Raspberry Pi mounting plates and Jeff Geerling's Raspberry Pi Camera. Our favorite example of this is the HQ Camera. You can watch the full video tutorial from Jeff Geerling here:

How to Block Internet Ads in Your Entire House with Raspberry Pi

Raspberry Pi Zero 2 can become a free ad-blocker on your network in less than an hour, blocking ads on websites and streaming services. Ads are not so bad, as long as the content to ad ratio is reasonable. Unfortunately this is rarely the case. Pi-hole blocks ads, trackers, and other things network-wide. This means that there is no need to install blockers on every PC or browser, and manage their settings separately. This can help with privacy, network speed, safe surfing, and most importantly, frustration. Pi-hole does an awesome job of documenting their install process and settings on their website, which youll have to log into your router and change a few things. The YouTube ads can still get through, but with the right settings, you can stop them on 4OD and ITV Player. The Raspberry Pi Zero 2 is a small and resource-less computer, which makes it the perfect choice for running the project wirelessly. Yo u can install by  read this documentation:  https://docs.pi-hole.net/  

Amazon Rekognition OCR Example Apps

Our project structure we'll be like this: |-- config | |-- __init__.py | |-- aws_config.py |-- images | |-- aircraft.png | |-- challenging.png | |-- park.png | |-- street_signs.png |-- amazon_ocr.py edit the aws_config.py and add your own AWS access key, secret key and regions. # define our AWS Access Key, Secret Key, and Region ACCESS_KEY = "YOUR_ACCESS_KEY" SECRET_KEY = "YOUR_SECRET_KEY" REGION = "YOUR_AWS_REGION" then # import the necessary packages from config import aws_config as config import argparse import boto3 import cv2 def draw_ocr_results(image, text, poly, color=(0, 255, 0)): # unpack the bounding box, taking care to scale the coordinates # relative to the input image size (h, w) = image.shape[:2] tlX = int(poly[0]["X"] * w) tlY = int(poly[0]["Y"] * h) trX = int(poly[1]["X"] * w) trY = int(poly[1]["Y"] * h) brX = int(poly[2]["X"] * w) brY = int(po

How to Install Amazon Rekognition Python Package

To be able to se Amazon Rekognition API for OCR, we need to have the openCV library installed on the system. We can install it by using pip. To interface with the Amazon Rekognition API, we need to use the boto3 package: the AWS SDK. Luckily, boto3 is incredibly simple to install, requiring only a single pip-install command:  $ pip install boto3  If you are using a Python virtual environment or an Anaconda environment, be sure to use the appropriate command to access your Python environment before running the above command (otherwise, boto3 will be installed in the system install of Python).

How to install Miniconda Environment in Linux

Download the latest Miniconda version from the official download page. $ wget https://repo.anaconda.com/miniconda/Miniconda3-py39_4.9.2-Linux-x86_64.sh Go to the location where you downloaded the Miniconda installer and check the integrity of the downloaded file with SHA-256: $ sha256sum Miniconda3-py39_4.9.2-Linux-x86_64.sh 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 http://repo.almalinux.org/elevate/elevate-release-latest-el7.noarch.rpm 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 https://github.com/udhos/update-golang 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 https://raw.githubusercontent.com/udhos/update-golang/master/update-golang.sh.sha256 $ sha256sum -c hash.txt If you get an output as OK, you're good to go. update-golang.sh: OK After verifying the chekcsum, run the following command to install latest Golang version on your Linux machine: $ sudo ./update-golang.sh Sample output: update-golang.sh: version 0.24 update-golang.sh: find_latest: found last release: 1.16.2 update-golang.sh: 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:/

ps command doesn't work in docker container

I want to do a ps command in a docker container derived from Debian official Docker hub repository: $ docker run -ti debian:wheezy /bin/bash root@51afd6b09af8:/# ps bash: ps: command not found alternative 1: use docker top docker top <container ID> alternative 2 (but your container will be bloated): ps is not installed in the base wheezy image. Try this from within the container: apt-get update && apt-get install procps or add the following line to the Dockerfile: RUN apt-get update && apt-get install -y procps && rm -rf /var/lib/apt/lists/*

How to Install MXLinux 21.1 (AHS Desktop Edition)

 On this article, we gonna install MXLinux version 21.1 codename "wildflower". MX Linux, a desktop-oriented Linux distribution based on Debian's "Stable" branch, is a cooperative venture between the antiX and former MEPIS Linux communities. Using Xfce as the default desktop (with separate KDE Plasma and Fluxbox editions also available), it is a mid-weight operating system designed to combine an elegant and efficient desktop with simple configuration, high stability, solid performance and medium-sized footprint. MXLinux currently sit on No. 1 as The Most Popular Linux Distribution by Distrowatch. This distribution is crafted beutifully and packed with top-quality in-house software called 'MX-Tool'.

Flutter Tutorial: How to Add Firebase to Flutter Project (2022 Update)

In this article, we will discuss how to add Firebase in our flutter based application. Create and Prepare the Firebase Project Go to Google Firebase and create a project. You will need a Gmail E-Mail to access Firebase. Navigate to the console page of Firebase. Create a new project by clicking on add project. After clicking the button you will be take to a new page. The project creation has two steps. Give your project a name Add Firebase Analytics to your project. I recommend disabling this option unless you really need it. Finish the creation of your project by clicking *Create Project* After creating your project you will be taken to the project overview. Unlike in previous times when adding Firebase to Flutter you are done inside the Firebase console now. We also need firebase-cli installed on our computer. So for those who have not installed firebase-cli, please install it first according to their respective OS. Insert Firebase to Flutter Project Cr

Flutter Tutorial: Save GPS Data from the Devices

In this article we will cover how to collect the value of the speed of a vehicle through GPS. We will use as a basis for this project the Flutter framework that has been widely used by several developers. We will cover the following topics: Creating a Standard Project with Flutter Installing and configuring the “geolocator: ^8.2.0” plugin Save the speed data as the device moves. Step 1. Creating a Standard Project with Flutter flutter create -i objc -a java my_speed Step 2. Install & Configure Geolocator Plugin

How to Customize Flutter Stop Error Screen

  In this short article, we will replace the message on the Stop Error display when developing in Flutter. As we know, the default display when experiencing a stop error is like this. To do this customization, please add accent parameters such as style, align, etc. with the following example: void main() { ErrorWidget.builder = (FlutterErrorDetails details) => Material( child: Container( padding: const EdgeInsets.symmetric(vertical: 40.0, horizontal: 20.0), child: Center( child: Column( mainAxisAlignment: MainAxisAlignment.center, mainAxisSize: MainAxisSize.min, children: [ //customize your stop error message here const Text( 'Error', textAlign: TextAlign.center, style: TextStyle( color: Colors.redAccent, fontSize: 24, fontWeight: FontWeight.bold, ), ), const SizedB