How is Spring Boot HazelcastHealthIndicator configured and accessed via http?

I am trying to check the health of a Hazelcast member using Spring & # 39; s HazelcastHealthIndicator and actuator, any ideas how to achieve this?

Thank you!

How can I use perspective controls in a game configured with multiple fixed cameras in unity 3D?

In my first 3D game project, I decided to configure my game to be somewhat more like the classic Resident Evil. This meant that the character used tank controls and there were fixed camera angles. A couple of months later, I noticed that the tank controls didn't fit well with an adventure game, and I wanted to switch to perspective controls, similar to Resident Evil Remake or Super Mario 64. However, now the problem was that every time the camera changed, instructions did not. For example, while you might hold right to go right at an angle, at a different angle you would have to press left to go right, and sometimes you would have to press left to go up. I tried to fix this by making my camera's triggers have the "Invert Y and X" option, but it didn't work:

void OnTriggerEnter(Collider other)
    var ControlX = GameObject.Find("Soldier").GetComponent().horizontal;
    var ControlY = GameObject.Find("Soldier").GetComponent().vertical;
    if (other.tag == "Player"){
        if(InvertControlX == true){ControlX = ControlY * -1;}
        if(InvertControlY == true){ControlY = ControlX * -1;}

Here is the script for perspective controls that I wrote:

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class PerspectiveControls : MonoBehaviour
    private Animator animator;
    private CharacterController charactercontroller;
    public float moveSpeed = 35f;
    public float AnimSpeedCap = 0.5f;
    private float AnimSpeed;
    private float turnSpeed = 5f;
    public float horizontal, vertical;

    private void Awake()
        charactercontroller = GetComponent();
        animator = GetComponent();
    // Update is called once per frame
    void Update()
        horizontal = Input.GetAxis("Horizontal");
        vertical = Input.GetAxis("Vertical");

        var movement = new Vector3(horizontal,0,vertical);
        var runningState = gameObject.GetComponent();

        charactercontroller.SimpleMove(movement * Time.deltaTime * moveSpeed);

        AnimSpeed = movement.magnitude;
        if (AnimSpeed > AnimSpeedCap && runningState.isRunning == false){AnimSpeed = AnimSpeedCap;}
        animator.SetFloat("Speed", AnimSpeed);

        if (movement.magnitude > 0)
            Quaternion newDirection = Quaternion.LookRotation(movement);
            transform.rotation = Quaternion.Slerp(transform.rotation, newDirection, Time.deltaTime * turnSpeed);

Have conky configured to update every midnight

I'm interested in Conky updating every midnight instead of
set_interval 1.

Of course, at startup it will show the updated image as needed, but I want the update interval to be at 12 a.m.

There's a conky way to do this?

Some questions about a VPS configured hosting

Hi there,

I am currently hosting 9 websites (all WordPress, nothing too important) on 3 different hosting providers.
In the past, I only had a shared hosting account on which I added additional domains for all clients, but at one point one got malicious code and infected everyone else, so I switched to reseller hosting since I understood. "" Isolates them from each other. "It's getting a bit of a headache, so I've been reading a lot about VPS, got one from UpCloud, installed cPanel on it (still in testing), configured name servers, etc.

TL; DR: First VPS user, who configures hosting for multiple clients with cPanel.

Given my rookie knowledge, I have a few questions:

1. A cPanel license is suitable for a user account: how should I configure it to be "isolated" like the one I currently have with the reseller package? I mean, should I get a cPanel license for more than 1 user or is there a better way to do it?
2. Imunify360: is it necessary / worth it?
3. Beyond the 7-day backup functionality provided by UpCloud, are there any services you recommend that I use? (in my current accommodation they use Jetbackup)
4. Before installing cPanel, I played with VestaCP and saw that Softaculous comes pre-installed with it, but when I search for cPanel I see that it really requires a license: how then does Vesta (which is free) provide Softaculous?
5. Any other plugin / configuration that is considered essential?


htaccess: you configured HTTP (80) on the standard HTTPS port (443)!

I currently have a website that runs under https and it works fine and I tried to do something in my .htaccess file so that when I try it will redirect to https: //www.example .com however I have I have tried some of the following items and my redirect is not working: – .htaccess has been enabled with AllowOverride and has been read. – file name no problem. – the location of the rules has been moved to the beginning of the files but it doesn't work – The syntax was tested with the tool available online and was debugged without problems. Below is my .htaccess file for reference:

# @package    Joomla
# @copyright  Copyright (C) 2005 - 2018 Open Source Matters. All rights reserved.
# @license    GNU General Public License version 2 or later; see LICENSE.txt

# The line 'Options +FollowSymLinks' may cause problems with some server configurations.
# It is required for the use of mod_rewrite, but it may have already been set by your 
# server administrator in a way that disallows changing it in this .htaccess file.
# If using it causes your site to produce an error, comment it out (add # to the 
# beginning of the line), reload your site in your browser and test your sef urls. If 
# they work, then it has been set by your server administrator and you do not need to 
# set it here.

## No directory listings

  IndexIgnore *

## Suppress mime type detection in browsers for unknown types

Header always set X-Content-Type-Options "nosniff"
Header set Strict-Transport-Security "max-age=31536000" env=HTTPS

## Can be commented out if causes errors, see notes above.
Options +FollowSymlinks
Options -Indexes

## Mod_rewrite in use.
RewriteEngine On
RewriteCond %{HTTP_HOST} ^(^.)+.(^.)+$
RewriteCond %{HTTPS}s ^on(s)|
RewriteRule ^ http%1://www.%{HTTP_HOST}%{REQUEST_URI} (L,R=301)

## Begin - Rewrite rules to block out some common exploits.
# If you experience problems on your site then comment out the operations listed 
# below by adding a # to the beginning of the line.
# This attempts to block the most common type of exploit `attempts` on Joomla!
# Block any script trying to base64_encode data within the URL.
RewriteCond %{QUERY_STRING} base64_encode(^()*((^))*) (OR)
# Block any script that includes a 

Why are events configured in Google Tag Manager not tracked in Google Analytics?

I think I am experiencing an error linking my GTag and Analytics account.

In my Google Tag account I have configured the following event:

enter the image description here

enter the image description here

As you can see each time you visit a page that contains VisaSupport On my site, an event is supposed to fire in Google Analytics.

However, when I am on the Real Time tab of my GA account I cannot see any triggered events when I open that page.

Nor do I have them historically tracked.

Is there a possibility that the two accounts are not linked correctly?

I verified the Variables in Google Tags and the Analytics account is linked to the correct ID.

Thank you!

PS: the page in question to test is

magento2: payment custom shipping address field – configured as needed

I have created a custom module that adds a text field in the shipping address. It's working fine, but I'd like to make it necessary. How can I do that?

I tried to add 'required-entry' => true in the validation parameter, in the file Plugin/Checkout/LayoutProcessor.php But it does not work.

Here are the module files:













        $quote = $observer->getEvent()->getQuote();

        $order->setData('xorio_field', $quote->getXorioField());

        return $this;


            'config' => (
                'customScope' => 'shippingAddress.custom_attributes',
                'template' => 'ui/form/field',
                'elementTmpl' => 'ui/form/element/input',
                'options' => (),
                'id' => 'xorio-fields'
            'dataScope' => 'shippingAddress.custom_attributes.xorio_field',
            'label' => 'Town / Village',
            'provider' => 'checkoutProvider',
            'visible' => true,
            'validation' => (),
            'sortOrder' => 90,
            'id' => 'xorio-fields'

        return $jsLayout;


quoteRepository = $quoteRepository;

    public function beforeSaveAddressInformation(
        MagentoCheckoutModelShippingInformationManagement $subject,
        MagentoCheckoutApiDataShippingInformationInterface $addressInformation
        if(!$extensionAttributes = $addressInformation->getExtensionAttributes())

        $quote = $this->quoteRepository->getActive($cartId);



        $quote = $setup->getTable('quote');
        $salesOrder = $setup->getTable('sales_order');

                'type' => MagentoFrameworkDBDdlTable::TYPE_TEXT,
                'nullable' => true,
                'comment' =>'Town / Village'

                'type' => MagentoFrameworkDBDdlTable::TYPE_TEXT,
                'nullable' => true,
                'comment' =>'Town / Village'



    function (
    ) {
        'use strict';

        return {
            saveShippingInformation: function () {
                var payload;

                if (!quote.billingAddress()) {

                var xorioField = $('(name="custom_attributes(xorio_field)")').val();

                payload = {
                    addressInformation: {
                        shipping_address: quote.shippingAddress(),
                        billing_address: quote.billingAddress(),
                        shipping_method_code: quote.shippingMethod().method_code,
                        shipping_carrier_code: quote.shippingMethod().carrier_code,
                            xorio_field: xorioField 



                    function (response) {
                    function (response) {


var config = {
    "map": {
        "*": {
            'Magento_Checkout/js/model/shipping-save-processor/default': 'Mymodules_FieldCheckout/js/model/shipping-save-processor/default'

18.04 – The time has been delayed by one hour even though TZ is configured correctly

I have an Ubuntu 18 server VM running on ESXI. The time zone is configured correctly, but the time is still one hour behind.

root@devserver:~# timedatectl
                      Local time: Thu 2020-03-19 12:20:30 EST
                  Universal time: Thu 2020-03-19 17:20:30 UTC
                        RTC time: Thu 2020-03-19 17:20:30
                       Time zone: EST (EST, -0500)
       System clock synchronized: no
systemd-timesyncd.service active: yes
                 RTC in local TZ: no

The time should be 1:21 PM. Should I do some sort of daylight saving time setting? It should be -0400, not 0500.

mojave: the macOS system must be configured so that the command requires smart card authentication

I am following some hardening guide and in the specific I am doing the AOSX-14-003051 V-95983
from the following website:

You can open the website and search the keywords AOSX-14-003051 or you can search the keywords V-95983

If you read the Fix Text Column and the Check content column I'm not sure why they tell me to make a backup copy of the su archive and modify the login archive?

It should be: backup copy of the login file and then modify the login archive?

Or am I missing something?

In case you do not want to visit the website, here is what you are asking to do:

Make a backup copy of the PAM SU configuration with the following command:

cp /etc/pam.d/su /etc/pam.d/su_backup_`date "+%Y-%m-%d_%H:%M"`

Replace the contents of "/etc/pam.d/login" with the following:

# su: auth account session
auth sufficient 
#auth required
auth required 
account required
password required
session required

To verify that the "su" command has been configured to require smart card authentication, run the following command:

cat /etc/pam.d/su | grep -i

If the text you return does not include the "auth sufficient" line at the TOP of the list, this is a finding.