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
41
results
Andrew Fletcher
•
Running a common composer command, post an upgrade on the server to Centos 7 and I received the following error:
/usr/local/bin/composer: line 8: 6210 KilledThe "Killed" message usually means that your process consumed too much memory, so you may simply need to add more memory to your system if possible. You can increase the memory, however, note that you shouldn't be doing this action on a production server, and additionally you shouldn't be using composer update at all....
Andrew Fletcher
•
To connect to your CPanel hosted server via SSH OSX, please follow...
Andrew Fletcher
•
Adding an image via RESTUI can be done in a snap... once you know how! I...
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
•
Building a contact list using SwiftUI has many challenges.
One challenge is having multiple lists displayed on the one screen. For example, known contacts using your app against contacts on the phone. Initially, I tried the following code
SearchBarView(text: $searchText, placeholder: "Type here")
List {
Section(header: ContactListHeader(listTitle: "rivals list")) {
ForEach(self.userData.rivals.filter{
self.searchText.isEmpty ? true :
$0.name.lowercased()
...
Andrew Fletcher
•
Registering a user via REST is an important process particularly when the...
Andrew Fletcher
•
While I have posted an article about how to POST an image using REST in Drupal...
Andrew Fletcher
•
You have been working hard on getting comments being added (POST) through REST...
Andrew Fletcher
•
For others that have spent countless hours getting this to work and are struggling... in particular assigning the correct user to the comment - this is how I achieved the correct outcome.
The outline below is for usage via Postman and DHC (Restlec Client)... once working here then testing done and ready to apply to your app or however you are using this.
Set up
Set accept to hal+json
sample:
POST request
url: http://example.com/entity/comment?_format=hal_json
Authorization Type: Basic {then...