8 – What control the placement of links realtive to the body?

I am struggling with getting the “Read more” and “Add new comment” links placed below the body on a custom node content type called “Wikitext” that has been created using the GUI on a Drupal 8.9.17 website.

The site is running the default theme (Bartik) and I have not edited any templates. The built-in content type “Article” shows these links below the body. “Wikitext” is supposed to be identical to “Article”, but displays them above the body.

I’ve unticked “Show reply form on the same page as comments” on the comment settings form for both content types.

Below the acreenshot is a copy of the “Manage display” form. It is identical for both content types, and has “Links” and “Comments” as the last two fields to display.

I have looked very carefully, but cannot locate anywhere in the GUI where I can control the placements of these links. Does anybody know where to look?

Screenshot showing link placement

Is it possible to control the individual pins on a usb port? Ubuntu/Windows

It’s for recreational purposes. I’d like to communicate between Windows and Ubuntu machines, using my own data to binary protocols utilizing usb to usb connection between an Ubuntu 20.04 headless and my Windows 10 desktop. I intend to use high-level where possible. I suppose it’s similar to creating a driver?

Idea was sparked after wanting to power on my desktop from my server, so ideally I’d also be able to use the power pins for recreating the boot signal. I am not sure if usb <-> usb connection needs power pins, though it doesn’t appear to be so judging from how usb cables are wired.

unity – Two players using touch control simultaneously

I am working on a game like soccer star and I made a controller using YouTube and stuff. I added two players in the same scene and put this script on them. But when I play with player 1, then player 2 does the same as they are controlled by the same touch. How can I make them work simultaneously?

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

public class Ball : MonoBehaviour
{   
    public float Power = 10f;
    public float maxDrag = 5f;
    Rigidbody2D rb;
    LineRenderer lr;

    Vector3 dragStartPos;
    Touch touch2;    

    // Start is called before the first frame update
    void Start()
    {
        rb = GetComponent<Rigidbody2D>();
        lr = GetComponent<LineRenderer>();
    }

    // Update is called once per frame
    void Update()
    {    
        if (Input.touchCount > 0)
        {
            touch2 = Input.GetTouch(0);
    
            if (touch2.phase == TouchPhase.Began)
            {
                dragStart();
            }
            if (touch2.phase == TouchPhase.Moved)
            {
                dragging();
            }
            if (touch2.phase == TouchPhase.Ended)
            {
                dragRelease();
            }
        }            
    }    

    void dragStart()
    {
        dragStartPos = Camera.main.ScreenToWorldPoint(touch2.position);
        dragStartPos.z = 0f;

        lr.positionCount = 1;
        lr.SetPosition(0, transform.position);
    }


    void dragging()
    {
        Vector3 draggingPos = Camera.main.ScreenToWorldPoint(touch2.position);
        draggingPos.z = 0f;
        lr.positionCount = 2;
        lr.SetPosition(0, draggingPos);
    }    

    void dragRelease()
    {
        lr.positionCount = 0;
        Vector3 dragReleasePos = Camera.main.ScreenToWorldPoint(touch2.position);
        dragReleasePos.z = 0f;
        Vector3 force = dragStartPos - dragReleasePos;
        Vector3 clampedForce = Vector3.ClampMagnitude(force, maxDrag) * Power;
        rb.AddForce(clampedForce, ForceMode2D.Impulse);    
    }    
}

dnd 5e – How large is the whirlpool when a Nereid uses their Shape Water (Control Water) feature?

The nereid from The Hidden Shrine of Tamoachan has a special feature called “Shape Water” (not to be confused with the shape water cantrip), which does the following:

Shape Water. The nereid can cast control water at will, requiring no components. Its spellcasting ability for it is Charisma. This use of the spell has a range of 30 feet and can affect a cube of water no larger than 30 feet on a side.

The control water spell can create a whirlpool, which is a 50 ft x 50 ft x 25 ft vortex. The vortex also pulls stuff in the water within 25 ft of it.

Whirlpool. This effect requires a body of water at least 50 feet square and 25 feet deep. You cause a whirlpool to form in the center of the area. The whirlpool forms a vortex that is 5 feet wide at the base, up to 50 feet wide at the top, and 25 feet tall. Any creature or object in the water and within 25 feet of the vortex is pulled 10 feet toward it.

When a nereid creates a whirlpool with this feature, does the vortex pull stuff from the water within an additional 25 ft, even if this “affects” a volume of water larger than 30 ft on a side? Does this depend on the size of the vortex?

If all of the water affected must be within a 30 ft range, then does the nereid get pulled into its own whirlpool?

iphone – Turn wifi/bluetooth off permanently in the Control Center – not until tomorrow

I’m new to the iPhone. I wonder how I can turn wifi or bluetooth off permanently in the Control Center. When I press the button, it says that wifi is turned off until tomorrow, whatever that means.

For some people this may work, but not for me. I almost never use wifi, and if I turn it on and then turn it off, I don’t want to go into the settings to handle it there. Is there a setting I’m missing that can change this behavior? Same goes for Bluetooth.

Use of SPSecurityTrimmedControl:SPSecurityTrimmed Control to load SharePoint JS for authenticated users only

I’m trying to unload SharePoint JS files, such as core.js, init.js and other unnecessary JS files in order to enhance site performance and to achieve SEO standards as well.

Currently I’m using the SPSecurityTrimmedControl tag to achieve my goal as below:

<SharePoint:SPSecurityTrimmedControl runat="server" AuthenticationResctriction="AuthenticateUsersOnly">

    <SharePoint:ScriptLink Language="javascript" Name="core.js" OnDemand="true" runat="server" Localizable="false" />
    <SharePoint:ScriptLink Language="javascript" Name="menu.js" OnDemand="true" runat="server" Localizable="false" />
    <SharePoint:ScriptLink Language="javascript" Name="callout.js" OnDemand="true" runat="server" Localizable="false" />
    <SharePoint:ScriptLink Language="javascript" Name="sharing.js" OnDemand="true" runat="server" Localizable="false" />
    <SharePoint:ScriptLink Language="javascript" Name="suitelinks.js" OnDemand="true" runat="server" Localizable="false" /></SharePoint:SPSecurityTrimmedControl>

Problem is when an authenticated user is logged in and try to use the ribbon and click on any tab such as Page or Publish tab, it does not show the content of that tab, it keeps displaying a message “Working on it” as shown below:

enter image description here

Any help is much appreciated.

cache control – How to properly add clientCache on IIS 10

I have added clientCache in the web.config file, but Pingdom Tools still tell me to Add Expires headers.

<staticContent>
      <clientCache cacheControlMode="UseMaxAge" cacheControlMaxAge="365.00:00:00" setEtag="false" />

What am I missing and how can this be fixed on Windows Server 2016 IIS 10?

network – How to mitigate against malicious browser extensions that rely on rtkit-daemon and dbus for remote control?

I lately noticed that my web browser (latest Firefox) is acting strange: form field content is getting deleted, text randomly marked and the system suddenly crashes as if the device is remotely controlled and overloaded.

Checking my system logs (Ubuntu), I found a couple of suspicious entries. Every time the browser seems to be remote controlled, I find the following entries in syslog:

Jul 16 11:44:45 MyComputer NetworkManager(815): <info>  (1626446685.9689) dhcp4 (lan0): option dhcp_lease_time      => '3600'
Jul 16 11:44:45 MyComputer NetworkManager(815): <info>  (1626446685.9690) dhcp4 (lan0): option domain_name          => 'My-I-S-Provider.com.'
Jul 16 11:44:45 MyComputer dbus-daemon(813): (system) Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-disp>
Jul 16 11:44:45 MyComputer NetworkManager(815): <info>  (1626446685.9690) dhcp4 (lan0): option domain_name_servers  => '192.168.0.1'
Jul 16 11:44:45 MyComputer NetworkManager(815): <info>  (1626446685.9690) dhcp4 (lan0): option expiry               => '1626450285'
Jul 16 11:44:45 MyComputer NetworkManager(815): <info>  (1626446685.9690) dhcp4 (lan0): option host_name            => 'MyComputer'
Jul 16 11:44:45 MyComputer NetworkManager(815): <info>  (1626446685.9691) dhcp4 (lan0): option ip_address           => '192.168.0.226'
Jul 16 11:44:45 MyComputer NetworkManager(815): <info>  (1626446685.9691) dhcp4 (lan0): option next_server          => '192.168.0.1'
Jul 16 11:44:45 MyComputer NetworkManager(815): <info>  (1626446685.9691) dhcp4 (lan0): option requested_broadcast_address => '1'
Jul 16 11:44:45 MyComputer NetworkManager(815): <info>  (1626446685.9691) dhcp4 (lan0): option requested_domain_name => '1'
Jul 16 11:44:45 MyComputer NetworkManager(815): <info>  (1626446685.9691) dhcp4 (lan0): option requested_domain_name_servers => '1'
Jul 16 11:44:45 MyComputer NetworkManager(815): <info>  (1626446685.9691) dhcp4 (lan0): option requested_domain_search => '1'
Jul 16 11:44:45 MyComputer NetworkManager(815): <info>  (1626446685.9692) dhcp4 (lan0): option requested_host_name  => '1'
Jul 16 11:44:45 MyComputer NetworkManager(815): <info>  (1626446685.9692) dhcp4 (lan0): option requested_interface_mtu => '1'
Jul 16 11:44:45 MyComputer NetworkManager(815): <info>  (1626446685.9692) dhcp4 (lan0): option requested_ms_classless_static_routes => '1'
Jul 16 11:44:45 MyComputer NetworkManager(815): <info>  (1626446685.9692) dhcp4 (lan0): option requested_nis_domain => '1'
Jul 16 11:44:45 MyComputer NetworkManager(815): <info>  (1626446685.9692) dhcp4 (lan0): option requested_nis_servers => '1'
Jul 16 11:44:45 MyComputer NetworkManager(815): <info>  (1626446685.9692) dhcp4 (lan0): option requested_ntp_servers => '1'
Jul 16 11:44:45 MyComputer NetworkManager(815): <info>  (1626446685.9693) dhcp4 (lan0): option requested_rfc3442_classless_static_routes => '1'
Jul 16 11:44:45 MyComputer NetworkManager(815): <info>  (1626446685.9693) dhcp4 (lan0): option requested_root_path  => '1'
Jul 16 11:44:45 MyComputer NetworkManager(815): <info>  (1626446685.9693) dhcp4 (lan0): option requested_routers    => '1'
Jul 16 11:44:45 MyComputer NetworkManager(815): <info>  (1626446685.9693) dhcp4 (lan0): option requested_static_routes => '1'
Jul 16 11:44:45 MyComputer NetworkManager(815): <info>  (1626446685.9693) dhcp4 (lan0): option requested_subnet_mask => '1'
Jul 16 11:44:45 MyComputer NetworkManager(815): <info>  (1626446685.9694) dhcp4 (lan0): option requested_time_offset => '1'
Jul 16 11:44:45 MyComputer NetworkManager(815): <info>  (1626446685.9694) dhcp4 (lan0): option requested_wpad       => '1'
Jul 16 11:44:45 MyComputer NetworkManager(815): <info>  (1626446685.9694) dhcp4 (lan0): option routers              => '192.168.0.1'
Jul 16 11:44:46 MyComputer NetworkManager(815): <info>  (1626446685.9694) dhcp4 (lan0): option subnet_mask          => '255.255.255.0'
Jul 16 11:44:46 MyComputer NetworkManager(815): <info>  (1626446685.9694) dhcp4 (lan0): state changed extended -> extended
Jul 16 11:44:46 MyComputer systemd(1): Starting Network Manager Script Dispatcher Service...
Jul 16 11:44:46 MyComputer dbus-daemon(813): (system) Successfully activated service 'org.freedesktop.nm_dispatcher'
Jul 16 11:44:46 MyComputer systemd(1): Started Network Manager Script Dispatcher Service.
Jul 16 11:44:56 MyComputer systemd(1): NetworkManager-dispatcher.service: Succeeded.

I interpret this as a remote session that is being created. Is it possible to tell if this session is created directly on the device or if the local router is infected and involved?

When the browser is overloaded and crashes, I notice the following or similar entries:

Jul 16 14:46:23 MyComputer rtkit-daemon(1031): Supervising 4 threads of 3 processes of 1 users.

Also the network adapter was suddenly shutting down several times:

Jul 16 16:21:38 MyComputer dbus-daemon(835): (system) Activating systemd to hand-off: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.13' (uid=0 pid=836 comm="/usr/sbin/NetworkManager --no-daemon " label="unconfined")
Jul 16 16:23:47 MyComputer systemd(1): dbus.service: Found left-over process 835 (dbus-daemon) in control group while starting unit. Ignoring.
Jul 16 16:23:47 MyComputer dbus-daemon(3060): (system) Activating systemd to hand-off: service name='org.freedesktop.RealtimeKit1' unit='rtkit-daemon.service' requested by ':1.45' (uid=1000 pid=6629 comm="/usr/lib/firefox/firefox -contentproc -childID 60 " label="unconfined")

I was able to temporarily deactivate rtkit-daemon and dbus with systemctl stop / disable, but they would automatically switch back on after some time.

Is it possible to permanently deactivate those daemons without impacting the functionality of the rest of the system?

Clamav and chrootkit scan did not show any relevant findings.

I appreciate your feedback and advice.

Use MacBook to Control Mac mini (where Mac mini is not connected to network)

I am traveling with my MacBook and my Mac mini. I have no external display, mouse, or keyboard.

I know that I can use an ethernet cable or screen sharing to have control over my Mac mini, if the Mac mini is already connected to the same network. But since I just arrived to my new environment, that is not the case.

Is there a way to somehow use my MacBook as a display/keyboard/touchpad for my Mac mini?

In case it’s not clear, I have a:

  • M1 Mac mini (not connected to network)
  • MacBook Pro 2019 (connected to network)
  • USB C / Thunderbolt cable to connect the two together

Just to reiterate once again, the Mac mini is not connected to the network and a remote screen sharing has not been configured yet. Thank you for your help.