networking – ubuntu 18.04 ISO – Disable Network Configuration Prompts / Dialog via preseed config

During ubuntu iso 18.04 server install the network configuration manager dialog will showing if ethernet is not active.

Note: I have created unattended ubuntu 18.04 offline iso. hence I don’t want to show manual interaction like showing network configuration dialog. is there any way to disable the dialog since it has manually interacted?

Can we do it preseed file?

kindly help with this


windows – How to set the order in which administrative accounts are offered in UAC prompts?

I have installed Windows 10 Enterprise 1909 on several of my PCs. For my daily work, I am using an account which is not in the Administrators group. This means that I am running into UAC prompts quite often, which somehow is the goal of working that way.

So far, so good. But when working as a non-administrator, the UAC prompt not only asks you to click YES to permit the respective action, but you have to enter an administrator’s password. If there are multiple administrative users on the system, this can lead to problems.

For example, the UAC prompt in my daily work account looks like that:

UAC prompt stage 1

Here, we can see that there obviously is an administrative user Acronis Agent User on that system, which is not surprising because I have installed Acronis software there. However, I can’t enter the password of this user, because I don’t know it; that account has been created automatically during Acronis software installation and might be configured without a password at all.

Hence, to proceed, I have to click on the link More choices, which in turn leads to the following situation:

UAC prompt stage 2

I want to use the Administrator password, because it is the only administrative password I know, so I have to click again on Administrator, which leads to the following situation:

UAC prompt stage 3

Now I finally can enter the Administrator password and click YES.

This whole procedure is driving me mad now (after having tolerated it for several months). I hit that UAC prompt several times a day, and it takes several mouse clicks until I finally can enter the password. There is no chance to automate the procedure because the UAC prompt appears on a Secure Desktop, which I don’t want to change.

Hence the question:

Is it possible to set a “default administrative user for UAC prompts” somewhere, or to order the list of administrative accounts which are offered in the UAC prompt? If I could make Administrator the first list item (instead of Acronis Agent User), the problem would be solved.

It seems that the list is sorted alphabetically, so I could eventually rename the Administrator account name to 000, for example. But I have never tried this and I am unsure whether or not it would be a stupid idea, so I would prefer to order that account list using another method; perhaps the order is somewhere in the registry or something like that.

Any ideas?

Problema con prompts en Switch case (JavaScript)

Mi problema es que estoy realizando un switch que tiene prompts pero no me funciona, el código que he intentado está abajo, cambié el prompt por un document.write y el switch me funcionaba así que no sé muy bien que pueda ser.

for(p=1; p<=5; p++){
var familia = prompt("Ingrese la familia, Cactaceas = 1, Pinaceas = 2, Liliaceas = 3")
    switch (familia){
        case "1":
            tamaño1 = parseInt(prompt("Ingrese el tamaño en metros (solo el número)"));
        case "2":
            tamaño2 = parseInt(prompt("Ingrese el tamaño en metros (solo el número)"));
        case "3":
            tamaño3 = parseInt(prompt("Ingrese el tamaño en metros (solo el número)"));

Writing Prompts Collection Pack for $1

Writing Prompts Collection Pack

These are a collection of writing prompts that are perfect for Work on Writing time or other times throughout the day. 

Grade Levels: Kindergarten, 1st, 2nd, 3rd 

Resource Type: Worksheets, Activities, Printables 

File Type: PDF (1 MB|23 pages)


Linux bash – handling command lines that require multiple prompts

I'm trying to create a bash script that creates an encrypted one .tar.gz one directory and saves it in another directory.

The command I want to use is:

tar -czf - myDirectory/* | openssl enc -e -aes256 -out outputDirectory/secured.tar.gz

The problem is that this command requires a password to be entered twice:

enter aes-256-cbc encryption password:
Verifying - enter aes-256-cbc encryption password:

I tried this:

set pass "abcde"

tar -czf - myDirectory/* | openssl enc -e -aes256 -out outputDirectory/secured.tar.gz

expect "es-256-cbc encryption password:"
send "$pass"
expect "Verifying - enter aes-256-cbc encryption password:"
send "$pass"

without success.

How do I supply these two passwords in a bash script?

Ease of use – Are there any guidelines or best practices for notifications or prompts to use your app?

I've even seen this in professional high-end 3D applications where you always see messages, notifications, or prompts on how to do the most basic tasks, e.g. B. Select things, change values, navigate your 3D viewport, etc.

I've seen apps where this message is statically displayed where it is on the screen. So it's not that distracting, but some apps flash you on and off with these messages. I find that they draw my attention as my eye moves on what is changing on the screen or I have to mentally block it which takes mental energy.

I understand that this may be good for beginners in the first few weeks, but after you know this, isn't this a negative feature for the app that will be imposed on experienced users in the coming years?

Are there guidelines for such things? At least some practice to have the option to turn it off?

After you know an app, you should be reminded how to do these basic tasks. They are only removed from the actual task.

What do you think?

dnd 5e – How do I create a Roll20 macro that once prompts the user for a storage type and then outputs the save as if you had clicked on the drawing page?

You can't make it a macro, but it works if you save it as an ability

&{template:simple} ?{Save|STR, {{rname=Strength}} {{mod=@{selected|strength_save_bonus}}} {{r1=((1d20+@{selected|strength_save_bonus}))}} {{r2=((1d20+@{selected|strength_save_bonus}))}}{{always=1}}|DEX, {{rname=Dexterity}} {{mod=@{selected|dexterity_save_bonus}}} {{r1=((1d20+@{selected|dexterity_save_bonus}))}} {{r2=((1d20+@{selected|dexterity_save_bonus}))}} {{always=1}}|CON, {{rname=Constitution}} {{mod=@{selected|constitution_save_bonus}}} {{r1=((1d20+@{selected|constitution_save_bonus}))}} {{r2=((1d20+@{selected|constitution_save_bonus}))}}{{always=1}}|INT, {{rname=Intelligence}} {{mod=@{selected|intelligence_save_bonus}}} {{r1=((1d20+@{selected|intelligence_save_bonus}))}} {{r2=((1d20+@{selected|intelligence_save_bonus}))}} {{always=1}}|WIS, {{rname=Wisdom}} {{mod=@{selected|wisdom_save_bonus}}} {{r1=((1d20+@{selected|wisdom_save_bonus}))}} {{r2=((1d20+@{selected|wisdom_save_bonus}))}} {{always=1}}|CHA, {{rname=Charisma}} {{mod=@{selected|charisma_save_bonus}}} {{r1=((1d20+@{selected|charisma_save_bonus}))}} {{r2=((1d20+@{selected|charisma_save_bonus}))}}{{always=1}}} {{charname=@{selected|token_name}}}

It prompts the user for the storage type and then stores the selected type for the currently selected token. It is then output in the same format as if you had rolled it straight out of the drawing sheet.

It must be saved as an ability (on a character sheet under the "Attributes & Abilities" tab) and not as a global macro. If you save it as a global macro, every instance of } (the HTML replacement for } ) is converted back and breaks the whole thing.

git – Pushing to Github prompts for a wrong URL password

I'm not sure what that did exactly, but now if I try to push, I get

Password for '': 

facing the problem of url now --global in what is wrong i had executed this command:

git config --global credential.helper store
git config credential.username "dsmith"
git config credential.user --global "dsmith"
git config --global ""

So that must have screwed everything up. I want to fix that, I don't know how. I have no idea how this messed up the github url and put it in – global. I thought the above commands were legitimate.

At least I set it up again so that I use the oskeychain as a helper

git config --global credential.helper osxkeychain