Linux System Hardening Best Practices for a Secure Environment
Linux systems are widely used for their stability, flexibility, and security. However, no system is inherently secure without proper configurations and maintenance. Hardening a Linux system minimizes vulnerabilities and strengthens its security posture. This post outlines key steps to harden
CSV file upload in Moodle/Totara
Step 1: Firstly, create a form using forms API. Create a class that will extend the “moodleform” class defined in “../lib/formslib.php”. Then override the definition() function of this class to include your form elements. Step 2: To browse the CSV
Creating custom object in Salesforce
Log in to your Salesforce account. Click Setup at the upper-right corner. Under the Build section in Salesforce, click Create and select Objects or you can search objects on the search bar To create a custom object, click New Custom
AWS Step Functions
What are AWS Step Functions? Step Functions is a serverless orchestration service that lets you combine AWS Lambda functions and other AWS services to build business-critical applications. Through Step Functions’ graphical console, you see your application’s workflow as a series
Download S3 bucket file from Salesforce
When we are working with Salesforce and s3, sometimes we need to download a file from the s3 bucket without using an HTTP request. We can achieve this by generating URLs from apex code. This is a signed URL to
How to upload a file on AWS S3 from Cakephp 3.9
First, we need to install aws-sdk for PHP in the CakePHP project. To install it we can run the below command: composer require aws/aws-sdk-php Code to upload a file: Template Code: <?= $this->Form->create($product, [‘enctype’ => ‘multipart/form-data’]) ?> <fieldset> <legend></legend> <?php
Introduction to Salesforce Sites
Salesforce Sites enables you to form public websites and applications that are directly integrated into your Salesforce organization—without requiring users to log in with a username and password. You can publicly expose any information stored in your organization through a
ML.NET 1.4 (Machine Learning Framework) Overview
ML.NET is a cross-platform and open-source machine learning framework that consists of CLI (Command-Line Interface) and Model Builder (which is a simple UI tool ) to make it easy to build custom ML models using Automated Machine Learning (AutoML). Using
Salesforce | Iterate list in LWC
In LWC, we have two ways to display the list of records in our web component for:each: for:item=”currentItem”: This is used to access the current item. for:index=”index”: used for accessing the current item’s index. key={uniqueId}: used to assign a unique
Rename package name in React-native
In react-native, To create a new application we use the following command: react-native init MyApp This command will create a package name with com.myapp. Sometimes, if your application is created with the wrong package name or bundle id or you
