command line – Termux (Terminal) tsu is adding “(unreachable)” to my current working path

When I run tsu (which is Termux’s version of su), my current working directory gets prefixed with “(unreachable)”, as you can see from the transcript of my session.

(u0_a116 …/~)$ tsu
(root …/home)# pwd
(root …/home)#

I did some digging and found what seems to me is the culprit.
tsu is a script that sets up an environment for the root user and then runs su to give you root privilege with the new environment. This is what the command that tsu is running looks like after opening all the variables.
/sbin/su -c PATH=/sbin/.magisk/busybox env -i PATH=/data/data/com.termux/files/usr/bin:/data /data/com.termux/files/usr/bin/applets:/system/bin:/system/xbin:/sbin:/sbin/bin ANDROID_DATA=/data TMPDIR=/data/data/com.termux/files/home/.suroot/.tmp PREFIX=/ data/data/com.termux/files/usr TERM=xterm-256color LD_PRELOAD=/data/data/com.ter mux/files/usr/lib/ ANDROID_ROOT=/system HOME=/data/data/com.ter mux/files/home/.suroot /data/data/com.termux/files/usr/bin/bash

This causes a problem when I try to run a script that is using relative paths. (I’m running a script to setup a full linux distro with proot in Termux).

If I take out the ‘env -i` from the command then I get the current working directory without the prefixed “(unreachable)”. This does not setup the new environment, it leaves the old environment intact as if I would have selected –preserve option.

Adding Server 2019 Member server to Server 2008 R2 Domain

I’ve upgraded one of our servers from 2008 R2 to 2019. I rejoined the new 2019 server into our domain that is a 2008 R2 Domain Controller.

However, it seems GPOs are not being applied correctly to the 2019 Server.

Test: I logged into one of my other 2008 R2 Servers and the policies are applied correctly. ie desktop is locked down.

Am I missing something? I saw a post about SMBv1 needing to be enabled to join to domain. I’ve already joined it to the domain without enabling SMBv1 client. We don’t want SMBv1 client.

Thank you!

8 – Adding attributes to a link to an uploaded file

I have been asked to add target=”_blank” to the links that are produced when a user uploads a file on a Drupal 8 site.

The field type is “File”. Multiple uploads are allowed.

Twig debug shows me that the field is being produced by the core template “file-link.html.twig”. The entire uncommented contents of that template are:

<span{{ attributes }}>{{ link }}</span>
{% if file_size %}
  {# @todo remove class before Drupal 9.0.0 #}
  <span class="file-size">({{ file_size }})</span>
{% endif %}

I brought that template into my custom theme and tried to add the attribute to the link. I thought I’d be editing the {{ link }} part of the template, changing it to attach attributes. I did variations of this:

{{ link(item.title, item.url, attributes.setAttribute(‘target’,’_blank’)) }}

Every syntax I tried produced a fatal PHP error. Thinking I was doing the attribute syntax wrong, I tested by simply trying to add a single class.

{{ link(item.title, item.url, { 'class': ('bananas') }) }}

That was still a white screen of death, so I guess I can’t use that syntax on the {{ link }} field in my file-link template.

I’ve been googling my eyeballs out of my head. I found this cool idea:

{% for item in items %}
  {{ item.content|merge({'#attributes': {'class': ('button', 'button--arrow', 'button--centered')}}) }}
{% endfor %}

so I adapted it for my field.html.twig template like so, changing this part:

{% for item in items %}
    <div{{ item.attributes }}>{{ item.content }}</div>
{% endfor %}

to this:

{% for item in items %}
      <div{{ item.attributes }}>{{ item.content|merge({'#attributes': {'target': ('_blank')}}) }}</div>
{% endfor %}

And while at least the page loaded and didn’t have a fatal error, the target attribute did not appear on the link.

Does anyone have any advice for me getting an attribute onto a file upload link? Almost everything I’ve found has to do with the link field, not the file upload field. Thanks for your time.

Adding alarm function to a Tkinter clock program

I need to create a function that allows setting alarms upon clicking on submenus in a menubar that I created inside the main window. This function is in a separate pop-up window(filewindow). The submenus have commands that points to the said function which also has an Entry widget in it for setting alarm time. Also I wanted to filter out the entries to be just integers. I guess Time Module should be imported to use strftime.

magento2 – Adding plugin on tinymce

So i follow this tutorial ->

And everything works so far if i remove this line of code

ed.contentCSS = [ed.settings.magentoPluginsOptions._object.Addfourcolumnbox.css];

But if i add it i get an error that say this

Failed to initialize plugin: Addfourcolumnbox TypeError: Cannot read property 'Addfourcolumnbox' of undefined
at t.<computed>.t.<computed>.init

So i have tried everything to fix it, but nothing works, so i hope somebody else have dealt with the same problem before me and found a answer to it.

Adding custom hover text using json to a SharePoint list column

You can try this and customize to suit your need

  "elmType": "div",
  "style": {
    "font-size": "12px"
  "txtContent": "@currentField",
  "customCardProps": {
    "formatter": {
      "elmType": "div",
      "txtContent": "[$Description]",
      "style": {
        "font-size": "12px",
        "color": "green",
        "padding": "5px"
    "openOnEvent": "hover",
    "directionalHint": "bottomCenter",
    "isBeakVisible": true,
    "beakStyle": {
      "backgroundColor": "white"

enter image description here

Adding key highlights to product image gallery in e commerce app

We’re thinking of adding key highlights of the product on the top of an overlay of the product image, most probably on the second image of the carousel. I just wanted to understand whether it will be good idea or not. As according to most of the users, product images are the first thing they see when they land on the product page for the first time, giving user the ease to find key highlights on the images itself could help in positive conversions.

8 – Webform Validation – adding validation on a date field to be not greater than another date field entered in the same submission

Drupal 8 webforms
We have a procurement completion date and build completion date. Build completion cannot be earlier than procurement completion naturally.

I tried setting this up by adding the min date validation for build completion using the token below:

This gave me an error stating the field is recursively being called and it broke the webform.

Is using webform submission values token on the form being filled possible or am I going about this wrong?