79601051

Date: 2025-04-30 20:29:33
Score: 1.5
Natty:
Report link

import here map API Like this:

 <Script
                src={`https://js.api.here.com/v3/3.1/mapsjs.bundle.js?apikey=${process.env.NEXT_PUBLIC_HERE_API_KEY}`}
                strategy="afterInteractive"
                type="module"
            />
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Hacxk

79601050

Date: 2025-04-30 20:28:33
Score: 2.5
Natty:
Report link

M-Pesa's API rejects URLs containing certain keywords like "MPESA", verify your callback url does not contain such keywords

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: moses selete

79601046

Date: 2025-04-30 20:26:32
Score: 1.5
Natty:
Report link

please apply this with Modifier into your parent compose (Scaffold,Surface,Box etc).

Modifier.fillMaxSize().windowInsetsPadding(WindowInsets.systemBars)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: naman tonk

79601036

Date: 2025-04-30 20:18:30
Score: 1.5
Natty:
Report link

Sorry I can't answer directly on jayjojayson's post but do not use that answer.

The answer contains a script that is hosted in an s3 bucket and in fact that s3 bucket seems to have been taken over and the script has been replaced by a popup telling you that you should contact them via mail.

Never embed scripts like this that you do not have control over and if you really need to for whatever reason, then at least add a Subresource Integrity (https://developer.mozilla.org/de/docs/Web/Security/Subresource_Integrity) hash so that the browser won't load a script that has been tempered with.

Reasons:
  • RegEx Blacklisted phrase (0.5): Sorry I can't
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Michael Sammereier

79601035

Date: 2025-04-30 20:18:30
Score: 1.5
Natty:
Report link

On bubble.io inputs, you have the ability to check a box that says "enable auto-binding", and it will allow you to have the input automatically saved to the parent element, based on what field you use for the input.

If you want to make a version of the data that is only saved at the end of the day, just make a temporary object that the data is auto-bound too, and then at the end of the day, copy that object as the permanent object.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: ben

79601032

Date: 2025-04-30 20:15:29
Score: 1.5
Natty:
Report link

your declaration:

private static final int REQUEST_ENABLE_BT = 1;

Should be:
private static final int REQUEST_ENABLE_BT = 0;
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Khaldoun Kayal

79601029

Date: 2025-04-30 20:12:28
Score: 3.5
Natty:
Report link

openssl dsa -in dsaprivkey.pem -outform DER -pubout -out dsapubkey.der

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Sarah Hardy

79601020

Date: 2025-04-30 20:06:26
Score: 3
Natty:
Report link

Resolved the delay. It was related to realtime listeners that were updating while the cloud function was in progress. After pausing the realtime listeners, the response is fast, even with a data large payload.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Zaahid

79601013

Date: 2025-04-30 20:02:25
Score: 2
Natty:
Report link

Technically, you are not looking to use a 'forward'. You want to use a 'redirect; forwards are redirects internal to the application (ie think one api calling another) while redirects are mainly for external communication.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Orubel

79601005

Date: 2025-04-30 19:50:23
Score: 2
Natty:
Report link

I had the same issue. on my case my TextMeshPro was behind the camera for some reason. When i move my camera back, I saw the text on game view!

Reasons:
  • Whitelisted phrase (-1): I had the same
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: burger king

79601000

Date: 2025-04-30 19:40:20
Score: 1
Natty:
Report link

This is the code I used after playing with it.

par = int(input())
strokes = int(input())
if par not in range(3,6) :
    print('Error')
    
elif par - strokes == 2:
    print('Eagle')
elif par - strokes == 1:
    print('Birdie')
elif par == strokes:
    print('Par')
elif strokes - par == 1:
    print('Bogey')
   

 
Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: StuSS777

79600993

Date: 2025-04-30 19:37:19
Score: 1.5
Natty:
Report link
 Solution 2

 https://stackoverflow.com/questions/7408024/how-to-get-a-font-file-name

 Collect the Registry Keys in

   HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts
   HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Fonts
   HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Fonts
   HKEY_CURRENT_USER\Software\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Fonts
Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Uwe92

79600989

Date: 2025-04-30 19:35:18
Score: 0.5
Natty:
Report link

When you call the authorize method in your controller, you are passing the policy as the argument instead of the user class/model as defined in your policy in the view method. You should obtain the user first in your controller and pass it as the second argument in your $this->authorize() method. This could be something along the lines of in your controller

$user = auth()->user();

this->authorize('view', $user);

// rest of the code
Reasons:
  • Has code block (-0.5):
  • Starts with a question (0.5): When you
  • Low reputation (0.5):
Posted by: Olumuyiwa

79600987

Date: 2025-04-30 19:34:18
Score: 4
Natty:
Report link

Use SHA1 instead of SHA256. I don't know why it works. But this solved my issue.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Ajay Satpati

79600981

Date: 2025-04-30 19:28:17
Score: 4
Natty:
Report link

Better write or search an issue in github repository

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Lubomir Nedbal

79600976

Date: 2025-04-30 19:25:15
Score: 0.5
Natty:
Report link

@cafce25 thanks for pointing me in the right direction!

#![feature(type_alias_impl_trait)]

use futures::{stream::{FuturesUnordered, Next}, StreamExt};

#[tokio::main]
async fn main() {
    let mut interval = tokio::time::interval(tokio::time::Duration::from_secs(1));
    let mut task_manager = TaskManager::new();

    loop {
        tokio::select! {
            _ = interval.tick() => {
                task_manager.push();
            },
            Some(_) = task_manager.next() => {
                // Some logic
            }
        }
    }
}

pub type TaskManagerOpaqueFuture = impl std::future::Future<Output = ()>;

struct TaskManager {
    futures: FuturesUnordered<TaskManagerOpaqueFuture>
}

impl TaskManager {
    pub fn new() -> Self {
        Self {
            futures: FuturesUnordered::new(),
        }
    }

    #[define_opaque(TaskManagerOpaqueFuture)]
    pub fn push(&self) {
        self.futures.push(async {
            // Some logic
        });
    }

    pub fn next(&mut self) -> Next<'_, FuturesUnordered<TaskManagerOpaqueFuture>> {
        self.futures.next()
    }
}
Reasons:
  • Blacklisted phrase (0.5): thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @cafce25
  • Self-answer (0.5):
  • Looks like a comment (1):
  • High reputation (-1):
Posted by: Leibale Eidelman

79600974

Date: 2025-04-30 19:24:15
Score: 2.5
Natty:
Report link

Well, with the given information, my best guess is that you are using a browser that doesn't support it, you can just refer to this list to verify

https://caniuse.com/download

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Atharva Rasane

79600971

Date: 2025-04-30 19:23:15
Score: 4.5
Natty: 4
Report link
Const wdReplaceAll as Long = 2

This line alone has saved my day altogether! Sensational. THanks.
Reasons:
  • Blacklisted phrase (0.5): THanks
  • Blacklisted phrase (2): saved my day
  • Low length (1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Roselene

79600962

Date: 2025-04-30 19:16:13
Score: 1.5
Natty:
Report link

Since kernel 6.13 (~01/2025), there is a new makefile argument: MO=<build-dir>

make -C <kernel-dir> M=<module-src-dir> MO=<module-build-dir>

(see https://www.kernel.org/doc/html/v6.13/kbuild/modules.html#options )

The (final) patchset, for reference: https://lkml.org/lkml/2024/11/10/32

Enjoy.

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Steve

79600957

Date: 2025-04-30 19:12:12
Score: 0.5
Natty:
Report link

Since Rails 7.1, the preferred way to do this is now with normalizes. I've also substituted squish for strip as suggested in the other answers, as it is usually (but not always) what I want.

class User < ActiveRecord::Base
  normalizes :username, with: -> name { name.squish }
end

User.normalize_value_for(:username, "   some guy\n")
# => "some guy"

Note that just like apneadiving's answer about updating the setter method, this will also avoid the confusion that can arise from using a callback that fires on saving a record, but doesn't run on a newly instantiated (but not saved) object:

# using a before_save callback
u = User.new(usernamename: " lala  \n ")
u.name # => " lala  \n "
u.save
u.name # => "lala"

# using normalizes or overriding the setter method
u = User.new(usernamename: " lala ")
u.name # => "lala"
u.save
u.name # => "lala"
Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: NGobin

79600953

Date: 2025-04-30 19:11:11
Score: 1
Natty:
Report link

Instead of use:

maven {
     maven {url 'https://xxxx-repo.com'} 
}

try it:

maven {
    setUrl("https://xxxx-repo.com")
}

happy coding!

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: FreddicMatters

79600952

Date: 2025-04-30 19:10:11
Score: 2.5
Natty:
Report link

You are upgraded to the newest responsive engine. You can tell because you have the option of "Container Layout". Your problem can be solved by removing the min-width from the "Project headers" element, allowing it to be smaller than 1018 pixels.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: ben

79600949

Date: 2025-04-30 19:08:10
Score: 2
Natty:
Report link

To test in Stripe, you need to use your test API keys when doing things like creating a PaymentIntent - it looks like you are using your live mode keys here.

Here are their docs on testing: https://docs.stripe.com/testing-use-cases#test-mode

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: palamedes

79600943

Date: 2025-04-30 19:00:08
Score: 3
Natty:
Report link

Try this simple one who needs a very simple accordion in c# winform

https://github.com/shamimevatix/winform-simple-accordion

Reasons:
  • Whitelisted phrase (-1): Try this
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: shamim083

79600942

Date: 2025-04-30 19:00:08
Score: 1.5
Natty:
Report link

Change this:

 __slots__ = 'a', 'b'

to :

 __slots__ = 'a', 'b', 'c'
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Adios Gringo

79600930

Date: 2025-04-30 18:50:05
Score: 11 🚩
Natty: 5.5
Report link

I'm facing a similar problem, I mentioned it in the last Pull Request of the project. Did you manage to solve it?

My Comment -> https://github.com/Yukams/background_locator_fixed/pull/147#issuecomment-2842927736

Reasons:
  • RegEx Blacklisted phrase (3): Did you manage to solve it
  • RegEx Blacklisted phrase (1.5): solve it?
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I'm facing a similar problem
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Anderson André

79600929

Date: 2025-04-30 18:50:05
Score: 1
Natty:
Report link

As of now there is no way to natively expose PK/FK via view in BigQuery. I also scan through this GCP documentation but I can’t find any to solve your issue to natively expose PK/FK in ‘VIEW’.

This is interesting to be available natively. On Google side, there is a feature request that you can file but there is no timeline on when it can be done.

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: marky

79600916

Date: 2025-04-30 18:36:02
Score: 1
Natty:
Report link

For such a simply action why not simply use:

@inject NavigationManager Nav

<span class="fa fa-fighter-jet" @onclick=@(()=> Nav.NavigateTo("carMoved", 1))></span>

So use the injected NavigationManger object method directly instead of cluttering you code with doing the exact same thing.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Lester

79600914

Date: 2025-04-30 18:35:02
Score: 1
Natty:
Report link

After some try and error, mostly errors, it seems like the answer or workaround could be something like this:

$ShareDriveItemCam=Get-MgShareDriveItem -SharedDriveItemId  $SharedEncodeURLCam   -ExpandProperty "children" 

$AllFiles=Get-MgDriveItemChild  -DriveId $ShareDriveItemCam.ParentReference.DriveId -DriveItemId $ShareDriveItemCam.Id  -All

Where $SharedEncodeURLCam is the encoded weburl of folder of intrest.

Using Get-MgDriveItemChild returns all 5000+ objects of the shared folder.

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Erik Arndal

79600907

Date: 2025-04-30 18:30:00
Score: 0.5
Natty:
Report link

As with scrat_squirrel answer.

sudo apt-get install qt5-assistant 

That actually was found for my raspberry pi4 running on a uname of

"Raspbian GNU/Linux 12 (bookworm)" and apt-get found the qt5 assistant meaning qmake was installed but without network, gui, and core. So I found this post and scrat_squirrels post and tried the install:

sudo apt-get install qtbase-dev

and poof! my PixyMon was able to build with only a few warnings....nothing fatal anymore. Thanks for this thread and posts my PixyCam seems to build all the scripts.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Agrapha

79600900

Date: 2025-04-30 18:26:59
Score: 4
Natty:
Report link

I would start by ensuring that the Template's Phases and Template's Artifacts are both actually populated by the template. If they are, the next thing I would check is your privacy rules. If there are privacy rules blocking the viewing of Phases, or Artifacts in the template, but not the Name, this could be why your only seeing name populated in the project object.

If this doesn't work, can you provide more information about what is happening via bubble.io's debugger when you trigger the workflow? This would be a good way to verify that you can access the data you are trying to copy over.

Reasons:
  • RegEx Blacklisted phrase (2.5): can you provide
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: ben

79600899

Date: 2025-04-30 18:25:58
Score: 0.5
Natty:
Report link

This is an easier way to do it.

Snippet:

def subset(a, b):
    set_a = {tuple(item.items()) for item in a}
    set_b = {tuple(item.items()) for item in b}
    
    return set_a.issubset(set_b)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Adios Gringo

79600898

Date: 2025-04-30 18:25:58
Score: 0.5
Natty:
Report link

In case anyone get stuck with subprocess.run(..., cwd=long_name_dir), I have tried more or less everything, and at some point chatgpt told me that apparently the part of Windows that get called here still has a hard 260 limit. It attached a source (which seems irrrelevant to me but I can't be bothered to read it all). Thankfully in my case I could set cwd to any other temporary directory.

Reasons:
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: DL33

79600895

Date: 2025-04-30 18:24:58
Score: 2.5
Natty:
Report link

If you're sure that Developer Options and USB Debugging are enabled, and you were previously able to connect to Android Studio, simply try restarting your phone...

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Peyman

79600889

Date: 2025-04-30 18:21:57
Score: 0.5
Natty:
Report link

@honzajscz's solution is still correct in spirit, however the structure of the Windows Terminal settings.json file has changed since 2021.

Commenting out the line "keys": "ctrl+v" as shown below worked for me.

screenshot of the relevant section of settings.json

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Whitelisted phrase (-1): solution is
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @honzajscz'sis
  • Low reputation (0.5):
Posted by: mmseng

79600886

Date: 2025-04-30 18:20:56
Score: 1.5
Natty:
Report link

$size = 1MB
did you try changing it? I'm really asking, no sarcasm.

Reasons:
  • Whitelisted phrase (-2): did you try
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Don

79600885

Date: 2025-04-30 18:20:56
Score: 2.5
Natty:
Report link

First install JDK, My location: C:\Program Files\Java\jdk-24

Please check the image, and work through step by step (update for 2025)

enter image description here

enter image description here

enter image description here

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: jam j

79600884

Date: 2025-04-30 18:20:56
Score: 1
Natty:
Report link

Allowing the xunit.assert to be referenced from ... where ever it is otherwise referenced from (instead of via xunit) seems to have solved the issued.

<!-- 
<PackageReference Include="xunit" Version="2.9.3" />    
-->
<PackageReference Include="xunit.core" Version="2.9.3" />   
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: mn_test347

79600864

Date: 2025-04-30 17:58:52
Score: 1.5
Natty:
Report link

I think using the Data View tool within PyCharm is the easiest. After you run your program, open Data View using View Menu -> Tool Windows -> Scroll Down the list since Data View might not show at first glance and select Data View.

From there you can select/type the name of an object, like your Data Frames, and view it as a table with scroll bars to view the data in an easy/typical way.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: AFG

79600857

Date: 2025-04-30 17:53:50
Score: 1
Natty:
Report link

wait for the css animation to complete, then trigger a window resize event.

  toggleSidenav() {
  this.isExpanded = !this.isExpanded;
    setTimeout(() => {
    window.dispatchEvent(new Event('resize'));
  }, 400);
  }
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Sean Miller

79600850

Date: 2025-04-30 17:43:48
Score: 5
Natty:
Report link

I have the same issue, This is how I setup kotlinx.serialization based on the guide from their github page https://github.com/Kotlin/kotlinx.serialization and the same with here.
From step 1, it is not clear where to put this code

plugins {
    kotlin("jvm") version "2.1.20" // or kotlin("multiplatform") or any other kotlin plugin
    kotlin("plugin.serialization") version "2.1.20"
}

Then I put it into build.gradle.kts at project-level, since adding into module-level gives me error.

On step 2, I am adding dependency into my build.gradle.kts at module-level:

dependencies {
    ...
    implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.8.1")
}

But after I add annotation on my data class it gives me warning.

How I solve

I am adding the plugin.serialization into build.gradle.kts at module-level:

plugins {
    ...
    kotlin("plugin.serialization") // add this
}

Then sync your gradle

Reasons:
  • Blacklisted phrase (1): I have the same issue
  • Blacklisted phrase (2): gives me error
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): I have the same issue
  • Low reputation (0.5):
Posted by: Fuad Reza

79600847

Date: 2025-04-30 17:41:47
Score: 3.5
Natty:
Report link

Me, asks how to fit a image in a fieldset. Google="Here is a discussion from 10 years ago"

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Creative

79600844

Date: 2025-04-30 17:39:47
Score: 1
Natty:
Report link

The root cause of this (still using file:// syntax in the AWS CLI V1's bundled installer's install script) has been addressed in 1.40.4 on 2025-04-29 via https://github.com/aws/aws-cli/pull/9420. Let us know if you're still seeing the issue with V1 installers published after that date.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: ashovlin

79600830

Date: 2025-04-30 17:27:44
Score: 1
Natty:
Report link

You're missing a key line in App.config that actually enables console output.

To fix it, simply add this line to your <appSettings>:

<add key="serilog:write-to:Console" />

This tells Serilog to use the Console sink that you already loaded via serilog:using:Console

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Dart Talon

79600827

Date: 2025-04-30 17:24:43
Score: 3.5
Natty:
Report link

Sorry for the trouble. I have found the issue. We need to set "github.copilot.chat.copilotDebugCommand.enabled" to false to resolve the issue.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: AMIT DUTTA

79600819

Date: 2025-04-30 17:20:42
Score: 1.5
Natty:
Report link

That is an old version that might have a bug with it, so you could try installing a 2025 version instead of a 2023 version. It seems to have to do with the CodeWithMe plugin, so you could try manually deleting that plugin which you can do by deleting its directory which should be located at :

C:\Users\<user>\AppData\Roaming\JetBrains\PyCharmCE2023.3\plugins\

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Shane Zarechian

79600815

Date: 2025-04-30 17:19:41
Score: 7.5 🚩
Natty:
Report link

Did it work please ? I have the same issue I waork with thehive 5 and elastic8 when i enable xpack.security.enabled: true thehive doesn't work

Reasons:
  • Blacklisted phrase (1): I have the same issue
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I have the same issue
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did it
  • Low reputation (1):
Posted by: Elk8

79600813

Date: 2025-04-30 17:17:41
Score: 2
Natty:
Report link

A workaround that worked for me:

Project Properties > Web > Servers: uncheck the 'Apply server settings to all users (store in project file)' option.

Location of the refered option

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Renato Mestre

79600811

Date: 2025-04-30 17:17:41
Score: 2.5
Natty:
Report link

docker buildx history rm --all <REF>

is what you are looking for

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: jerepen

79600810

Date: 2025-04-30 17:17:40
Score: 0.5
Natty:
Report link

Thanks to @woxxom who nudged me in the right direction. The solution is to use runtime.getURL() as "initiatorDomains".

let url = chrome.runtime.getURL("").split("/").filter(a => a != "");
let id = url[url.length - 1];
let rule = 
[{
    "id": 1,
    "priority": 1,
    "action": {
        "type": "modifyHeaders",
        "requestHeaders": [{ "header": "origin", "operation": "remove" }]
    },
    "condition": { "urlFilter" : "example.com", "initiatorDomains": [id]}
}];

This solution works in chrome and firefox.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Whitelisted phrase (-1): solution is
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: gamebeaker

79600808

Date: 2025-04-30 17:14:40
Score: 0.5
Natty:
Report link

you can use relative path to identify your target element

syntax:

//tagName[ @Attribute='AttributeValue']

<input type='button'> --> input - tagName , type -> Attribute , button -> Attribute Value

// button[ @type='button'] -- > in your case , this identified more than 15 elements , so you are trying to hardcoded 15 element

so we can also use some conditional statement also like and , or key word

let suppose your element has some other attribute and value are avaialble

let

<button type="button" name="submit"> Button Field </button>

//button[ @type='button' and @name='submit'] --> here we used and condition ( if both matched then only it will try to identify the element)

//button[ @type='button' or @name='submit'] --> here we used or condition ( if any one of the attribute matched then it will identify element)

by using above and and or condition , may be your count will be definaltely reduced ( earlier it identified more than 15 elements)

if suppose even after applied and or or conditions still you are not able to identify the elements uniquely

then you can also use the xpath axes

parent , child , ancestor , descendant , siblings

//tagName[@Attribute='value']//parent::tagName

//tagName[@Attribute='value']//child::tagName

//tagName[@Attribute='value']//ancestor::tagName

//tagName[@Attribute='value']//descendant::tagName

//tagName[@Attribute='value']//following-sibling::tagName//child::tagName

you can also identify by using contains , starts-with , normalize-space, text method also

//tagName[contains(@attribute, 'Attributevalue']

//tagName[starts-with(@attribute, 'Attributevalue']

//tagName[text()='Attributevalue']

//tagName[normalize-space(@attribute), 'Attributevalue']

By using all of these techniques you can able to uniquely identify element

please share the html code we can help yu better way

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Whitelisted phrase (-1): in your case
  • RegEx Blacklisted phrase (2.5): please share
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Brahmananda Reddy Sadhu

79600795

Date: 2025-04-30 17:03:37
Score: 1.5
Natty:
Report link

It was issue with pooling on EF Core, so just disabling it in my connection strings helped me

var connection = new SqliteConnection($"Filename{databasePath};Mode=ReadWriteCreate;Pooling=False");
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Bohdan

79600792

Date: 2025-04-30 17:00:37
Score: 2.5
Natty:
Report link

https://github.com/ZXShady/enchantum

claims to be a faster alternative than magic enum` and conjure enum

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: user24551355

79600790

Date: 2025-04-30 16:59:36
Score: 2
Natty:
Report link

Make it simple

Text(timerInterval: Date()...endTime)
    .monospacedDigit()
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Jyferson Colina

79600773

Date: 2025-04-30 16:50:33
Score: 0.5
Natty:
Report link

Another option to set httpClient with proxy on Java1.8 or above.

HttpClient httpClient = HttpClient.create().proxy((proxy -> proxy.type(ProxyProvider.Proxy.HTTP)//
                .host("proxyHost").port(Integer.parseInt("proxyPort"))));
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Krishna

79600765

Date: 2025-04-30 16:47:32
Score: 2.5
Natty:
Report link

Mystery illuminated .... if not fully resolved. What happened is that the Run/Debug configuration was deleted. How could that happen? This link explains a "Known Issue" that will "remove run configuration information" from projects opened with AS Ladybug.

Run configuration information removed

I have suspicions that later AS versions still exhibit the issue. I was using Meerkat, but I can't be sure that version caused the problem. View the link for the background information.

MAKE SURE YOUR VCS IS WORKING. You will have to restore your project. (I learned the hard way.)

Reasons:
  • Blacklisted phrase (1): This link
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: JAW

79600759

Date: 2025-04-30 16:44:31
Score: 0.5
Natty:
Report link

scanf("%d", number); //replace this line with this: ( scanf("%d", &number); )
also replace this line: ( case '1': ) with this: ( case 1: )

In the first one you missed the & before the variable number.
In the second one you put the number '1' between single quotations so you are converting the number to a character so you need to remove the single quotations.

I hope it will help you to solve your problem

Reasons:
  • Whitelisted phrase (-1): hope it will help
  • No code block (0.5):
  • Low reputation (1):
Posted by: Abdelkhalek buisness

79600756

Date: 2025-04-30 16:43:31
Score: 2.5
Natty:
Report link

To turn off the document root option, you can do this from "Tweak Settings" inside your WHM.

Search for "Tweak Settings".
Once the screen loads go to the Domains tab.

Then scroll right to the bottom (3rd from bottom on my version)
And toggle the value below from On to Off.

Restrict document roots to public_html

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: UrbanwarfareStudios

79600731

Date: 2025-04-30 16:28:27
Score: 1.5
Natty:
Report link

Your code sample is incomplete so it is impossible to reproduce.

Does it work if you simplify your plotting to this?

import matplotlib.pyplot as plt
import geopandas as gpd

df = gpd.read_file(r"C:\Users\bera\Desktop\gistest\world.geojson")
fig, axes = plt.subplots(nrows=3, ncols=1, figsize=(3, 6))

df.plot(ax=axes[0], color="red")
axes[0].set_title("Red")
df.plot(ax=axes[1], color="blue")
axes[1].set_title("Blue")
df.plot(ax=axes[2], color="green")
axes[2].set_title("Green")

enter image description here

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-1):
Posted by: Bera

79600727

Date: 2025-04-30 16:24:26
Score: 0.5
Natty:
Report link
while (CanRun)
{
    await Dispatcher.RunIdleAsync((_) =>
    {
        if (!CanRun) return;

        DoSomeOperation();
    });

   Dispatcher.ProcessEvents(CoreProcessEventsOption.ProcessOneAndAllPending);
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Cassius

79600724

Date: 2025-04-30 16:21:25
Score: 2
Natty:
Report link

any one please provide me correct pine script because of this script show agai-again error .

//@version=5
strategy("Pivot Breakout with 20 SMA", overlay=true, margin_long=100, margin_short=100)

// Inputs
use_percent = input.bool(title="Use % for TP/SL", defval=true)
tp_perc     = input.float(title="Take Profit (%)", defval=1.0)
sl_perc     = input.float(title="Stop Loss (%)",  defval=0.5)
tp_points   = input.float(title="Take Profit (points)", defval=10.0)
sl_points   = input.float(title="Stop Loss (points)",  defval=5.0)

// Previous day OHLC
prevHigh  = request.security(syminfo.tickerid, "D", high[1])
prevLow   = request.security(syminfo.tickerid, "D", low[1])
prevClose = request.security(syminfo.tickerid, "D", close[1])

// Pivot points
pp = (prevHigh + prevLow + prevClose) / 3
r1 = 2 * pp - prevLow
s1 = 2 * pp - prevHigh
r2 = pp + (prevHigh - prevLow)
s2 = pp - (prevHigh - prevLow)
sma20 = ta.sma(close, 20)

// Plotting
plot(pp, title="Pivot PP", color=color.blue)
plot(r1, title="R1", color=color.green)
plot(s1, title="S1", color=color.red)
plot(r2, title="R2", color=color.new(color.green, 50), style=plot.style_dashed)
plot(s2, title="S2", color=color.new(color.red, 50), style=plot.style_dashed)
plot(sma20, title="20 SMA", color=color.orange)

// Conditions
breakPrevHigh = close > prevHigh and close[1] <= prevHigh
breakR1 = close > r1 and close[1] <= r1
buySignal = (breakPrevHigh or breakR1) and (close > sma20)

breakPrevLow = close < prevLow and close[1] >= prevLow
breakS1 = close < s1 and close[1] >= s1
sellSignal = (breakPrevLow or breakS1) and (close < sma20)

// Pre-calculate SL/TP values
sl_long = use_percent ? close * (1 - sl_perc / 100) : close - sl_points
tp_long = use_percent ? close * (1 + tp_perc / 100) : close + tp_points
sl_short = use_percent ? close * (1 + sl_perc / 100) : close + sl_points
tp_short = use_percent ? close * (1 - tp_perc / 100) : close - tp_points

// Entry and exit for long
if (buySignal)
    strategy.entry("Long", strategy.long)
    strategy.exit("Exit Long", from_entry="Long", stop=sl_long, limit=tp_long)

// Entry and exit for short
if (sellSignal)
    strategy.entry("Short", strategy.short)
    strategy.exit("Exit Short", from_entry="Short", stop=sl_short, limit=tp_short)

// Plot signals
plotshape(buySignal, title="Buy", location=location.belowbar, color=color.green, style=shape.triangleup, size=size.small)
plotshape(sellSignal, title="Sell", location=location.abovebar, color=color.red, style=shape.triangledown, size=size.small)
Reasons:
  • RegEx Blacklisted phrase (2.5): please provide me
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Roshan Thakur

79600721

Date: 2025-04-30 16:19:24
Score: 0.5
Natty:
Report link

export async function calculateMeanDeviation(args: number[]) {
 const sharedFunction = await import('my-shared-library').then(lib => lib.functionName)
 ...
 const results = sharedFunction(args)
 ....
}

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Mitesh Mehta

79600717

Date: 2025-04-30 16:16:24
Score: 2.5
Natty:
Report link

You want to check if value has values(): Try isinstance(value, dict) and any(value. Values()) – JonSG

It works!

Thank you!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: rtn60350

79600709

Date: 2025-04-30 16:10:21
Score: 11.5 🚩
Natty: 4.5
Report link

Does anyone have an answer for this? I'm facing the same problem of @monkeybonkey

Reasons:
  • Blacklisted phrase (1): m facing the same problem
  • RegEx Blacklisted phrase (3): Does anyone have an answer
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I'm facing the same problem
  • Contains question mark (0.5):
  • User mentioned (1): @monkeybonkey
  • Single line (0.5):
  • Low reputation (1):
Posted by: brvboas

79600702

Date: 2025-04-30 16:05:20
Score: 2
Natty:
Report link

The accepted answer did not work for me. This did, credit https://github.com/microsoft/vscode/issues/239844#issuecomment-2705545349

Now I can actually read svg file code again.

Reasons:
  • Blacklisted phrase (1): did not work
  • Low length (0.5):
  • No code block (0.5):
Posted by: patrickzdb

79600700

Date: 2025-04-30 16:04:19
Score: 0.5
Natty:
Report link

This is straight from Google AI, and seems to work well for me.

import ctypes

def focus_console():
    kernel32 = ctypes.windll.kernel32
    user32 = ctypes.windll.user32
    SW_SHOW = 5
    console_window = kernel32.GetConsoleWindow()
    if console_window:
        user32.ShowWindow(console_window, SW_SHOW)
        user32.SetForegroundWindow(console_window)

# Example usage (assuming driver is already initialized and a browser window is open)
# ... your Selenium code to launch the browser ...
focus_console()
# ... continue with console-based operations ...

Reference: https://www.google.com/search?q=how+to+bring+console+window+back+to+focus+after+launching+browser+window+selenium+python&rlz=1C1GCCA_enUS1080US1080&oq=how+to+bring+console+window+back+to+focus+after+launching+browser+window+selenium+python&gs_lcrp=EgZjaHJvbWUyBggAEEUYOdIBCTE3NDA5ajBqN6gCALACAA&sourceid=chrome&ie=UTF-8

Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: b-frid

79600698

Date: 2025-04-30 16:03:19
Score: 1.5
Natty:
Report link

For the ‘ValueError’, your JSON file is not in the format that the ReadFromJson are expecting. Instead of one object per line, it is reading your JSON file as one big array of JSON objects.

ReadFromJson does not support array type of objects, so the best you can do is to reformat your JSON file to a ‘one object per line’.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: marky

79600695

Date: 2025-04-30 16:01:18
Score: 3.5
Natty:
Report link

I'm not too familiar with Vapor but my first suspicion is that there's a cache somewhere that's having to "warm up" again after each fresh deployment, though you mention that you've already looked into that area. One person on https://www.reddit.com/r/laravel/comments/rgvdvj/laravel_bootstrapping_slow/ mentions PHP's OPcache config settings as a possible culprit (in particular see https://www.reddit.com/r/laravel/comments/rgvdvj/comment/honqsd4/). Maybe something to look into?

Reasons:
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Stephen Tuttlebee

79600678

Date: 2025-04-30 15:53:16
Score: 1.5
Natty:
Report link

An alternative for countdown timer and stop timer is

Text(timerInterval: Date()...endTime)
   .monospacedDigit()
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Jyferson Colina

79600676

Date: 2025-04-30 15:52:16
Score: 1.5
Natty:
Report link

This is great until you figure out that the legacy version of ASP you are running adds a new connection to the JQuery.js (which ever version) file (in some cases) when using web form validation combination of asp.net 4.5 Web Forms Unobtrusive Validation jQuery Issue and this How to find the source of a rogue script call in WebForms should have worked, but only a partial success...

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: aegsomweb

79600664

Date: 2025-04-30 15:44:14
Score: 4
Natty: 5
Report link

It looks like this is probably a bug in Node.js: https://github.com/nodejs/undici/issues/3492

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: neoncube

79600662

Date: 2025-04-30 15:42:13
Score: 2
Natty:
Report link

Using bun --bun run or bunx --bun drizzle-kit forces it to respect bun's env file loading

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Victor

79600658

Date: 2025-04-30 15:41:13
Score: 2
Natty:
Report link

I had the same issue. On the VM we had a few Path Environment Variables set to %SystemRoot%. Removing those and rebooting the machine resolved the issue (note that just restarting the Azure Listening agent didn't work).

Reasons:
  • Whitelisted phrase (-1): I had the same
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Kurt V

79600650

Date: 2025-04-30 15:37:11
Score: 1
Natty:
Report link

You can use the tag surrounded by the anchor tag, like this: your button's content Don't rely on one tutorial alone, always consult as many sources as you can to solve a problem.

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Niel

79600646

Date: 2025-04-30 15:36:11
Score: 4.5
Natty:
Report link

Thanks for the helpful tips, I was able to solve the problem because of them.

Regards, Nico

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): Regards
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Nicolas Gumpert

79600637

Date: 2025-04-30 15:32:09
Score: 2
Natty:
Report link

Using background-size:cover and background-attachment:fixed together can lead to unexpected behavior, especially when the element is smaller than the viewport. The background image will be scaled to cover the viewport's height, potentially causing it to appear larger or stretched on the element. This is because background-attachment:fixed makes the background image behave as if it's a position:fixed element, causing it to be relative to the viewport, not the element itself.

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Squishy

79600636

Date: 2025-04-30 15:32:09
Score: 2.5
Natty:
Report link

If you use .def files (Module Definition File) dont forget to include it in the project properties. Otherwise, it is understood that it does not export anything. Therefore, it wont create the .lib file.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Ziad AbouWasa

79600631

Date: 2025-04-30 15:30:09
Score: 3.5
Natty:
Report link
 It means DIIIIIIIIIII1111111111111CCCCCCCCCCCCKKKKKKKKKKKKKKKKKKK
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: gibby

79600628

Date: 2025-04-30 15:29:08
Score: 4
Natty:
Report link

It got fixed when I created a new mail server

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Pain In Kabir

79600619

Date: 2025-04-30 15:25:07
Score: 1
Natty:
Report link

Very late, but another way to approach this problem is to use lists and the max() function.

Once the three numbers have been entered, initialize a list to empty. Examine each number, and if it is odd, add it to the list. If the list is still empty at the end of this, then none of the numbers are odd. If the list is not empty, use the max() function on it to get the largest number (ie., let it do all the necessary comparisons for you).

There might still be some things to watch out for, such as negative numbers, non-integer numbers, or more than one number having the same value. The conditions of the problem as outlined do not say if any of these are possible.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Anton Treuenfels

79600615

Date: 2025-04-30 15:22:06
Score: 0.5
Natty:
Report link

This script works for me:


#!/bin/bash

echo "Procurando mysqld zumbis que travam ibdata1..."

for file in $(find . -name ibdata1); do
 echo "Verificando arquivo: $file"
 pid=$(sudo fuser "$file" 2>/dev/null)
 for p in $pid; do
      if ! grep -q "/docker/" /proc/$p/cgroup; then
       echo "Matando mysqld fora do Docker (PID $p) que está usando $file"
       sudo kill -9 $p
      fi
  done
done
Reasons:
  • Blacklisted phrase (1): está
  • Whitelisted phrase (-1): works for me
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Salvio Furbino

79600609

Date: 2025-04-30 15:20:06
Score: 1.5
Natty:
Report link

This problem looks similar to an Issue report on the Mapbox GL JS GitHub repository, which was also experienced by two users of our service recently, on desktop Google Chrome.

One piece of information missing from this question is whether this 403 response was cached by the browser.

In the case that it was, it aligns with the issue I linked above. Clearing the Chrome browser cache solved it for our users and the reporter of the GitHub Issue, but this had to be done in a specific way.

Methods that worked, in Chrome & derivatives:

Other cache clearing methods did not work, such as Application -> Clear site data or a Hard Refresh. I don't know why.

I suspect the issue might have been caused by the usage of an old v1.x Maplibre/Mapbox GL JS version in combination with a years-old service worker cache of Mapbox tiles.

Reasons:
  • Blacklisted phrase (1): did not work
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Thor Galle

79600608

Date: 2025-04-30 15:19:06
Score: 2.5
Natty:
Report link

fix your "localhost task" as follow:

- name: execute localhost
  command: echo "Hello, localhost!"
  delegate_to: localhost
  connection: local
  vars:
    ansible_connection: local

TheUncleRemus

Reasons:
  • Contains signature (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: TheUncleRemus

79600592

Date: 2025-04-30 15:08:02
Score: 16.5 🚩
Natty: 4
Report link

I'm implementing a native expo-module using WireGuard and got the same error.

Adding the #include <sys/types.h> line fixed this error, but I got multiple errors in .h files in the DoubleConversion Pod: Unknown type name 'namespace'

Does somebody have the same problem? How did you fix it?

Reasons:
  • Blacklisted phrase (1): How did you fix
  • RegEx Blacklisted phrase (3): did you fix it
  • RegEx Blacklisted phrase (1.5): fix it?
  • RegEx Blacklisted phrase (3): Does somebody have
  • RegEx Blacklisted phrase (2): but I got multiple error
  • Low length (0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): have the same problem
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: MDI

79600589

Date: 2025-04-30 15:06:01
Score: 3.5
Natty:
Report link

The problem has been fixed by the Nuke Build project mantainer.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: g.cacciapaglia

79600588

Date: 2025-04-30 15:06:00
Score: 0.5
Natty:
Report link

From Java 11 onwards, the package is called jakarta.xml.bind instead. It is also no longer part of the JRE/JDK (i.e. the standard library), so you have to add these Maven coordinates for an additional dependency: jakarta.xml.bind:jakarta.xml.bind-api:4.0.2 (probably a newer version when you read this).

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
Posted by: ᴠɪɴᴄᴇɴᴛ

79600587

Date: 2025-04-30 15:06:00
Score: 1
Natty:
Report link
services:

  db:
    image: mysql
    command: mysqld --default-authentication-plugin=mysql_native_password
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Pavel Trzaskalik

79600583

Date: 2025-04-30 15:03:00
Score: 1
Natty:
Report link

I'm sure this isn't the best way about this, but extending the class doesn't allow access to the class's private members (properties and functions!) which made overriding the GLSL difficult or impossible. So, I took the entire WebGLTile file, copied it and put it with my own code. I had to alter all relative path imports from . to ol/ but it worked.

I was able to change the GLSL in the private parseStyle method/function. While this achieves my goal, I realize that copying this class will likely cause compatibility issues in the future. If there is a better way to do this by extending the class, I'm still open to any and all suggestions. Thanks!!!

enter image description here

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Whitelisted phrase (-1): it worked
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Chris Jarzynka

79600580

Date: 2025-04-30 15:02:00
Score: 2
Natty:
Report link

In case that your are sending date from client to server, you need to send it as ISOString which means you are sending a UTC(Coordinated Universal Time) date. Then, when you retrieve it from the server you can format it as you please.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Randy Pena

79600579

Date: 2025-04-30 15:02:00
Score: 2.5
Natty:
Report link

This was not due to anything CodeBuild or gradle.
Someone on the team got overly zealous about adding things to the .gitignore file that was keeping some needed files out.

Sorry for the fire drill.
Thanks for your responses!

Props to intellij for showing ignored filenames in a different color - that was the hit I needed!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (0.5): I need
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: SRJ

79600573

Date: 2025-04-30 14:55:58
Score: 3
Natty:
Report link

there is a editor.action.moveSelectionToNextFindMatch command, which does exactly what cmd+d does, but without creating multiple cursors

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Michael Solomianiuk

79600568

Date: 2025-04-30 14:54:57
Score: 11
Natty: 7.5
Report link

Did you get any solution for this https://stackoverflow.com/users/22211848/dmns

Reasons:
  • Blacklisted phrase (1.5): any solution
  • Blacklisted phrase (1): stackoverflow
  • RegEx Blacklisted phrase (3): Did you get any solution
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: Krati Thakur

79600557

Date: 2025-04-30 14:51:56
Score: 2.5
Natty:
Report link

Even if you change their names, game resources are still stored in plaintext and anybody could potentially rip them. Instead, consider compiling export templates with PCK encryption to achieve your goal.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: liggiorgio

79600553

Date: 2025-04-30 14:47:55
Score: 2.5
Natty:
Report link

You have entered an incorrect path specified for the hadoop-streaming.jar file in your gcloud command. Try using this path: /usr/lib/hadoop-mapreduce/hadoop-streaming.jar

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: shiro

79600552

Date: 2025-04-30 14:45:54
Score: 1
Natty:
Report link
#!/bin/ksh -a

export PATH=/bin:/usr/bin:${PATH}
export DBOID=$(ps -o user -p $$ | awk 'NR == 2 { print $1 }')
#export DBOHOME=$(finger -m ${DBOID} | sed -n 's/Directory:[     ]*\([0-9a-zA-Z/]*\)[    ]*Shell:.*/\1/p' | uniq)
export DBOHOME=$HOME
export SOURCEFILE="${DBOHOME}/bin/shell/DBA_Support_Maint_Env.ksh"

### ----------------------------------------------------------------------------
### function to prevent the users to run this script in the debug mode or
### verbose mode
### ----------------------------------------------------------------------------
function f_Chk_InvkMode
{
  typeset -u V_INVK_STR=$1
  V_INVK_STR_LN=`echo ${V_INVK_STR} | wc -m`
  while [ ${V_INVK_STR_LN} -gt 0 ]
  do
    V_INVK_CH=`echo ${V_INVK_STR} | cut -c${V_INVK_STR_LN}`
    V_INVK_STR_LN=`expr ${V_INVK_STR_LN} - 1`
    if [[ "${V_INVK_CH}" = "X" || "${V_INVK_CH}" = "V" ]]
    then
      echo "                                                  "
      echo "You can not run this program in debug/verbose mode"
      echo "                                                  "
      exit 1
    fi
  done
}
f_Chk_InvkMode $-
### End of f_Chk_InvkMode function.
### ----------------------------------------------------------------------------

function f_lGetDT
{
  V_DATE=`date | tr "[:lower:]" "[:upper:]" | awk '{ print $2"-"$6" "$4 }'`
  V_DY=`date | awk '{ print $3 }'`
  if [ ${V_DY} -lt 10 ]
  then
    V_DY="0${V_DY}"
  fi
  V_DATE="${V_DY}-${V_DATE}"
  V_DATE="[${V_DATE}]\t "
  echo ${V_DATE}
}

### ----------------------------------------------------------------------------
### Function to show the help menu.
### ----------------------------------------------------------------------------
function f_help
{
  echo " "
  echo "\tUsage : "
  echo " "
  echo "\t\tData_Pump_Backup.ksh <Instance Name> <User Name>"
  echo " "
  exit 1
}
### end of f_help function.
### ----------------------------------------------------------------------------


### ----------------------------------------------------------------------------
### Function to check export the schema statistics to a table.
### ----------------------------------------------------------------------------
function f_Exp_Stats
{
  typeset -u v_statsexp_tab="DPUMP_DB_SCMA_STATS"
  echo " "
  echo "`f_lGetDT`Exporting the schema statistics into ${v_statsexp_tab} table ..."
  ${ORACLE_HOME}/bin/sqlplus -s -L -R 3 <<-EOFSQL
  ${OUSER}
  WHENEVER OSERROR EXIT 9
  WHENEVER SQLERROR EXIT SQL.SQLCODE
  DECLARE
    v_tab_cnt NUMBER := 0;
    v_tname   VARCHAR2(30) := '${v_statsexp_tab}';
  BEGIN
    -- if the table exists drop it first.
    SELECT count(1) INTO v_tab_cnt
    FROM user_tables
    WHERE table_name = v_tname;
    IF v_tab_cnt >=1 THEN
      EXECUTE IMMEDIATE 'DROP TABLE '||v_tname||' PURGE';
    END IF;

    -- Creating the table to hold the schema statistics.
    dbms_stats.create_stat_table(ownname => user,
                                 stattab => v_tname);
    -- Exporting the schema statistics.
    dbms_stats.export_schema_stats(ownname => user,
                                   stattab => v_tname);
  EXCEPTION
    WHEN others THEN
      RAISE_APPLICATION_ERROR(-20001,sqlerrm);
  END;
  /
        EOFSQL

  if [ $? -ne 0 ]
  then
    echo " "
    echo "`f_lGetDT`ERROR: in exporting the schema statistics."
    return 1
  else
    echo " "
    echo "`f_lGetDT`SUCCESS: Schema statistics export is completed to ${v_statsexp_tab}."
  fi
}
### End of f_Exp_Stats function.
### ----------------------------------------------------------------------------





### ----------------------------------------------------------------------------
### Function the compress the data pump files using the gzip command currently.
### It is using DPUMP_MAX_ZIP to fire a corresponding number of compression
### programs, until exhausted the to-be-compressed files
### Global Variable: v_dir_path, DPTAG_NAME
### ----------------------------------------------------------------------------
function f_gzip_files
{
        typeset v_zip_cmd="gzip"
        typeset flist="/tmp/._z_${UNIQ}"

        ls -1 ${v_dir_path}/${DPTAG_NAME}*.dmp >${flist} || {
                echo "$(f_lGetDT)ERROR: cannot write to temporary file ${flist}, f_gzip_files()"
                return 1
        }
        typeset -i bef_file_sz=$( ls -l ${v_dir_path}/${DPTAG_NAME}*.dmp | awk '{ sum += $5 } END { printf "%d", sum/1024 }' )
        echo "$(f_lGetDT)Total no of data dump files before compress: $(wc -l <${flist})."
        echo "$(f_lGetDT)Total size of all data dump files before compress: ${bef_file_sz} KB."
        echo "$(f_lGetDT)max concurrent of zip: ${DPUMP_MAX_ZIP} ."
        typeset start_dt="$(date '+%F %T')"
        for dpfile in $(<${flist})
        do
                echo "$(f_lGetDT)${v_zip_cmd} ${dpfile}..."
                ${v_zip_cmd} -f ${dpfile} &
                sleep 1
                while [ $(jobs | wc -l) -ge ${DPUMP_MAX_ZIP} ]
                do
                                sleep 5
                done
        done
        #- wait for all background process completed
        echo "$(f_lGetDT)No more, waiting for all background ${v_zip_cmd} processes to complete..."
        wait
        typeset -i l_rc=0
        #- check the original list, it should be 0 since all *.dmp should have
        #- converted to *.dmp.gz by now
        if [ $(ls -1 $(<${flist}) 2>/dev/null | wc -l) -ne 0 ]; then
                echo "$(f_lGetDT)ERROR: The ${v_zip_cmd} completed, but the counts don't seem to match..."
                echo "$(f_lGetDT)ERROR: There are still .dmp files for this tag..."
                l_rc=1
        else
                typeset -i aft_file_sz=$( ls -l ${v_dir_path}/${DPTAG_NAME}*.dmp.gz | awk '{ sum += $5 } END { printf "%d", sum/1024 }' )
                echo "$(f_lGetDT)The ${v_zip_cmd} completed successfully, ${start_dt} - $(date '+%F %T')."
                echo "$(f_lGetDT)bef_file_sz=${bef_file_sz} KB & aft_file_sz=${aft_file_sz} KB"
                l_rc=0
        fi
        rm -f ${flist}
        return ${l_rc}
}
### End of f_gzip_files function.
### ----------------------------------------------------------------------------


### ----------------------------------------------------------------------------
### Function to start the data pump. This will generate the data pump parameter
### file on the fly and kick the data pump using that parameter file.
### ----------------------------------------------------------------------------
function f_data_pump
{
  DPJOB_NAME="EXPDP${UNIQ}"
  echo " "
  echo "`f_lGetDT`Data Pump JOB Name : ${DPJOB_NAME}"
  DPJOB_PARFILE="${DPJOB_NAME}.par"
  touch ${DPJOB_PARFILE}
  chmod 700 ${DPJOB_PARFILE}

  v_db_ver=`${ORACLE_HOME}/bin/sqlplus -s -L -R 3 <<-EOFSQL
  ${OUSER}
  WHENEVER OSERROR EXIT 9
  WHENEVER SQLERROR EXIT SQL.SQLCODE
  SET ECHO OFF HEAD OFF PAGES 0 FEEDBACK OFF
  SELECT replace(database_version_id,'.','_')
  FROM database_version;
        EOFSQL`

  if [ $? -ne 0 ]
  then
    return 1
  fi

  DPTAG_NAME="${V_SID}_${V_SCMA}_${v_db_ver}_${UNIQ}"
  echo " "
  echo "`f_lGetDT`Data Pump TAG Name : ${DPTAG_NAME}"

  echo " "
  echo "`f_lGetDT`Generating the expdp parameter file ..."
  echo "DIRECTORY=${v_dpdir_name}" > ${DPJOB_PARFILE}
  echo "DUMPFILE=${v_dpdir_name}:${DPTAG_NAME}_%UA%U" >> ${DPJOB_PARFILE}
  echo "LOGFILE=expdp${DPTAG_NAME}.log" >> ${DPJOB_PARFILE}
  echo "JOB_NAME=${DPJOB_NAME}" >> ${DPJOB_PARFILE}
  echo "FILESIZE=${DPUMP_MAX_SZ}G" >> ${DPJOB_PARFILE}
  echo "PARALLEL=48" >> ${DPJOB_PARFILE}
  echo "EXCLUDE=STATISTICS,AUDIT_OBJ,GRANT" >> ${DPJOB_PARFILE}
  echo "SCHEMAS=${V_SCMA}" >> ${DPJOB_PARFILE}
  echo "VERSION=19.0.0" >> ${DPJOB_PARFILE}
  if [ "${V_SCMA}" = "DM_MASTER_P" ]
  then
    cat /export/appl/datapump/adhoc/EXCLUDE_TAB_LIST >> ${DPJOB_PARFILE}
  fi
  echo "COMPRESSION=ALL" >> ${DPJOB_PARFILE}
  echo " "
  echo "`f_lGetDT`Completed the generation of expdp parameter file."
  echo " "
  echo "`f_lGetDT`Following are the parameter file contents."
  echo " "
  cat ${DPJOB_PARFILE}|sed 's/^/                /g'


  echo " "
  echo "`f_lGetDT`Starting the export data pump ..."
  ${ORACLE_HOME}/bin/expdp PARFILE=${DPJOB_PARFILE} <<-EOFDPUMP
  ${OUSER}
        EOFDPUMP

  if [ $? -ne 0 ]
  then
    echo " "
    echo "`f_lGetDT`ERROR: in the \"expdp\" operation."
    echo " "
    return 1
  else
    echo " "
    echo "`f_lGetDT`Datapump JOB is completed."
  fi

  sleep 2
  echo " "
  echo "`f_lGetDT`Reading the data pump log file to check status of the job ..."

  v_dpump_log_file="${V_SID}_${V_SCMA}_${v_db_ver}_expdp.tmp"

  ${ORACLE_HOME}/bin/sqlplus -s -L -R 3 <<-EOFSQL >> ${v_dpump_log_file}
  ${OUSER}
  WHENEVER OSERROR EXIT 9
  WHENEVER SQLERROR EXIT SQL.SQLCODE
  SET SERVEROUTPUT ON LINE 120 FEEDBACK OFF
  DECLARE
    vInHandle utl_file.file_type;
    vNewLine  VARCHAR2(300);
  BEGIN
    vInHandle := utl_file.fopen('${v_dpdir_name}','expdp${DPTAG_NAME}.log', 'R');
    LOOP
      BEGIN
        utl_file.get_line(vInHandle, vNewLine);
        dbms_output.put_line(vNewLine);
      EXCEPTION
        WHEN others THEN
          EXIT;
      END;
    END LOOP;
    utl_file.fclose(vInHandle);
  END fopen;
  /
        EOFSQL

  if [ $? -ne 0 ]
  then
    echo " "
    cat ${v_dpump_log_file}|sed 's/^/   /g'
    echo " "
    echo "`f_lGetDT`ERROR: in reading the data pump log file."
    echo " "
    return 1
  else
    cat ${v_dpump_log_file}|sed 's/^/   /g'
  fi


  if [ $(cat ${v_dpump_log_file}|grep -c "ORA-[0-9][0-9]") -ge 1 ]
  then
    echo " "
    echo "`f_lGetDT`ERROR: in data pump export. Please check the log for Oracle Errors."
    return 1
  elif [ $(cat ${v_dpump_log_file}|grep -wc "successfully completed") -eq 0 ]
  then
    echo " "
    echo "`f_lGetDT`ERROR: in completing the data pump job successfully. Please check the log."
    return 1
  fi

  # Removing the temporary files generated on the fly.
  rm -f ${v_dpump_log_file}
  rm -f ${DPJOB_PARFILE}
}
### End of f_data_pump function.
### ----------------------------------------------------------------------------


### ----------------------------------------------------------------------------
### Function to check for the temporary working directory existance. if not this
### function with create the temporary working directory.
### ----------------------------------------------------------------------------
function f_wdir_chk
{
  echo " "
  echo "`f_lGetDT`Checking for the temporary working directory ..."
  if [ ! -d ${v_wdir} ]
  then
    echo " "
    echo "`f_lGetDT`Directory \"${v_wdir}\" not found, then creating ..."
    mkdir -p ${v_wdir}
    echo " "
    echo "`f_lGetDT`Directory creation completed."
  fi
}
### End of f_wdir_chk dunction.
### ----------------------------------------------------------------------------


### ----------------------------------------------------------------------------
### Function to find out the schema type and the password for the user.
### ----------------------------------------------------------------------------
function f_Get_Stype_Pwd
{
  echo " "
  echo "`f_lGetDT`Finding the password for the ${V_SCMA}@${V_SID} ..."
## V_USR_PWD="`${DBOHOME}/admin/perl/scripts/F_GET_PWD -d ${V_SID} -u ${V_SCMA}`"
V_USR_PWD=$(get_pwd_from_mdta ${V_SID} ${V_SCMA})
  if [ $? -ne 0 ]
  then
    echo " "
    echo "`f_lGetDT`ERROR: in finding the password for ${V_SCMA}@${V_SID}."
    return 1
  else
    echo " "
    echo "`f_lGetDT`Found the password for ${V_SCMA}@${V_SID}."
  fi

  export OUSER="${V_SCMA}/${V_USR_PWD}@${V_SID}"

  echo " "
  echo "`f_lGetDT`Finding the schema type of ${V_SCMA}@${V_SID} ..."
  export v_scma_typ="`rcl stype`"

  if [ "${v_scma_typ}" = "1" ]
  then
    export v_dpdir_name="TXDB_DPUMP_DIR"
  elif [ "${v_scma_typ}" -eq "2" ]
  then
    export v_dpdir_name="ORDB_DPUMP_DIR"
  else
    export v_dpdir_name=""
  fi

##if [ "${V_SID}" ="POSS01" ]
##then
## export v_dpdir_name="TXDB_DPUMP_DIR"
##else [ "${V_SID}"= "POODS01" ]
##export  v_dpdir_name="ORDB_DPUMP_DIR"
##fi

  if [ "${v_dpdir_name}" = "" ]
  then
    echo "                                           "
    echo "`f_lGetDT`ERROR: in finding the schema type."
    echo "`f_lGetDT`ERROR: or invalid schema code.    "
    return 1
  fi
  echo "                                                                         "
  echo "`f_lGetDT`${V_SCMA}@${V_SID} Schema type code is ${v_scma_typ} (1=TX, 2=DM)"
}
### End of f_Get_Stype_Pwd function.
### ----------------------------------------------------------------------------


### The main routine starts executing from here.
export RsCeIsDgsB=$$
export V_SEVERITY=MAJOR
export TNS_ADMIN="${DBOHOME}/bin/network"

### Checking for the not of arguments supplied to this program.
if [ $# -lt 2 ]
then
  f_help
else
  typeset -u V_SID=$1
  typeset -u V_SCMA=$2
  typeset -i -x DPUMP_MAX_ZIP=${DPUMP_MAX_ZIP:-24}
  typeset -i -x DPUMP_MAX_SCP=${DPUMP_MAX_SCP:-10}
  typeset -i -x DPUMP_MAX_SZ=${DPUMP_MAX_SZ:-24}
fi


### Initilizing all the variables. Later some of this part
### can be moved to a configuration file.

export UNIQ=$(date +%Y%m%d%H%M%S)                         # Uniq value based on date to be used in log file name.
export PRFX="${V_SID}_${V_SCMA}"
export v_bdir="$HOME/stage/RC_WORK_DIR"                   # base directory for the temp working directory.
export v_wdir="${v_bdir}/${V_SID}_${V_SCMA}_expdp_${UNIQ}" # Temporary working directory.

export V_HOST="${V_SID}"                                  # Host Name for the EMM Alert.
export V_KEY="${V_SID}_PROD_DATA_PUMP"                    # EMM Alter Key
export V_SUBJECT="Data Pump backup of ${V_SCMA}@${V_SID}"  # eMail subject.

export v_log_file="${PRFX}_Data_Pump_Backup_${UNIQ}.log"  # Log file name.
export t_log_file="${PRFX}_Data_Pump_Backup_${UNIQ}.tmp"  # Temporary log file name.

#export v_autosys_inst="PA1"                               # AutoSys instance name for the production.
#export v_AutoSys_MN_box="OL#box#DSCRUB_pu01"              # this is the main box job by unix.
#export v_AutoSys_DB_box="OL#box#DSCRUB_dbstart"           # this is box job to start database and listener.
##export v_AutoSys_BCV_cmd_TX="SAN#cmd#POSS01B_CSplit"      # AutoSys JOB for TXDB BCV Split.
#export v_AutoSys_BCV_cmd_TX="UX#box#POSS01B_Snap"      # AutoSys JOB for TXDB BCV Split.
###export v_AutoSys_BCV_cmd_DM="SAN#cmd#POODS01B_CSplit"     # AutoSys JOB for ORDB BCV Split.
#export v_AutoSys_BCV_cmd_DM="SAN#box#POODS01B_Snap"     # AutoSys JOB for ORDB BCV Split.
#export v_autosys_env_file="/export/apps/sched/autouser/autosys.bash.${v_autosys_inst}"
                                                          # AutoSys environment source file.

export v_src_host="tlp-ze-bkubcv02"        # Source host name where data pump supposed to run.
export v_tx_sid="TOSSDP01"                # Transaction data base name.
export v_dm_sid="TOODSDP1"               # Data Mart data base name.
##export v_scp_target_host="vcore04-doma" # host name where dump files need to be SCPd.
#export v_scp_target_host="alp-ze-d001" # host name where dump files need to be SCPd.
#export v_scp_target_user="zjdbov"       # User name on the target host.
export v_thold_fs_size=85               # Threash hold size to keep the EMM blocker.

export ERRCODE=0    # ERRCODE for all the failures.
export EMMERRCODE=0 # ERRCODE only for EMM blocker failures.

echo "                                                      " > /tmp/${t_log_file}
echo "`f_lGetDT`This log file name is ${v_wdir}/${v_log_file}">> /tmp/${t_log_file}
f_wdir_chk >> /tmp/${t_log_file}
cd ${v_wdir}
if [ $? -ne 0 ]
then
  echo " "
  echo "`f_lGetDT`ERROR: in changing the directory ${v_wdir}"
  ERRCODE=1
else
  cat /tmp/${t_log_file} > ${v_log_file}
  rm -f /tmp/${t_log_file}
fi

#if [ ${ERRCODE} -eq 0 ]; then
#  f_Set_AutoSys_Env >> ${v_log_file}
#  if [ $? -ne 0 ]; then
#    ERRCODE=1
#  fi
#fi
#
##if [ ${ERRCODE} -eq 0 ]; then
##  f_Check_BCV_Split >> ${v_log_file}
##  if [ $? -ne 0 ]; then
##    V_MSG="BCV Split Check"
##    ERRCODE=1
##  fi
##fi

#- Source ${SOURCEFILE} only databases are expected to be available
#- Since ERRCODE gets in the SOURCEFILE, tempoarily work-around is
#- to capture ERRCODE value and set it back after sourcing SOURCEFILE
typeset l_errcode=${ERRCODE}
echo "`f_lGetDT`Sourcing the env. script files, errcode before=${ERRCODE} ..." >> ${v_log_file}
. ${SOURCEFILE}
ERRCODE=${l_errcode}
echo "`f_lGetDT`completed sourcing the script file, errcode after=${ERRCODE} ..." >> ${v_log_file}
echo "`f_lGetDT`TNS_ADMIN=${TNS_ADMIN} ..." >> ${v_log_file}



if [ ${ERRCODE} -eq 0 ]; then
  f_Get_Stype_Pwd >> ${v_log_file}
  if [ $? -ne 0 ]; then
    V_MSG="Password and user type check"
    ERRCODE=1
  else
    # data pump path in the target host.
    export v_scp_target_path="/export/appl/datapump/`echo ${v_dpdir_name}|cut -c1-4`"
  fi
fi

if [ ${ERRCODE} -eq 0 ]; then
  f_Check_Env_DB  >> ${v_log_file}
  if [ $? -ne 0 ]; then
    V_MSG="DB Environment Check"
    ERRCODE=1
  fi
fi

#if [ ${ERRCODE} -eq 0 ]; then
#  f_NPI_Scrub >> ${v_log_file}
#  if [ $? -ne 0 ]; then
#    V_MSG="NPI Scrub"
#    ERRCODE=1
#  fi
#fi
#
#if [ ${ERRCODE} -eq 0 ]; then
#  f_EMM_Blocker "BLOCK" ${v_src_host} >> ${v_log_file}
#  if [ $? -ne 0 ]; then
#    V_MSG="EMM Blocker for ${v_src_host}"
#    EMMERRCODE=1
#  fi
#fi

if [ ${ERRCODE} -eq 0 ]; then
  f_Exp_Stats >> ${v_log_file}
  if [ $? -ne 0 ]; then
    V_MSG="Statistics Export"
    ERRCODE=1
  fi
fi

if [ ${ERRCODE} -eq 0 ]; then
  f_data_pump >> ${v_log_file}
  if [ $? -ne 0 ]; then
    V_MSG="Data Pump"
    ERRCODE=1
  fi
fi

#if [ ${ERRCODE} -eq 0 ]; then
#  f_Mount_Unmount_Inst "SHUTDOWN" >> ${v_log_file}
#  if [ $? -ne 0 ]; then
#    V_MSG="UnMount Data Base"
#    ERRCODE=1
#  fi
#fi
#
#if [ ${ERRCODE} -eq 0 ]; then
#  f_gzip_files >> ${v_log_file}
#  if [ $? -ne 0 ]; then
#    export V_SEVERITY=MINOR
#    V_MSG="gzip dump file"
#    ERRCODE=1
#  fi
#fi

#if [ ${ERRCODE} -eq 0 ]; then
#  f_Check_SSH >> ${v_log_file}
#  if [ $? -ne 0 ]; then
#    export V_SEVERITY=MINOR
#    V_MSG="SSH Connectivity"
#    ERRCODE=1
#  fi
#fi

#if [ ${ERRCODE} -eq 0 ]; then
#  f_EMM_Blocker "UNBLOCK" ${v_src_host} >> ${v_log_file}
#  if [ $? -ne 0 ]; then
#    V_MSG="EMM UnBlocker for ${v_src_host}"
#    export V_SEVERITY=MINOR
#    EMMERRCODE=1
#  fi
#fi
#
#if [ ${ERRCODE} -eq 0 ]; then
#  f_EMM_Blocker "BLOCK" ${v_scp_target_host} >> ${v_log_file}
#  if [ $? -ne 0 ]; then
#    V_MSG="EMM Blocker for ${v_src_host}"
#    export V_SEVERITY=MINOR
#    EMMERRCODE=1
#  fi
#fi
#
#typeset SCPERRCODE=0
#if [ ${ERRCODE} -eq 0 ]; then
#  f_scp_files >> ${v_log_file}
#  SCPERRCODE=$?
#  #- SCPERRCODE=1 - scp error, SCPERRCODE=2 - scp WARNING
#  if [ ${SCPERRCODE} -ne 0 ]; then
#    V_SEVERITY=MINOR
#    ERRCODE=1
#    case ${SCPERRCODE} in
#    2)  V_MSG="SCP dump files, file counts are not the same between source and target hosts"
#        ;;
#    3)  V_MSG="SCP dump files, byte counts are not the same between source and target hosts"
#        ;;
#    *)
#        V_MSG="SCP dump files, check the log for more details"
#        ;;
#    esac
#  fi
#fi

#if [ ${ERRCODE} -eq 0 ]; then
#  f_EMM_Blocker "UNBLOCK" ${v_scp_target_host} >> ${v_log_file}
#  if [ $? -ne 0 ]; then
#    V_MSG="EMM UnBlocker for ${v_scp_target_host}"
#    export V_SEVERITY=MINOR
#    EMMERRCODE=1
#  fi
#fi

echo " " >> ${v_log_file}
if [ ${ERRCODE} -eq 1 -o ${EMMERRCODE} -eq 1 ]
then
  v_pager_flag="Y"
  if [ "${V_SEVERITY}" = "MINOR" ]
  then
    V_SUBJECT="WARNING: ${V_SUBJECT} (Fail at ${V_MSG})"
  else
    V_SUBJECT="ERROR: ${V_SUBJECT} (Fail at ${V_MSG})"
  fi
  banner ERROR >> ${v_log_file}
else
  v_pager_flag="N"
  V_SUBJECT="SUCCESS: ${V_SUBJECT}"
  banner SUCCESSFULL >> ${v_log_file}
fi

cp ${v_log_file} ${LOGDIR}
f_emm_alert ${v_pager_flag} Y ${v_log_file}

exit ${ERRCODE}

### End of the Script
Reasons:
  • Blacklisted phrase (1): help me
  • Long answer (-1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Jhonson

79600543

Date: 2025-04-30 14:40:53
Score: 1.5
Natty:
Report link

FFMPG has been deprecated and you will be stuck with this flutter version.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Tom

79600532

Date: 2025-04-30 14:33:51
Score: 1.5
Natty:
Report link

Replace "+" with "%2B" and space with "%20" instead of wrapping them. The encoded URL should look like these examples:

"[base_url]/rest/V1/configurable-products/Risk%2BBox/children" (without spaces)

"[base_url]/rest/V1/configurable-products/Risk%20%2B%20Box/children" (with spaces)

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Tobi

79600531

Date: 2025-04-30 14:33:51
Score: 0.5
Natty:
Report link

The enableSsl attribute is only supported starting from .NET Framework 4.0. If your site is running on an older version like .NET 2.0 or 3.5, IIS doesn't recognize that attribute and will throw this error when reading web.config.

To quick fix this, you just need to make sure your site is using the right version of .NET.

  1. Open IIS Manager.

  2. Go to Application Pools.

  3. Find the app pool your site is using.

  4. On the right-hand side, check the .NET CLR Version.

  5. If it says v2.0, you'll need to switch it to v4.0:

    • Right-click the application pool -> click Basic Settings -> change the .NET CLR version to v4.
Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Chalas

79600522

Date: 2025-04-30 14:28:49
Score: 0.5
Natty:
Report link

i think you need to change the first assign to something like this:

{%- assign pick_up_availabilities = product.variant.store_availabilities | where: 'pick_up_enabled', true -%}

or

{%- assign pick_up_availabilities = product.selected_or_first_available_variant.store_availabilities | where: 'pick_up_enabled', true -%}

And another suggestion is to set the div below the first condition if you don't have to add other stuff in the div.

like this:

{%- assign pick_up_availabilities = product.variant.store_availabilities | where: 'pick_up_enabled', true -%}

  {%- if pick_up_availabilities.size > 0 -%}
<div class="pickup-availability-container">
    <span class="h6" style="color:var(--lc-blue);"> STOCKED {% render 'icon_ticked_circle' %}</span>
</div>
  {%- endif -%}

Let me know if you've tried the variant and it works,
Thanks, have a great day!

Alessandro

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Aleffandro321

79600520

Date: 2025-04-30 14:27:49
Score: 1
Natty:
Report link

For anyone else encountering this after a failed install from a git repository, you can try:

gc --all
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: ConnectedSystems