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
•
Initialise your Capacitor config
To initialise Capacitor use the CLI questionnaire:
npx cap initOn executing the above command, you will be prompted to answer a few questions for your app such as your app's name and the package ID.
[?] What is the name of your app?
This should be a human-friendly app name, like what you'd see in the App
Store.
✔ Name … {App name}
[?] What should be the Package ID for your app?
Package IDs (aka Bundle ID in iOS and Application ID in Android) are...
Andrew Fletcher
•
Run the NPX commands to update the app
npm run build && npx cap syncRun...
Andrew Fletcher
•
Approaches to resolving “Module not specified” Error in Android Studio
When...
Andrew Fletcher
•
Working in Android Studio when attempting to run a project I had the following...
Andrew Fletcher
•
Working through a CKAN installation on Ubuntu 20.04
User sees a server 500...
Andrew Fletcher
•
Before you can run CKAN for the first time, you need to run db init to initialise your database:
ckan -c /etc/ckan/default/ckan.ini db initIf this fails due to a permission issue, then the user and group assigned are incorrect. Or if you are a root user, you can use sudo
sudo ckan -c /etc/ckan/default/ckan.ini db initIf you forget this step you'll see a 500 server error:
503 Service Unavailable: This site is currently offline. The database is not initialised.
Cleaning your...
Andrew Fletcher
•
Creating a message log using Drupal watchdog.
Simple log
// Logs a...
Andrew Fletcher
•
How to apply a gradient tint over a background image?
Set the background...
Andrew Fletcher
•
Working on formatting the date in Xcode, and you come across the situation where...
Andrew Fletcher
•
Adding a floating decimal point for n number of places is quite easy to achieve....
Andrew Fletcher
•
During the process of building the app, there are warnings about the code. It's good practice to remove all warnings before you submit your apps to the App Store so there's a few steps you can follow to silence these warnings:
Navigate the the Project Settings page below;
Select the drop down menu next to Devices;
Change from Universal to iPhone; then
Run your app again and the warnings should disappear.
Andrew Fletcher
•
https://github.com/kylebrowning/waterwheel.swift
After a short amount searching...
Andrew Fletcher
•
If you have this error, the core issue is the dyld issue.
dyld
dyld is a...