## How to change a custom customer attribute in code?

I have a customer attribute `account_manager_email` that I need to change for several customers. How do I go about changing that in PHP code?

## layout – Can I change where Windows 10 prioritizes extensions in its alphabetical sorting?

I need to preface this with the fact I know nothing about coding, so all answers should probably explain in some degree more detail than might be used otherwise. I also don’t know if I’m in the right place. If not, I’m sorry.

I am using Windows 10. I have some files I want to be sorted like this:

• Character A.doc
• Character A Alone.png
• Character A Mount.png

• Character A Alone.png
• Character A Mount.png
• Character A.doc

I can be anal about some things, and this is one of them. I don’t want to add any random characters to push or pull these files around, I want them to sort how it makes sense: the shorter file name in front.

I hate that this character’s files need special treatment to keep the same document>image listing every other character has. I hate that I don’t get the clean sorting I want. I am absolutely willing to go in and mess with the system coding to make it do what I want as long as that isn’t illegal in some way I don’t know about and isn’t going to break something in the process. I just want this to work for me.

## video – How to change default camera settings in Google Meet from 360p to 720p? (Google Workspace/G Suite)

Every time I open a call in Google Meet, the camera settings drop down to 360p:

I have to manually change these to 720p each time:

How do I keep the settings at 720p permanently for all calls on my Google Meet account?

What I’ve tried:

• I’ve gone to see the general Google Meet settings here, but don’t have any default options there.

## design – Can you change an airplane’s wing while it is in flight?

When it comes to maintenance of complex software systems that are currently in use and in production, I’ve sometimes compared upgrading libraries or re-architecting existing code (or sometimes simply paying off technical debt) as “Replacing an airplane’s wing while it is still in flight.”

I paused today, thinking that maybe that wasn’t the right analogy to use, because it would make the job sound impossible. However, upon reflection, I used it anyway, because it might be possible.

So the question is this. Given that

• You have an infinite amount of energy to keep the plane’s engines running and
• You have a magic teleporter to get raw materials up to the plane

Would it be physically possible to replace the wing of an airplane while it is in flight?

And as a followup question that is more on topic: is it possible to switch database engines (i.e. from mssql to postgres) on a production-level web app with 0 downtime?

## Change color of footer iand background n SharePoint online

How to add custom color to the footer in SharePoint online as well as the background? The footer seems to take the color of the primary theme, however we want the theme color to be different from the footer. You can customize a lot of other color properties for the theme, and what other color-properties does the footer use except for the primary main theme?

## numerical integration – Change Replace Rule with Function Input

I am trying to create a function that takes in an input $$mu$$ and place that input into the replace rule for a numerical integration, as seen in the code below:

``````Clear("Global`*")
x = r/R;
Subscript(U, T) = (CapitalOmega) R (x + (Mu) Sin((Psi)));
Subscript(U, R) = (CapitalOmega) R (Mu) Cos((Psi));
U = Sqrt(Subscript(U, T)^2 + Subscript(U, R)^2);
NIntegrate(
NIntegrate(
1/2 (Rho) U^3 Subscript(C, Subscript(d, 0)) /. #, {r, 0,
R} /. #), {(Psi), 0, 2 Pi} /. #) & @{R -> 1, (CapitalOmega) ->
1, Subscript(C, Subscript(d, 0)) -> 1, (Rho) -> 1, (Mu) -> 1}
Subscript(P, 0)((Mu)_) =
NIntegrate(
NIntegrate(
1/2 (Rho) U^3 Subscript(C, Subscript(d, 0)) /. #, {r, 0,
R} /. #), {(Psi), 0, 2 Pi} /. #) & @{R ->
1, (CapitalOmega) -> 1,
Subscript(C, Subscript(d, 0)) -> 1, (Rho) -> 1, (Mu) -> (Mu)}
Subscript(P, 0)(1)
``````

Running this code has the following result:

As you can see, simply subbing in for $$mu$$ using $$mu rightarrow 1$$ works fine, but it does not work when attempted as a function. How would I set up this function to correctly send the input to the replace rule?

## php – Change Sale Price to Regular Price WooCommerce

I have imported some products from CSV but made a mistake, set the Regular Price as Sale Price.

Now as the Regular Price of the products are not et, so no price is showing on the product.

So, is there a code or plugin available so that I can remove the Sale Price at once and add that value to the Regular Price area?

Looking forward to some help.

Thank you.

## javascript – Need to know what is correct for my first vm and what I should change when I write my next

I wrote my first virtual machine recently, and I need to know what I should change in my next vm to make it an actual vm.

I created this one as more of just an interpreter with a instruction set you would see in assembly. I did not create this using many things a vm should have, and I put it together in a few hours late one night.

Here is the main script, it’s written in JavaScript and uses a graphics library called p5.js, and the full program can be found here https://github.com/HPestock/CS-bVM with a live example here https://hpestock.github.io/CS-bVMgithubdemo/index.html (the VM is stack-based, and it’s slow because p5.js runs at ~59.9hz maximum, though I could just run this in a while loop and only escape when DRAW is called):

``````var memory;
var SP;
var PC;
var PCRET;
var w = 800;
var h = 600;
var i;
var j;
var stack;

var kdown;
var mdown;

var flag_cmp;

//insts
var NOP = 0x0000;
var PUSH = 0x0001; // (VALUE)
var PUSHM = 0x0004; // (MEMORY LOCATION) push memory
var POP = 0x0002; // (STACK NUMBER)
var CLRST = 0x0003; // clear stack
var MSM = 0x0005; // (STACK NUMBER), (MEMORY LOCATION)
var ADDT = 0x0006; // ADD stack(SP.length - 2) and stack(SP.length - 3)
var SUB = 0x0007;
var MULT = 0x0008;
var DIV = 0x0009;
var MOD = 0x000A;
var DRAW = 0x000B; // SP-4, SP-3, SP-2, SP-1, SP X,Y,R,G,B,S
var JMP = 0x000C; // (MEMLOC)
var JSR = 0x000D; // (MENLOC) {ALSO SAVES CUR PC TO PCRET}
var RTS = 0x000E;
var CMPEQ = 0x000F;
var CMPNEQ = 0x0010;
var CMPGT = 0x0011;
var CMPGE = 0x0012;
var CMPLT = 0x0013;
var CMPLE = 0x0014;
var BIP = 0x0015;
var HALT = 0xFFFF;
//MOVRM
//MOVMR

function setup() {
createCanvas(w,h);
valset();
//memory(2) = 99;
var program = ( CLRST,
PUSH, 1,
PUSH, 1,
PUSH, 255,
PUSH, 0,
PUSH, 5,
PUSH, 3,
DRAW,
CLRST,
PUSH, 1,
PUSH, 1,
PUSH, 0,
PUSH, 255,
PUSH, 5,
PUSH, 3,
DRAW,
JMP, 600
)
for(var i=0; i < program.length; i++){
memory(i + 600) = program(i);
}
background(0);
}

function valset(){
SP = -1;
PC = 600;
PCRET = 600;
memory = ();
for(i=0;i<0xffff;i++){
memory.push(0x0);
}
stack = ();
flag_cmp = 0;
key = String.fromCharCode(0);
memory(0xfffb) = 0;
memory(0xfffa) = 0;
memory(0xfff9) = 0;
memory(0xfff8) = 0;
}

function mousePressed(){
mdown = 1;
}
function mouseReleased(){
mdown = 0;
}

function keyPressed(){
kdown = 1;
}
function keyReleased(){
kdown = 0;
}

function draw() {
noStroke();
memory(0xffff) = key.charCodeAt(0);
memory(0xfffe) = key;
memory(0xfffd) = Math.floor(Math.random() * 0x10000);
memory(0xfffc) = Math.floor(Math.random() * 2);
memory(0xfffb) = mdown;
memory(0xfffa) = kdown;
memory(0xfff9) = mouseY;
memory(0xfff8) = mouseX;
if(memory(PC) == NOP){
if(PC<1000){PC+=1;}
}
if(memory(PC) == PUSH){
stack.push(memory(PC + 1));
SP+=1;
if(PC<1000){PC+=2;}
}
if(memory(PC) == POP){
stack.splice(stack.length - memory(PC + 1) - 1, 1);
SP-=1;
if(PC<1000){PC+=2;}
}
if(memory(PC) == CLRST){
stack = ();
SP=-1;
if(PC<1000){PC+=1;}
}
if(memory(PC) == PUSHM){
stack.push(memory(memory(PC + 1)));
SP+=1;
if(PC<1000){PC+=2;}
}
if(memory(PC) == MSM){
//SN, ML
memory(memory(PC + 2)) = stack(stack.length - memory(PC + 1) - 1);
if(PC<1000){PC+=3;}
}
stack.push(stack(SP - 1) + stack(SP));
SP-=1;
stack.splice(SP, 2);
if(PC<1000){PC+=1;}
}
if(memory(PC) == SUB){
stack.push(stack(SP - 1) - stack(SP));
SP-=1;
stack.splice(SP, 2);
if(PC<1000){PC+=1;}
}
if(memory(PC) == MULT){
stack.push(stack(SP - 1) * stack(SP));
SP-=1;
stack.splice(SP, 2);
if(PC<1000){PC+=1;}
}
if(memory(PC) == DIV){
stack.push(stack(SP - 1) / stack(SP));
SP-=1;
stack.splice(SP, 2);
if(PC<1000){PC+=1;}
}
if(memory(PC) == MOD){
stack.push(stack(SP - 1) % stack(SP));
SP-=1;
stack.splice(SP, 2);
if(PC<1000){PC+=1;}
}
if(memory(PC) == DRAW){
fill(stack(SP-3), stack(SP-2), stack(SP-1));
rect(stack(SP-5), stack(SP-4), stack(SP), stack(SP));
stack.splice(SP-5, 6);
SP-=6;
if(PC<1000){PC+=1;}
}
if(memory(PC) == JMP){
PC = memory(PC + 1);
}
if(memory(PC) == JSR){
PCRET = PC + 2;
PC = memory(PC + 1);
}
if(memory(PC) == RTS){
PC = PCRET;
}
if(memory(PC) == CMPEQ){
if(stack(SP - 1) == stack(SP)){ flag_cmp = 1; } else { flag_cmp = 0; }
if(PC<1000){PC+=1;}
}
if(memory(PC) == CMPNEQ){
if(stack(SP - 1) != stack(SP)){ flag_cmp = 1; } else { flag_cmp = 0; }
if(PC<1000){PC+=1;}
//console.log(stack);
//console.log(SP);
}
if(memory(PC) == CMPGT){
if(stack(SP - 1) > stack(SP)){ flag_cmp = 1; } else { flag_cmp = 0; }
if(PC<1000){PC+=1;}
}
if(memory(PC) == CMPGE){
if(stack(SP - 1) >= stack(SP)){ flag_cmp = 1; } else { flag_cmp = 0; }
if(PC<1000){PC+=1;}
}
if(memory(PC) == CMPLT){
if(stack(SP - 1) < stack(SP)){ flag_cmp = 1; } else { flag_cmp = 0; }
if(PC<1000){PC+=1;}
}
if(memory(PC) == CMPLE){
if(stack(SP - 1) <= stack(SP)){ flag_cmp = 1; } else { flag_cmp = 0; }
if(PC<1000){PC+=1;}
}
if(memory(PC) == BIP){
if(flag_cmp == 1){PC = memory(PC + 1)} else {if(PC<1000){PC+=2;}}
//console.log(flag_cmp);
}

if(memory(PC) == HALT){

}
}
``````

## webforms – Image change based on menu selection

can somebody help me fixing following issue?
In a webform module, when you choose some item from a dropdown menu (or any kind of menu), based on the selection, a small pictogram will appear next to this menu (like on the picture).

Is there a way how to easily implement this idea to the webform module?