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
105
results
Andrew Fletcher
•
For what reason would you need to find the identity of the current user? You are the current user! However, if you are like me and run multiple user accounts for different domains, then having the ability to quickly check is important.
whoThe output from who gives you the name of the current user (denoted below as {username}), the terminal they are logged in at, the date and time when they logged in and the IP address:
{username} pts/0 2020-09-03 11:04 (ip...
Andrew Fletcher
•
I started out with a simple task... install Tailwindcss. What unfolded is...
Andrew Fletcher
•
Blocks are a great way to add pieces or chunks of content to your Drupal site....
Andrew Fletcher
•
iOS localization on the fly
If you have added languages to your app......
Andrew Fletcher
•
Recently I had an error with a domain smtp server not recognising port 587....
Andrew Fletcher
•
I had an issue where logging in from the app disconnected. The error that kept popping up was
[date time stamp] [warning] <0.1722.0>@ejabberd_c2s:process_terminated:304 (tls|<0.1722.0>) Failed to secure c2s connection: TLS failed: Failed to find a certificate matching the domain in SNI extension: error:1408A0E2:SSL routines:SSL3_GET_CLIENT_HELLO:clienthello tlsext
I had thought the issue was to do with a TLS error. I wanted to run TLS 1.2 only. To do so:
1....
Andrew Fletcher
•
Localization is the process of showing other languages in your app and is...
Andrew Fletcher
•
At times while developing in October CMS, you will perform a step that kills the...
Andrew Fletcher
•
Installing Laravel on an Apache server was going to be a no fuss process said no...
Andrew Fletcher
•
As a process I apply patches locally first, then using git upload the update(s)...
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
•
To copy the content of a directory /source to another existing directory...
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
•
Using shell access you the site you want to add the Spyc library. Then go...