Tom Snyder Welcome to Code-Gorilla! I write online content on whatever technologies I happen to be working with at the time. My current focus is on mobile and web development but you could find a little bit of everything here.
Enjoy the content and Happy Coding!
React JS Cheat Sheet
Sunday, September 25, 2022
 
Common React JS Information

Install create-react-app

The standard way to create react applications is with the create-react-app npm package:
npm install -g create-react-app

Creating the application

Once you have the ...

Install OpenJDK on Mac aarch64
Wednesday, September 21, 2022
 
Finding the right JDK for your Apple M1 ARM CPU

If you have a newer mac with Apple hardware, then you'll want to install your JDK for the aarch64 (ARM architecture). I didn't easily find a compatible version so I'm posting here. You can always go to Oracle to get their version. In this ...

Xcode Cheat Sheet
Tuesday, August 23, 2022
 
Common Xcode issues

Build Error on Xcode 13

The app's Info.plist must contain an NSCameraUsageDescription key with a string value explaining to the user how the app uses this data.

Solution

Project | Info | Custom iOS Target ...

Mongoose Cheat Sheet
Friday, August 12, 2022
 
Common Mongoose Basics

Backup/Restore using JSON

 

Export to JSON

mongoexport --collection=krakens --db=code-gorilla --out=20220812-krakens.json --pretty
 

Import from JSON

mongoimport --collection=krakens --db=code-gorilla --file=20220812-krakens.json --type=json


ASP.NET Core Windows Service
Tuesday, February 1, 2022
 
Creating C# Windows Service in Visual Studio 2019
In this article, we will be using ASP.NET Core to build a Windows Service that you can control within the Services of Windows using Visual Studio 2019.
 
In Visual Studio 2019, create a new project as "Worker Service"

Kafka Windows Development Environment
Monday, January 31, 2022
 
Installing Kafka Broker Locally on Windows Dev Box
Download Kafka
https://kafka.apache.org/downloads  



Uncompress/Unzip the tgz file and place the results into your desired location.

For this demonstration I am using this location: C:\DevBox\kafka\kafka_2.13-3.1.0 adapt the following instructions to match your location.

iOS Cheat Sheet
Wednesday, January 19, 2022
 
Common iOS operations

Show Hidden Files in Finder

CMD+SHIFT+.
 

iOS System Icons

How do I know what images are available using systemName?
Image(systemName: "map")
 
View the Symbols:
Git Cheat Sheet
Saturday, January 15, 2022
 
Common Git operations
I flip-flop between multiple development languages in multiple environments, so cheat sheets help.
 

Pulling a repository locally for the first time

To get the code from an existing git repository downloaded to your local machine ...

Android Get Version from Gradle
Monday, June 21, 2021
 
Android Get Version from Gradle
How to get the version number specified in the gradle file.
 
Build.gradle :app
 
android {
// Specify APK filename
archivesBaseName = "CodeGorilla"
 
// Set the Version Name
...

Android JetPack Navigation and View Binding
Tuesday, December 22, 2020
 
Android JetPack Navigation and View Binding - No Binding Classes in java (generated)

There are plenty of articles out there that show just this, but there is one main point that I couldn't find anywhere when I was trying to get View Binding to work, and that is that it didn't look like the binding classes were being created. This ...