developer resources
Codebales holds an ever growing number of solutions to problems that we have experienced in our day to day code writing
479
results
Andrew Fletcher
•
The error
> Task :app:packageDebug FAILED
Execution failed for task ':app:packageDebug'.
> A failure occurred while executing com.android.build.gradle.tasks.PackageAndroidArtifact$IncrementalSplitterRunnable
> com.android.ide.common.signing.KeytoolException: Failed to read key upload from store "/Users/{name}/Apps/Android-keys/{project}/private_key.pepk": DerInputStream.getLength(): lengthTag=107, too big.
* Try:
> Run with --info or --debug option to get more log output.
> Run...
Andrew Fletcher
•
While the default version on Ubuntu 20.04 for Python is 3.8, I've added Python...
Andrew Fletcher
•
A summary of Node package commands
Short cut commands
npm install...
Andrew Fletcher
•
Changes to the Python3 package list post installing packages each of the...
Andrew Fletcher
•
Python3 error
None of PyTorch, TensorFlow >= 2.0, or Flax have been...
Andrew Fletcher
•
When running python openai command, I was greeted with
/usr/lib/python3/dist-packages/requests/__init__.py:89: RequestsDependencyWarning: urllib3 (1.25.8) or chardet (5.2.0) doesn't match a supported version!This is because of different requests module installed by the OS and the python dependencies for your local installation.
Package Version
----------------------- --------------------
chardet 5.2.0
urllib3 1.25.8Usually this issue can be solved...
Andrew Fletcher
•
Set up your server
Begin by cleaning up your server environment. Do...
Andrew Fletcher
•
Python3
Error
ImportError: cannot import name 'soft_unicode' from 'markupsafe'...
Andrew Fletcher
•
Logging into the server, and there are packages to be updated. You know...
Andrew Fletcher
•
Update Ubuntu 20.04
To begin update the server using the command
sudo apt update...
Andrew Fletcher
•
Install the CKAN package
Begin by cleaning up your server environment. Do this by updating Ubuntu’s package index:
sudo apt updateNow you can install the packages that CKAN requires (including ‘git’, which will allow you to install CKAN extensions):
sudo apt install -y libpq5 redis-server nginx supervisorResponse
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
fontconfig-config...
Andrew Fletcher
•
If you're planning to create extensions, generating CKAN from source is the...
Andrew Fletcher
•
git clone git@bitbucket.org:{username}/{repo}.git
And I was unceremoniously...
Andrew Fletcher
•
Recently a client handed me code that runs an app through iOS and Android....
Andrew Fletcher
•
Resources - changing Drush
Type
Version
Drush (current)
11.6.0
Drush...