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
117
results
Andrew Fletcher
•
First off, this isn't the only method to achieve the outcome of emptying a file.
Using a symbol : is a shell built-in command that is essence equivalent to the true command and it can be used as a no-op (no operation). It can be used as follows:
# : > filename.txtOR
# true > filename.txt
My initial file was as follows:
21548342 16 Mar 20:27 code.logPost using the command
: > filename.txtThe response was
0 16 Mar 20:27...
Andrew Fletcher
•
Changes in your .env file
Connecting your app to the new environment you need to...
Andrew Fletcher
•
Clear DNS Cache
The DNS (Domain Name Service) cache on your Mac helps browsers...
Andrew Fletcher
•
Changing git push from passphrase? There are several ways to tackle this...
Andrew Fletcher
•
We are going to work through two methods of creating the SOLR cores.
Variables...
Andrew Fletcher
•
Running Docker and attempting to install a web proxy environment where I'm attempting to create local web set up the consist of Drupal 9 with Composer + Docker-compose + Nginx + MariaDB + PHP8.1
However, when I run the command
docker-compose upThe terminal hangs at
Version: '10.6.5-MariaDB-1:10.6.5+maria~focal' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distributionSo my initial question is to check the port mariadb is running on? Is the port already in use?...
Andrew Fletcher
•
xdebug - failed to solve with frontend dockerfile.v0: failed to create LLB...
Andrew Fletcher
•
Create and push to Docker Hub
Creating your own custom image... you need to have...
Andrew Fletcher
•
Running composer on a server... when running the command composer update, screen...
Andrew Fletcher
•
Resetting Docker is basically following the start parameters. All...
Andrew Fletcher
•
You would have come across a URL string that appears as
https://example.com/project-search?search_api_fulltext=&f%5B0%5D=species%3AAtlantic%20SalmonAs you would already seen %20 many times, that is a space. Commonly seen in file names either documents or images.
However, what about the others. Off the top do you know what %3D is? Maybe, but I didn't. Below is a quick guide to percentage encoding...
Andrew Fletcher
•
It is really simple to switch users in Ubuntu or any other Linux distribution...
Andrew Fletcher
•
Z shell (Zsh) is a Unix shell built on top of bash (the default shell for...
Andrew Fletcher
•
Steps to get the Solr date range widget working.
Steps
Enable the Facets...
Andrew Fletcher
•
Following is a series of steps to install Tika and have it running for your Solr...