programming

All About My Custom Hugo Theme KMT

My ToDo List for 2024 (daily updates)

waffarx cash back

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

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 .

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.

Where is my recorded video on mac os after sudden shutdown ?

The problem: I recorded a screencast of my desktop using the built-in screenshot / screencast tool on mac os x. But my laptop / desktop computer shutdown for whatever reason. Where is my screencast stored in mac os files ? If your mac version is Catalina or Big Sur, you’ll find your screencast in ~/Library/ScreenRecordings directory.

How to Disable Spotlight Indexing for External Storage Volumes?

Indexing files and folders (directories) of storage devices is good and bad at the same time. Spotlight always indexes your macintosh storage, so you can type any program to execute it or a file name to search for it. But indexing external storage volumes is consuming too much horsepower and time of your mac computer. To make your pendrive and external harddisk plug-and-play, we are going to disable spotlight indexing for external storage volumes on your mac machine.

To Reach Perfection, Tools Must Be Boring

If you need to reach perfect outcome, you must use boring tools. When trying to open a laptop, you use a screwdriver which is a tool made too many years ago without any major improvements or hipster things. That’s the way tools must be. So to reach perfect software, you need a great tool that is backward compatible, fast, futureproof and simple enough to let you focus on the job at hand.