Build a ColdFusion component library with various functions for calculations, encryption, email, image processing, currency conversion, API integration, and more. #1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Coldfusion Component Library
A coldfusion component library that includes the following functions. Add additional sub-functions to increase the depth of each .cfc file.
calculateAverage: Accepts an array of numbers and returns the average.
generateRandomString: Generates a random string of a specified length.
encryptData: Accepts a string and encrypts it using a specified algorithm.
decryptData: Accepts an encrypted string and decrypts it using a specified algorithm.
sendEmail: Sends an email to a specified recipient with a subject and message.
generateThumbnail: Accepts an image file and generates a thumbnail of a specified size.
validateCreditCard: Validates whether a credit card number is valid or not.
convertCurrency: Converts an amount from one currency to another using the latest exchange rates.
calculateDistance: Calculates the distance between two coordinates on the Earth's surface.
parseXML: Parses an XML string and returns the data as a ColdFusion object.
generateQRCode: Generates a QR code image for a given string or URL.
generatePDF: Generates a PDF document from a given HTML template or content.
retrieveDataFromAPI: Retrieves data from an external API and returns it in a consumable format.
generateHash: Generates a hash value for a given string using a specified algorithm.
formatPhoneNumber: Formats a phone number into a standardized format.
generateUniqueID: Generates a unique identifier using a combination of timestamp and random values.
calculateAge: Calculates the age based on a given date of birth.
searchArray: Searches for a specified value in an array and returns its index if found.
validatePasswordStrength: Validates the strength of a password based on specified criteria.
generateSlug: Converts a given string into a URL-friendly slug by removing special characters and spaces.
Trigger the agent again by adding instructions in a new PR comment or by editing existing instructions.
Powered by e2b