Skip to main content

Posts

Showing posts from September, 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