Published onMarch 13, 2024Python Tempfile For LiteLLM and Vertex AIPythonGCPVertex-AITempfileGcloudAuthUse Python's tempfile for saving Google Cloud credentials locally when you call Vertex AI endpoints with LiteLLM
Published onMarch 12, 2024GCP Authentication With Custom CredentialsPythonGCPVertex-AIAuthenticationGcloudAuthDo you store your application credentials for GCP service accounts on disk? Stop - there's a better way!
Published onJanuary 24, 2024Simple regex inputs using ChatGPT for MomPythonJavaJavaScriptRegexDeveloperDo your users keep inputing characters in your input fields that cause failures? Do your developers fail to understand the basic domain requirements of these input fields? Learn how to ask ChatGPT for help!
Published onOctober 3, 2023Indexing and Slicing Arrays in JavaScript and other languagesJavaScriptSoftware-developmentBeginnerBugsProgramming-LanguagesPythonC++GoDig into a simple outline of array indexing and slicing in JavaScript, Python and C++.
Published onAugust 3, 2023A Simple Bug Hunting FormulaPythonSoftware-developmentPytestTestingBugsDo you hunt for bugs? If not, your software doesn't work. For those of you with working software, here's a formula for bug hunting successfully.
Published onJanuary 25, 2023Merging Dictionaries In PythonPythonDictDictionariesDictionaryDeveloperIn this article learn a quick and simple strategy to merge dictionaries with Nonetype values for similar keys.
Published onJune 15, 2022Automagically Increment Objects in PythonPythonStandard-LibraryOOPCollectionsDeveloperDo you loop through dictionaries to increment values? Of course you do! There's a better way...
Published onMay 27, 2022Making Python Classes JSON SerializablePythonJSONOOPIteratorsDunder-MethodsDo you send data from Python to a web service? I bet you did not know your classes could be JSON serializable. Herein I'll show you how.