Simple Swift Fuzzer
Sometimes we want to test a function to see how… robust it is. This is a small example fuzzing function to input randomly generated characters that get passed to another function. It just uses...
View ArticleGoogle Cloud Function To Convert Property Lists To JSON Documents
I’ve written a lot of little scripts to convert files or types from one format to another, over the years. It’s easier to import something that can do the work for you and just use a Lambda or a...
View ArticleOne Simple History Of 3D Printing
.fb-background-color { background: #ffffff !important; } .fb_iframe_widget_fluid_desktop iframe { width: 100% !important; } The post One Simple History Of 3D Printing appeared first on krypted.
View ArticleGoogle Cloud Function To Check Status Of A Port
Sometimes you just need a little microservice to check that a port is up before you try and send some data to it. This does just that…...
View ArticlePre-Processing Linter Google Cloud Functions for plist, json, && yaml
I recently posted some converters to handle different types of data transmogrification. When handling document structures, we should lint them pre- and post-processing, so here are some Google Cloud...
View ArticleGoogle Cloud Function To Add JSON To A Google Sheet
Here’s a Google Cloud Function that uses the Google Sheets API to add arbitrary json to a Google Sheet: https://github.com/krypted/tinyconverters/blob/main/json_to_GoogleSheet.py To use the function,...
View ArticleGoogle Cloud Function To Create A Google Doc
Here’s a Google Cloud Function that creates a Google Doc based on a title and body from a json document: https://github.com/krypted/tinyconverters/blob/main/json_to_new_google_doc.py To use it, you’ll...
View ArticleGoogle Cloud Function To Add JSON To A Cloud SQL Database
Here’s a Google Cloud Function that takes some arbitrary json (in json_data) and posts it to a new record in a Cloud SQL database. No error handling or deduplication/matching, just a straight post:...
View ArticleGoogle Cloud Function To Validate Email Addresses
The following is a simple Google Cloud Function that will validate that text entered into a field (passed to the function in the request body when called) is a valid format of an email address. The...
View ArticleBluetooth: From Viking Kings To Personal Area Networks
.fb-background-color { background: #ffffff !important; } .fb_iframe_widget_fluid_desktop iframe { width: 100% !important; } The post Bluetooth: From Viking Kings To Personal Area Networks appeared...
View ArticleLambda Function To Calculate A Checksum
Here’s a Lambda function to calculate a checksum. The JSON document will be passed in the body field and the script loads the JSON document using json.loads(). The MD5 checksum of the JSON document is...
View ArticleLambda Function To Calc The Fields In A JSON Document
Below is a Lambda function to return the number of fields in a JSON document. This Lambda function expects the JSON document in a body field of the event. It loads the JSON document using the standard...
View ArticleNew Book, The Startup Players Handbook, Now Available For Download
The physical editions aren’t shipping just yet, but the book I wrote last year with Chip Pearson and Amy Larson Pearson is now available for download through Kindle and the Apple Books app! Writing...
View ArticleGoogle Cloud Function to convert YAML to a plist
TLDR: The GCF at https://github.com/krypted/tinyconverters/blob/main/GCF_YAML_to_PLIST.py will convert basic YAML to PLISTs. Here’s a Google Cloud Function that converts YAML to a property list. The...
View ArticleGoogle Cloud Function to convert YAML to JSON
TLDR: Just posted this little Google Cloud Function to https://github.com/krypted/tinyconverters/blob/main/YAML_to_JSON.py. This Google Cloud Function converts YAML to JSON. The function takes YAML as...
View ArticleSimple sqlite3 Fuzzer
One of my favorite ways to find escape defects in code is to employ a generic fuzzer. I typically have 5-10 laptops running fuzzers for various projects at a time. I was recently doing some research...
View ArticleScripts To Show Browser Extensions In Windows
Posted scripts to return browser extensions installed in Firefox, Google Chrome, and Windows Edge at https://github.com/krypted/extensionsmanager/tree/main/Windows%20Extensions. There’s a python and a...
View ArticleGoogle Cloud Function to convert JSON to a plist
The following is a Google Cloud Function that converts JSON to a property list. It uses the json and plistlib modules to return the property list data. Deploy the function as a Python 3.7 runtime with...
View ArticleDetecting AI-Generated (LLM) Content In Articles
We hear more and more about the pros and cons of AI. There is a movement to regulate the use, movies about dangers of sentient robots, and those who think AI will free humanity from any boring work,...
View ArticleDetecting LLM-Generated Code
Large language models (LLMs) are a type of artificial intelligence that generates text, translates languages, writes different kinds of creative content, creates net-new artistic works, and answers...
View Article