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
26
results
Andrew Fletcher
•
While loading an ionic project, in Xcode when performing a run routine I had the following response
⚡️ Loading app at capacitor://localhost...
2022-04-17 15:54:01.318573+1000 App[74515:7355495] [Process] 0x7f8758828820 - [pageProxyID=5, webPageID=6, PID=74520] WebPageProxy::didFailProvisionalLoadForFrame: frameID=3, domain=NSCocoaErrorDomain, code=260
⚡️ WebView failed provisional navigation
⚡️ Error: The file “index.html” couldn’t be opened because there is no such file.The Xcode build...
Andrew Fletcher
•
Need to know how run updates for Capacitor?
Updating Capacitor
Update Capacitor...
Andrew Fletcher
•
As a web developer, you will most likely need to run local copies of a bunch of...
Andrew Fletcher
•
Running Docker
Dangerous word... I'm assuming that Docker is installed....
Andrew Fletcher
•
Running Docker and attempting to install a web proxy environment where I'm...
Andrew Fletcher
•
xdebug - failed to solve with frontend dockerfile.v0: failed to create LLB definition: dockerfile parse error line 45: unknown instruction: ZEND_EXTENSION=XDEBUG.SO
How I got here
Running the following Docker command
docker-compose upGenerated this output:
Building php
[+] Building 0.1s (2/2) FINISHED
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring...
Andrew Fletcher
•
Create and push to Docker Hub
Creating your own custom image... you need to have...
Andrew Fletcher
•
Resetting Docker is basically following the start parameters. All...
Andrew Fletcher
•
Setting up a new project in Docker and VS Code.
Using Terminal, go to your...
Andrew Fletcher
•
Running Docker in a new process and creating a container.
Go to the...
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()
...