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
63
results
Andrew Fletcher
•
The user parameters provides details about a specific user based on the following parameters:
User uid;
The output of this query will return user profile data only of the fields containing data. An example of the data returned includes, but is not limited to the following:
Name {name} - in the system this is their username;
Created {created}
Firstname {field_firstname}
Lastname {field_lastname}
Gender {field_gender}
Calling a query
To call a user query the details are...
Andrew Fletcher
•
phpcs issue in Visual Studio Code, I'm receiving this warning in VS...
Andrew Fletcher
•
Currently I'm working through an app that has been abandoned by the developers....
Andrew Fletcher
•
First off, this isn't the only method to achieve the outcome of emptying a...
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 step. I'm going to focus one of these steps.
From your web directory root, look for your .git directory. Then open the .git...
cd .gitNext using your shell prompt (iTerm2), view the contents of the config file
vim configPresently the config file looks like the following
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
...
Andrew Fletcher
•
Z shell (Zsh) is a Unix shell built on top of bash (the default shell for...
Andrew Fletcher
•
Setting up a new project in Docker and VS Code.
Using Terminal, go to your...
Andrew Fletcher
•
If you are receiving the following 403 errors:
"message": "The used...
Andrew Fletcher
•
Images
For some time, when looking for images online for your app or site I have...
Andrew Fletcher
•
Adding an image via RESTUI can be done in a snap... once you know how! I have spent a good amount of time (days) researching how come my scripts weren't running correctly.
POST:
authentication: basic,
formats: hal_json
URL:
Enable File from domain.com/admin/config/services/rest;
Download file_entity module and enable it; and
Set permission Add and upload new files under file entity.
How to setup your...
Andrew Fletcher
•
The magically descriptive error 401 Forbidden "message": "Access...
Andrew Fletcher
•
If you are like me you probably have searched for clues to and found little......
Andrew Fletcher
•
Registering a user via REST is an important process particularly when the...