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
41
results
Andrew Fletcher
•
I'm in an environment where the default branch is staging and I'm attempting to run a git merge. However, in actioning this command, I'm been greeted with the following response 'not something we can merge'
❯ git merge origin/{branch}
merge: origin/{branch} - not something we can mergeTo resolve this, first I attempted to do a git checkout to the branch
But this was swiftly meet with "did not match any file(s) known to git"
git checkout {branch}
error: pathspec '{branch}' did not match...
Andrew Fletcher
•
How to count the number of files in a directory. At some point you'll have...
Andrew Fletcher
•
I've recently upgraded the server Ubuntu 20.04 updating the PHP version from 7.4...
Andrew Fletcher
•
Recently I have been investigating one of my Linux server's speed using the...
Andrew Fletcher
•
I had generated a backup of key directories on the server - see Create a...
Andrew Fletcher
•
Android Studio error
Installation did not succeed.
The application could not be installed: INSTALL_FAILED_INSUFFICIENT_STORAGE
List of apks:
[0] '../android/app/build/intermediates/apk/debug/app-debug.apk'
The device needs more free storage to install the application (extra space is needed in addition to APK size).
Retry
Failed to launch an application on all devicesSteps to add more memory:
Open the AVD Manager
Click Edit Icon to edit the AVD
Click Show Advanced settings
Change the Internal...
Andrew Fletcher
•
Android Studio error
error: package android.support.v4.content does not...
Andrew Fletcher
•
Android Studio build errors
Build failed error: cannot find symbol if...
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
•
Currently, I have a situation where I have two repositories. The first is where I've held the code since the beginning. The second has come on board recently and is the client repo. However, rather than shut the original down, I want to keep both running with the same code. How do I synchronise them so that they contain the same thing?
Configure a remote that points to the upstream repository in Git to sync changes you make in a fork with the original repository....
Andrew Fletcher
•
Creating a bash script
Bash scripts are files containing code that tell your...
Andrew Fletcher
•
Accessing a remote server using PEM key, and I had the following...
Andrew Fletcher
•
How do you generate a .pem file from an existing .ppk key?
Is putty on your...
Andrew Fletcher
•
In Xcode attempting to build or run an app, I receiving a framework...