Posts

My ToDo List for 2024 (daily updates)

waffarx cash back

How to change text size in Android app development : Kotlin & Flutter

Text size plays a crucial role in user experience, especially on mobile devices. This tutorial will guide you on implementing text size adjustments in both Android (using Kotlin) and Flutter applications. Understanding Text Size Options 🔗 Default System Settings: Both Android and iOS allow users to adjust the overall font size in their system settings. Your app should respect these settings by default. In-App Adjustments: You can provide additional control within your app for users to further personalize the text size.

Android Emulator Avd Notes

to create a test project 🔗 android update test-project -m ./path/main_project/ -p ./path/test_project/ to launch emulator 🔗 emulator -avd ADB server & list attached devices 🔗 adb devices adb start-server

Intelligent Failure

Intelligent failure is when you learn from your failures. So you do not fail again in the same trap. make sure to analyse the system and detect the failure cause, modify the system so the failure does not occur again. This appraoch is perfect for all system that need to be versatile in the future. This appraoch is used in technology-development and self-improvement.

How Do I Reduce a PDFs Size Manually?

Adobe Acrobat Pro 🔗 If you have Adobe Acrobat installed on your computer, there’s a tool within the application called PDF Optimizer. This is one of the best and easiest ways to reduce a PDF document size. Open your PDF file in Acrobat, click Tools > Optimize PDF. A toolbar with a few options will appear just above the PDF. Click Reduce File Size, and choose to reduce a single or multiple files.

How Do I Compress a .JPEG File ?

Use A Web App 🔗 Navigate to compressor.io or squoosh.app and upload the image to compress it for free. Then downlad the compressed / optimized version of the image. Use FFMpeg on Terminal / CLI 🔗 Open terminal in Mac OS or Any Linux distribution (Ubuntu, Elementary, ..) and use this command. ffmpeg -i input-image.jpeg -q:v 10 output-image.jpg -y make sure to replace input-image.jpeg with your image. And rename output-image.

Does a Zip File Reduce File Size?

In most cases packing or archiving with zip / arj / rar / 7zip / bzip / gzip reduces the space used by the file. Actual file size (after decompression) stays the same. But according to Pigeonhole principle there should be files when compressed you won’t get any space reduction. Photos represented in JPEG format and most video formats are also pretty well compressed to start with. However, making a zip (or other type of archiving) archive out of a number of files still has the virtue of giving you a single file to move your stuff.

Laravel Commands Cheatsheet

laravel new project-name 🔗 create a new folder named “project-name” in the current directory. Then create all necessary Laravel project files inside it. composer require vendor/package 🔗 update composer.json with the necessary details of the package you are choosing to install, then install the package in your project. composer update 🔗 update the installed packages. composer dump-autoload 🔗 updates your vendor/composer/autoload_classmap.php file. You have to run this command if you have a new class in your project that has not yet been loaded.

rsnapshot HOWTOs Docs

rsnapshot is a filesystem backup utility based on rsync . Using rsnapshot , it is possible to take snapshots of your filesystems at different points in time. Using hard links, rsnapshot creates the illusion of multiple full backups, while only taking up the space of one full backup plus differences. When coupled with ssh , it is possible to take snapshots of remote filesystems as well. rsnapshot is written in Perl , and depends on rsync .

IMG2TXT Android OCR App - Privacy Policy

We do not collect any identifiable data/information about you. Our third party collect some advertising data via Google AdSense (you can read their privacy policy here ). No SCAM 🔗 Everything on this app is simple and clear without any compromises to privacy or security or marketing. No SPAM 🔗 We do not spam your digital life with any requests or notifications or any other thing. No Personal Data Collection 🔗 We do not collect any personal data from you on this IMG2TXT : Android OCR App .

How to Free up Disk Space on Mac OS ?

We all panic when we see the message your startup disk is almost full, or your disk is almost full. save space by optimizing storage. So let me tell you how to free up a good space in your mac, starting from obvious ways reaching to advanced methods to gain more storage space. Empty the trash can 🔗 Empty the general trash manually. Then you can use this command to delete the trash of the current user.