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
47
results
Andrew Fletcher
•
If you have upgraded Ionic to 5 or 6 you will have experienced that the padding attribute is not working anymore.
<ion-content padding *ngIf="loaded" color="medium">Use of attributes was deprecated in Ionic v4. If you would have noticed in developers console, Ionic 4 was presenting warnings of using these attributes. So post Ionic 4, these attributes were transitioned to CSS classes.
Now use these 'classes' as follows
<ion-content class="ion-padding" *ngIf="loaded"...
Andrew Fletcher
•
How do you get the version of ionic framework?
ionic versionor
ionic -vThe...
Andrew Fletcher
•
I recently received an ionic app that hasn't been updated for quite some time....
Andrew Fletcher
•
I installed Lando 3.6.2 and Laravel 9. When I visit the web page, I...
Andrew Fletcher
•
Updating to PHP 8.1, I found this interesting code stop...
Deprecated function:...
Andrew Fletcher
•
Running Docker
Dangerous word... I'm assuming that Docker is installed. Don't know how to check? Using Terminal (I prefer iTerm2), run the following command
docker -D info
The set-up
Go to your project directory, and create a docker folder and a “docker-compose.yml” file:
mkdir/Users/{your_name}/Sites/{your_directory}
cd /Users/{your_name}/Sites/{your_directory}
mkdir docker
cd docker
vim docker-compose.ymlCopy following code and add it in to the docker-compse.yml...
Andrew Fletcher
•
You would have come across a URL string that appears...
Andrew Fletcher
•
A recent attempt to run an update composer (regular activity for many of...
Andrew Fletcher
•
I'm writing these steps primarily for myself as a reference. However, if...
Andrew Fletcher
•
A bug bear that I have had for a while with Drupal content is how come the...
Andrew Fletcher
•
I need to set the default php-version of a subscription to php7.3. The current server php version is PHP 7.1.33 (cli) (built: Oct 25 2019 11:33:58) ( NTS ).
Using a shell program (I used Terminal) from the home directory I ran:
export PATH=/opt/plesk/php/7.3/bin:$PATH;
centos 6 use
service httpd restartcentos 7 use
sudo systemctl restart httpd.serviceHowever, through shell when I ran php -v the version remained at 7.1.33.
Incase the restart wasn't enough I rebooted the server...
Andrew Fletcher
•
Attempting to load changes in a staging site and the bountiful error page...
Andrew Fletcher
•
(104)Connection reset by peer: mod_fcgid: error reading data from FastCGI...
Andrew Fletcher
•
This page shows a growing list of common commands for viewing and managing your...
Andrew Fletcher
•
Whilst updating nodejs and npm on a Centos 6 or 7 server running Apache, I...