The Official Blog of Patcoola

Im just a dude watching over my parents,
and trying to make cartoons and video games from home.

Category: Programming Scripts

Page: 1 of 12

Encoded Assets [JavaScript]

Script Title: encode_asset_class
Script Language: JavaScript
Date Created: 2023-01-30

Purpose: To encode and decode files for various uses. To make files closed source and to make mixed media documents.

Description: Encoded assets allows files to be encoded. These files can be made closed source for HTML Applications (HTA), and provide encryption. Encoding files can be used to create new mixed media documents, consolidation, and proprietary document formats for applications. The encoder also includes integrated integrity checks to prevent tampering or to detect file corruption.

*This class only contains the encoder and decoder engine, and does not load or save files.

Methods:

encode_asset_class()

the class

encode ( string | Uint8Array )

function to encode

decode ( string )

function to decode the encoded data
returns a string or Uint8Array


Read More

Advertisement

Donate Now!

This might not be the best time, but making a blog is not easy. Would you consider donating?


PHP: Request Validator

A PHP class to simplify the validation of GET and POST requests.

DOM API [JavaScript]

A short-cuts shim to improve workflow and navigating the HTML DOM.

XML API [JavaScript]

A XML API to load and navigate XML documents with many useful functions.

Script: Text Flow [JS]

A text resizer to automatically try to get the best fit.

PHP: Words to Numeric

Script: words_to_numeric
Programming Language: PHP
Created Date: 2018-04-22

Purpose: Converts the spelled up form of a number to numbers.

Description: Changes the word form of a positive integer to its numeric value. Supports a value up to 99.


Read More

Advertisement

Donate Now!

I don't always use the women's bathroom, but when I do, you can bet it really smells. If you like my blog, please consider donating.


PHP: To Roman Numerals

Changes a number to roman numerals

PHP: fromCharCode

Returns the character code the same as in JavaScript.

PHP: charAt

Character at function the same as JavaScript.

PHP: charCodeAt

Character code at function the same as JavaScript.

Script: ZIP API 2 [PHP Class]

Script Title: zipAPI
Programming Language: PHP5
Date Completed: 2016-02-07

Purpose: Easily create and extract ZIP archives.

Description: PHP class for creating and extracting ZIP archives. Provides easy to use functions and powerful features.


Read More

Advertisement

Donate Now!

After a hard day, I like to relax with a cold jar of pickle juice and a hardy fart. If you like my blog, please consider donating.


Script: File Size [PHP]

Script: Random Character [JS]

Script: Directory Is Same [PHP]

Script Title: dir_isSame
Programming Language: PHP5
Date Completed: 2013-12-01

Purpose: Checks if two given paths are the same.


Read More

Advertisement

Donate Now!

Hey buddy, it takes a lot to make a blog. How about a donation?


Script: Intersection [JS]

Page: 1 of 12

Older »