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
27
results
Andrew Fletcher
•
Setting up the admin password.
Process:
1. Edit jetty.xml
To begin you are going to edit the file “server/etc/jetty.xml”. However, if you aren't sure of the location of jetty.xml, run the command
find / -name jetty.xml -type fFor me, the output was
/opt/solr-8.11.1/server/etc/jetty.xmlEdit the file jetty.xml, by adding it before the Configure tag ends
<Callname="addBean">
<Arg>
<New class="org.eclipse.jetty.security.HashLoginService">
<Set...
Andrew Fletcher
•
In this article I'll walk through the steps I went through to install Solr on...
Andrew Fletcher
•
Looking to install Solr on your server? Not sure if it worth the...
Andrew Fletcher
•
Installing Varnish to increase the speed of the page load.
Install varnish using...
Andrew Fletcher
•
Having Drupal Solr Search APi running, I thought adding synonyms to the mix...
Andrew Fletcher
•
You can create a new date/time format by navigating to:
Admin -> Configuration -> Regional and Language -> Date and Time format and click on 'Add Format'.
Once you’ve created date format, you can control the way date is displayed on the node using preprocess function.
In {theme_name}.theme file, add the following lines
/**
* Implements hook_preprocess_node
*/
function THEME_NAME_preprocess_node(&$variables) {
// Getting the node creation time stamp from the node object.
$date...
Andrew Fletcher
•
Wanting to create a new repository on GitHub, add in a few of the available...
Andrew Fletcher
•
Working in Laravel, I needed to loop through an array and know whether the...
Andrew Fletcher
•
Setting up the mail configuration in October CMS is a quick progress....
Andrew Fletcher
•
To add ejabberd and run MYSQL to the server I needed to update the server...
Andrew Fletcher
•
The purple warning notification of annoyance recently came my way! I received the following warning:
Publishing changes from background threads is not allowed; make sure to publish values from the main thread (via operators like receive(on:)) on model updates.
What was happening?
The functionality of the code uses URLSession to get a user's name via API and the display is simple piece that initially message of Hello {user}.
The view code consists of:
MainView : View
Main...
Andrew Fletcher
•
I'm currently working on a project that requires login, register, forget...
Andrew Fletcher
•
iOS localization on the fly
If you have added languages to your app......
Andrew Fletcher
•
Common commands
Themes and plugins have similar command lines. So rather...
Andrew Fletcher
•
Updating Realm and RealmSwift from 5.5.x to 10.0.0 brought in the following...