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
131
results
Andrew Fletcher
•
Today while in Terminal, I ran a regular script pod update. However, this time I received the following error
[!] CDN: trunk URL couldn't be downloaded: https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/d/a/2/Alamofire/5.1.0/Alamofire.podspec.json Response: Timeout was reachedI read on GitHub that it could be a cache issue, so I ran:
sudo rm -rf ~/.cocoapods/repoNo change.
Instead of attempting a pod update, I changed the command to pod install. Worked a treat....
Andrew Fletcher
•
I'm going to take you on a journey about adding a gradient tint to a...
Andrew Fletcher
•
Creating a new SwiftUI project is a quick process. There are already...
Andrew Fletcher
•
How to apply a gradient tint over a background image?
Set the background...
Andrew Fletcher
•
For detailed notes regarding how to add custom fonts to your iOS app see...
Andrew Fletcher
•
To copy the content of a directory /source to another existing directory /destination can be achieved with the command cp -a
cp -a source/. destination/
Changing the variables accordingly:
source = challenge/vendor/
destination = stg/vendor/
cp -a challenge/vendor/. stg/vendor/
The -a option is an improved recursive option, that preserve all file attributes and also preserves symlinks;
The full point (.) at end of the source path (i.e. challenge/vendor/.) is a specific cp syntax...
Andrew Fletcher
•
First transfer the drupal-8.8.x.tar.gz file to your directory
Via your ssh...
Andrew Fletcher
•
To get your ip address in Terminal on OSX on WIFI
ipconfig getifaddr en0Whereas...
Andrew Fletcher
•
Working on formatting the date in Xcode, and you come across the situation where...
Andrew Fletcher
•
Adding a floating decimal point for n number of places is quite easy to achieve....
Andrew Fletcher
•
The starting point is to read through and follow the notes outlined on the ejabberd site regarding adding database schema. The purpose of this documentation is to clarify where the files were located for me.
The schema files can be found in ejabberd priv directory. To find the priv directory, use the find command
find / -name priv -type dInitially, the directory I found based on the...