Skip to main content
38
results
Andrew Fletcher
On a server directory with over 100,000 PDF files, I needed to verify the existence of specific documents. Whether there are a few hundred or whatever the number of files, this article explores the practical use of command-line tools to quickly ascertain whether a file is present. In the area of server management or application development, especially on systems like Ubuntu equipped with Nginx, it's crucial to perform routine checks to ensure that all necessary files are in place. Whether it's...
Andrew Fletcher
Managing large directories, especially those filled with a diverse mix of media...
Andrew Fletcher
Recently I came across this piece of gold when dealing with databases,...
Andrew Fletcher
In the realm of system administration and monitoring, understanding memory usage...
Andrew Fletcher
The red flag was when I saw the server disk space is showing a site is taking up...
Andrew Fletcher
To determine the size of a directory using the terminal, you can use the du (disk usage) command. The syntax for this command can vary slightly depending on the operating system you are using, but a common way to use it is as follows:   For Linux and macOS du -sh /path/to/directory du Disk usage -s Summarise the total size of the directory and do not include the size of each individual file within the directory -h Human-readable format, making the size easier to understand (e.g.,...
Andrew Fletcher
The viewport meta tag in a website's HTML is used to control how the webpage is...
Andrew Fletcher
How to generate a new private key and submit it to Google Play for signing your...
Andrew Fletcher
The error > Task :app:packageDebug FAILED Execution failed for task...
Andrew Fletcher
A summary of Node package commands Short cut commands npm install...
Andrew Fletcher
Each time a release is prepared for Google Play, the steps I work through are as follows.   Preparation to run a build Check the Gradle build settings Directed to the build.gradle file using the following file path ~/android/app/The area of code in the build-gradle file to focus: android { signingConfigs { debug { storeFile file('{file-path}/private_key.pepk') storePassword '{password}' keyAlias '{alias}' keyPassword '{password}' ...
Andrew Fletcher
Something I haven't had to do in a while is to change the name of a Git branch...
Andrew Fletcher
Post a NetSkope update, composer would fail when running any command that...
Andrew Fletcher
Attempting to run a preview, and I'm seeing the following error in Android...
Andrew Fletcher
I need to generate a patch and then apply automatically to my Drupal...