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
6
results
Andrew Fletcher
•
Find by file name
To perform a find command in terminal use
find / -name php.ini -type f
find / -name {filename} {type parameters}Note there are many parameters in the commands, so I'll cover a couple regular expressions here. Such as,
-name
matches the string being searched and is case sensitive
-iname
matches the string being searched and is case insensitive
-type f
means to find a file with the name being searched. In this instance php.ini
-type d
find a...
Andrew Fletcher
•
You can create a new date/time format by navigating to:
Admin ->...
Andrew Fletcher
•
Images
For some time, when looking for images online for your app or site I have...
Andrew Fletcher
•
I had an issue where logging in from the app disconnected. The error that...
Andrew Fletcher
•
Adding an image via RESTUI can be done in a snap... once you know how! I...
Andrew Fletcher
•
While I have posted an article about how to POST an image using REST in Drupal 8... the journey there can be slow. Crawling through the errors to eventually spot the missing link. For me the how to is as important as the solution.
On the journey I did receive the following 404 Not Found error:
GuzzleHttp\Exception\ClientException: Client error: `GET https://yourdomain.com/sites/default/files/pictures/imagename01.jpg` resulted in a `404 Not Found` response: <!DOCTYPE...