developer resources
Codebales holds an ever growing number of solutions to problems that we have experienced in our day to day code writing
Selected filter
28
results
Andrew Fletcher
•
Working on a project where the JSON dataset contains over 460,000 named records, we are preparing to upsert these records into Pinecone. However, for validation and testing purposes, it's essential to cross-check how many times a specific term appears across the dataset. To ensure data integrity, we only want to include one record per occurrence, regardless of whether the term appears once or multiple times within a record. This is where regular expressions, commonly known as regex, come into...
Andrew Fletcher
•
If you're working with a large codebase in Visual Studio Code (VS Code) and need...
Andrew Fletcher
•
When working with code in Visual Studio Code, you may need to search for...
Andrew Fletcher
•
Visual Studio Code (VS Code) allows you to manage extensions using the VS Code...
Andrew Fletcher
•
Recently a client handed me code that runs an app through iOS and Android....
Andrew Fletcher
•
Goal: Restrict content access through username and password entry on an Nginx server.
1: Apache Utilities Package
First, update your server’s package index:
sudo apt updateCheck if the utilities package exists in your environment by executing the command
dpkg --get-selections | grep apacheResponse:
apache2-utils install
libapache-pom-java installSo it exists. But what do you do if it doesn't exist?
How come I need to install apache-utils? To restrict access you will be using...
Andrew Fletcher
•
Only a month ago, running an app through the Android Studio emulator was running...
Andrew Fletcher
•
Warning from Google Play Store when uploading an App
You must complete the...
Andrew Fletcher
•
Uploading a new version of an Android app to Google Play and I'm seeing this...
Andrew Fletcher
•
Whilst uploading a new version of our Android app, I had the following error...
Andrew Fletcher
•
If you have a situation where either you have forgotten a Keystore password or change of developers and the password wasn't sent across.... what to do? However, your app lives on and needs to be updated!
Possible solutions
grade.properties
This is a great starting point. Have a look in your android/gradle.properties file. Unfortunately, the android/ directory didn't exist and I had to run the command prompt to generate. So no password!
signingConfigs {
release...
Andrew Fletcher
•
Initialise your Capacitor config
To initialise Capacitor use the CLI...
Andrew Fletcher
•
Run the NPX commands to update the app
npm run build && npx cap syncRun...
Andrew Fletcher
•
Goal: Restrict content access through username and password entry.
1: Apache...
Andrew Fletcher
•
Approaches to resolving “Module not specified” Error in Android Studio
When...