A pre-drop snapshot is taken before one executes DROP TABLE or DROP KEYSPACE. To avoid losing tables, don't execute these statements.
You can recover the data from this snapshot.
As you can see, you have anyRequest().authenticated(), that means, it restricts access to only authenticated users. Your / endpoint belongs to that anyRequest(), and that's why it's restricted to authenticated users and your request is not reaching to the method level. So whatever @preAuthorize you use, it's useless. You can check the javadoc here:
/*
* Copyright 2004, 2005, 2006 Acegi Technology Pty Limited
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.springframework.security.authentication;
import org.springframework.security.core.Authentication;
/**
* Evaluates <code>Authentication</code> tokens
*
* @author Ben Alex
*/
public interface AuthenticationTrustResolver {
/**
* Indicates whether the passed <code>Authentication</code> token represents an
* anonymous user. Typically the framework will call this method if it is trying to
* decide whether an <code>AccessDeniedException</code> should result in a final
* rejection (i.e. as would be the case if the principal was non-anonymous/fully
* authenticated) or direct the principal to attempt actual authentication (i.e. as
* would be the case if the <code>Authentication</code> was merely anonymous).
* @param authentication to test (may be <code>null</code> in which case the method
* will always return <code>false</code>)
* @return <code>true</code> the passed authentication token represented an anonymous
* principal, <code>false</code> otherwise
*/
boolean isAnonymous(Authentication authentication);
/**
* Indicates whether the passed <code>Authentication</code> token represents user that
* has been remembered (i.e. not a user that has been fully authenticated).
* <p>
* The method is provided to assist with custom <code>AccessDecisionVoter</code>s and
* the like that you might develop. Of course, you don't need to use this method
* either and can develop your own "trust level" hierarchy instead.
* @param authentication to test (may be <code>null</code> in which case the method
* will always return <code>false</code>)
* @return <code>true</code> the passed authentication token represented a principal
* authenticated using a remember-me token, <code>false</code> otherwise
*/
boolean isRememberMe(Authentication authentication);
/**
* Indicates whether the passed <code>Authentication</code> token represents a fully
* authenticated user (that is, neither anonymous or remember-me). This is a
* composition of <code>isAnonymous</code> and <code>isRememberMe</code>
* implementation
* <p>
* @param authentication to test (may be <code>null</code> in which case the method
* will always return <code>false</code>)
* @return <code>true</code> the passed authentication token represented an
* authenticated user ({@link #isAuthenticated(Authentication)} and not
* {@link #isRememberMe(Authentication)}, <code>false</code> otherwise
* @since 6.1
*/
default boolean isFullyAuthenticated(Authentication authentication) {
return isAuthenticated(authentication) && !isRememberMe(authentication);
}
/**
* Checks if the {@link Authentication} is not null, authenticated, and not anonymous.
* @param authentication the {@link Authentication} to check.
* @return true if the {@link Authentication} is not null,
* {@link #isAnonymous(Authentication)} returns false, &
* {@link Authentication#isAuthenticated()} is true.
* @since 6.1.7
*/
default boolean isAuthenticated(Authentication authentication) {
return authentication != null && authentication.isAuthenticated() && !isAnonymous(authentication);
}
}
As you can see isAuthenticated(Authentication authentication) denies the anonymous user.
One thing you can do for achieving the anonymous restriction(to prevent authenticated users), you can add this:
.requestMatchers("/").anonymous()
By default, Spring Security's configuration redirects unauthorized requests to the login page for authentication. This behaviour you are facing is absolutely fine.
Thanks to @jqurious for getting me to an answer!
I was able to get the plugin running in parallel by forcing it through a LazyFrame and collecting with .collect(engine="streaming"). Instead of doing
df = df.with_columns(my_plugin(colname, arg))
I did
df = df.lazy().with_columns(my_plugin(colname, arg)).collect(engine="streaming")
and this worked as expected, giving me a ~30x speedup on a 32-core machine. I'm not sure if this is the way Polars intends plugins to work, but it did work.
Like someone said in your comment you can create NotAdminCheck. Best way is to have roles and permission defined for more fine control over what each role is authorised to access.
A good step by step tutorial can be found in the link - https://www.honeybadger.io/blog/laravel-permissions-roles/
@GarrettPhillips is right. The only extra steps company portal does is download the intunewin package and extract it.
I use a VM for testing installs. I copy the files and the script over to the VM, and run the powershell script. If everything installs as it should, I package it, and upload it.
If you use a custom script to detect if it installed correctly, you can also run that on the VM to validate it works as expected.
When we test from company portal, we assign the app to a specific group that only contains test accounts we use so we can verify from an end user point of view.
This line in de application.property is enought with Spring boot 3.4.5 and Hibernate 6.
logging.level.org.hibernate.orm.jdbc.bind=TRACE
Another solution is changing the "when" expression of the keybind editor.action.insertLineAfter to <original> && !notebookCellFocused . This fixes the execution only in the notebook, without modifying the bind's behavior anywhere else.
Here's how to fix the issue:
Remove <scope>provided</scope> after <artifactId>tomcat-embed-jasper</artifactId> in pom.xml (thanks user5819768 and Andy Wilkinson)
You should also move sayHello.jsp from /src/main/resources/META-INF/resources/WEB-INF/jsp/ to: src/main/webapp/WEB-INF/jsp/ (so that Tomcat can access it properly)
Restart IntelliJ (thanks Fabian McGibbon)
Maven > Execute Maven Goal > mvn clean install (thanks user5819768)
I had used the 2 packages GraphQL and HotChocolate, which was the reason. It accepts one at a time, so we have to use only the HotChocolate for connecting the GraphQL server with ASP.NET.
I have found this to work:
vitest run <your_file> --coverage.enabled true --coverage.include=<your_file>
If you got a source code of the library, then add it as direct dependency of the microservice project. Either use a module dependency or classpath.
To add a JAR file to an IntelliJ IDEA project, navigate to File > Project Structure, then select Modules and the relevant module. In the Dependencies tab, click the "+" button and choose JARs or directories, select the JAR file, and click OK. You can then view the added JAR file in the "External Libraries" folder.
Detailed Steps:
Open Project Structure: Go to File > Project Structure (or press Ctrl+Alt+Shift+S).
Select Module: Navigate to the Modules section and select the module you want to add the JAR to.
Dependencies Tab: Open the Dependencies tab.
Add JARs or directories: Click the "+" button and choose JARs or directories.
Select JAR File: Locate and select the JAR file you want to add.
Confirm: Click OK to add the JAR file to the module's dependencies.
If your facing the same problem , do -
That warning just means you’re still using Clerk’s dev keys, which are fine for local testing but not ideal for production. You’ll want to switch to your production keys before deploying, just grab them from your Clerk dashboard and update your config. That should clear up the warning.
Use the uuidv7() function in PostgreSQL 18 Beta for primary keys. This will be beneficial in the future when you include the primary key in a URL. This function allows you to apply an adjustable offset to the timestamp in the UUID.
I ran your code on the following versions and it worked fine.
Spring Boot Starter - 3.4.5
Hibernate ORM Hibernate Core - 6.6.15.Final
Could you elaborate on which versions you used?
If you don't want to make your own option parser and you think Argp is really shit, I've created a library for that: Hopt. From my point of view, Hopt is really better than Argp. I made the library for myself before making it public, because I wanted something potable and very complete (unlike Argp and Getopt).
If you want to see what it looks like : https://github.com/ohbamah/hopt/ The documentation : https://hopt-doc.fr/
See the warning in this section of the Python docs. You'll want to set disable_existing_loggers=False.
К какому виду массовых мероприятий относятся митинги?
а) общественно-политические;
б) смешанные;
в) специальные;
г) организованные публично.
Силы органов внутренних дел, обеспечивающие правопорядок в общественных местах, подразделяются на:
а) основные, специальные и вспомогательные;
б) основные и дополнительные;
в) основные, дополнительные и приданные;
г) дополнительные, приданные, специальные.
О введении ограничений (запрещение движения транспорта, временный запрет продажи определенной продукции и т.д.) при проведении массовых мероприятий население извещается в срок:
а) не менее чем за 3-4 дня до дня проведения мероприятия;
б) не менее чем за 10 дней до дня проведения мероприятия;
в) не менее чем за две недели до дня проведения мероприятия;
г) не извещаются.
Деятельность ОВД по обеспечению охраны общественного порядка и общественной безопасности при проведении массовых мероприятий делится на следующие периоды (этапы):
а) подготовительный, основной, исполнительный, заключительный;
б) основной, исполнительный, заключительный;
в) вспомогательный, подготовительный, исполнительный;
г) подготовительный, исполнительный, заключительный.
Уведомление о проведении публичного мероприятия (за исключением собрания и пикетирования, проводимого одним участником) подается его организатором в письменной форме в орган исполнительной власти субъекта Российской Федерации или орган местного самоуправления в срок:
а) не ранее 15 и не позднее 10 дней до дня проведения публичного мероприятия;
б) не ранее 10 и не позднее 7 дней до дня проведения публичного мероприятия;
в) не ранее 10 и не позднее 5 дней до дня проведения публичного мероприятия;
г) не ранее 10 дней до дня проведения публичного мероприятия.
В каких случаях сотрудник полиции имеет право не предупреждать о своем намерении применить физическую силу, специальные средства или огнестрельное оружие:
а) если их применение выполняется по команде руководителя подразделения (старшего группы), в составе которого (которой) действует сотрудник полиции;
б) если промедление в их применении создает непосредственную угрозу жизни и здоровью гражданина или сотрудника полиции либо может повлечь иные тяжкие последствия;
в) федеральный закон «о полиции» не устанавливает такие случаи;
г) если их применение не создает непосредственную угрозу жизни и здоровью гражданина или сотрудника полиции либо не может повлечь другие тяжкие последствия.
Какие действия обязан выполнить сотрудник полиции в отношении гражданина, получившего телесные повреждения в результате применения физической силы, специальных средств или огнестрельного оружия?
а) незамедлительно доложить своему непосредственному начальнику (руководителю подразделения, старшему группы) об обстоятельствах произошедшего и пострадавших, в последующем действовать согласно полученным командам (приказам, поручениям);
б) вызвать соответствующую экстренную медицинскую службу, незамедлительно доложить дежурному по органу внутренних дел об обстоятельствах произошедшего, пострадавших и принятых мерах, в последующем действовать, согласно складывающейся ситуации;
в) федеральный закон «о полиции» не устанавливает особые требования для таких действий;
г) оказать первую помощь, а также принять меры по предоставлению пострадавшему медицинской помощи в возможно короткий срок.
Сотрудник полиции имеет право применять физическую силу:
а) во всех случаях, когда законом «О полиции» разрешено применение специальных средств;
б) во всех случаях, когда законом «О полиции» разрешено применение огнестрельного оружия;
в) в отношении женщин, несовершеннолетних, лиц с явными признаками инвалидности, когда законом «О полиции» запрещено применение огнестрельного оружия;
г) во всех случаях, когда законом о «О полиции» разрешено применение специальных средств или огнестрельного оружия.
Что должен учитывать сотрудник полиции при применении физической силы, специальных средств или огнестрельного оружия?
а) создавшуюся обстановку;
б) характер и степень опасности действий лиц, в отношении которых применяются физическая сила, специальные средства или огнестрельное оружие;
в) характер и силу оказываемого ими сопротивления;
г) все перечисленное.
С
Организаторами митингов и собраний могут быть граждане, достигшие возраста:
а) 18 лет;
б) 16 лет;
в) 14 лет;
г) возраст значения не имеет.
Организатор публичного мероприятия не вправе проводить его, если:
а) болен;
б) идет дождь или снег;
в) на публичное мероприятие пришло слишком мало людей (меньше, чем предполагал организатор);
г) организатор хочет провести его в конкретном месте и в выбранное им время, но уполномоченным органом исполнительной власти согласовано для этого другое место и время.
Участники публичных мероприятий вправе:
а) использовать символику и средства агитации, не запрещенные законодательством РФ;
б) скрывать свое лицо, в том числе использовать маски, средства маскировки, или иные предметы, специально предназначенные для затруднения установления личности;
в) во время мероприятия распивать алкогольную и спиртосодержащую продукцию;
г) использовать отличительный знак (признак) представителя средств массовой информации.
Основания прекращения публичного мероприятия
а) создание реальной угрозы для жизни и здоровья граждан, а также для имущества физических и юридических лиц;
б) для участия в публичном мероприятии пришло меньше людей, чем заявлял организатор;
в) на публичное мероприятие пришли несовершеннолетние участники
г) участники мероприятия распивают алкогольную продукцию.
О введении ограничений (запрещение движения транспорта, временный запрет продажи определенной продукции и т.д.) при проведении массовых мероприятий население извещается в срок:
а) не менее чем за 3-4 дня до дня проведения мероприятия;
б) не менее чем за 10 дней до дня проведения мероприятия;
в) не менее чем за две недели до дня проведения мероприятия;
г) не извещаются.
К какому виду мер принуждения принадлежат: административное задержание, привод, личный досмотр, досмотр вещей, изъятие вещей и документов?
а) специальные меры пресечения;
б) все перечисленное не верно;
в) общие меры пресечения;
г) меры административно-процессуального обеспечения.
Об административном задержании несовершеннолетнего в обязательном порядке уведомляются:
а) представители учебно-воспитательного учреждения;
б) орган опеки и попечительства;
в) его родители или иные законные представители;
г) все перечисленное.
Максимальный срок административного ареста составляет:
а) 5 суток;
б) 10 суток;
в) 15 суток;
г) 20 суток.
О какой из мер административного принуждения идет речь в следующем определении: «Принудительное, кратковременное (не более 3-х часов) ограничение свободы физического лица, применяемое в случае обеспечения правильного и своевременного рассмотрения дела об административном правонарушении, исполнения по делу об административном правонарушении»?
а) административное задержание;
б) привод;
в) доставление;
г) административный арест.
Протокол об административном правонарушении составляют:
а) уполномоченные на то должностные лица;
б) уполномоченные на то депутаты областной думы;
в) уполномоченные на то представители общественной организации;
г) уполномоченные на то депутаты краевой думы.
Административному задержанию не подлежат:
а) дипломаты и полномочные послы иностранных государств;
б) иностранные граждане;
в) лица, находящиеся в состоянии сильного алкогольного опьянения;
г) несовершеннолетние.
Срок административного задержания лица, находящегося в состоянии алкогольного опьянения исчисляется:
а) с момента вытрезвления лица;
б) с момента доставления;
в) с момента составления протокола об административном правонарушении;
г) с 9-00 следующих суток после доставления.
На какой срок по общему правилу применяется административное задержание правонарушителя в дежурной части ОВД?
а) не более 3 часов;
б) сутки;
в) 3 суток;
г) не более 1 часа.
Основным отличием личного досмотра от личного обыска является:
а) личный обыск – мера уголовно-процессуальная (регламентирован УПК РФ), личный досмотр – административно-процессуальная (регламентирован КоАП РФ);
б) личный обыск всегда проводится на основании соответствующего постановления, а личный досмотр может быть произведен и без такового;
в) в ходе личного обыска обязательно присутствуют понятые, а в ходе личного досмотра их нет;
г) в ходе личного обыска присутствуют понятые того же пола, что и обыскиваемый, а в ходе личного досмотра – нет.
С какого момента исчисляется время административного задержания?
а) с момента доставления правонарушителя в дежурную часть;
б) с момента составления административного протокола;
в) с момента фактического ограничения свободы передвижения;
г) с момента водворения в камеру для задержанных.
С какого возраста наступает административная ответственность?
а) 16 лет;
б) 12 лет;
в) 14 лет;
г) 18 лет.
До судебного решения лицо, совершившее административное правонарушение может быть подвергнуто задержанию на максимальный срок:
а) 48 часов;
б) 12 часов;
в) 24 часа;
г) 3 часа.
Принуждение – это:
а) административные наказания;
б) организационно-массовая работа;
в) правовое воспитание, нравственное воспитание;
г) распространение передового опыта.
В каких случаях полиции предоставляется право проверять документы, удостоверяющие личность граждан:
а) при проходе граждан на территории сооружений, на участки местности либо в общественные места, где проводятся публичные и массовые мероприятия;
б) при обеспечении безопасности граждан и общественного порядка на улицах, площадях, стадионах, в скверах, парках, на транспортных магистралях, вокзалах, в аэропортах, морских и речных портах и других общественных местах;
в) если имеются данные, дающие основания подозревать их в совершении преступления или полагать, что они находятся в розыске;
г) в любом случае.
Задержанное полицией лицо имеет право на один телефонный разговор в целях уведомления близких родственников или близких лиц:
а) в кратчайший срок;
б) в кратчайший срок, но не позднее трех часов с момента задержания;
в) в кратчайший срок, но не позднее одного часа с момента задержания;
г) такие сроки не установлены.
I am having the same issue except my MM and DD are coming backwards when I use Visual Studio, so in a CVS export to Excel, the dates error if the Month is over 12 (because it's pulling day data), and then it reads backwards other dates, such as May 1st changed to Jan 5th.
I entered the Alter Session as the first line of my script with the SQL query starting with Select as the next line. I don't know a lot and am mostly self-taught, so if I am not putting that in the correct place, please help.
I have a query that runs, but when I add that first line (I have tried several ways to format the actual date format, including different separators and single vs double quotes, which I know is more of a Python thing) . Where do I add that command or what will fix this issue?
ALTER SESSION SET nls_date_format= 'MM-DD-YYYY'
SELECT
p.id_number,
I got this error
Error report -
ORA-00922: missing or invalid option
https://docs.oracle.com/error-help/db/ora-00922/
00922. 00000 - "missing or invalid option"
*Cause: An invalid option was specified in defining a column or
storage clause. The valid option in specifying a column was NOT
NULL to specify that the column cannot contain any NULL
values. Only constraints may follow the datatype. Specifying a
maximum length on a DATE or LONG datatype also causes this
error.
*Action: Correct the syntax. Remove the erroneous option or
length specification from the column or storage specification.
See this: Why using cursors in PL/SQl ORACLE?
If you read down in the answers, there's a good, practical answer about what cursors are used for. (Don't forget to upvote your favorite!)
Try this: You will love it simplicity https://utteranc.es/
I hope this is not coming too late.
Se me soluciono haciendo esto
En C: \ Users \ Administrator \ AppData \ Local \ Postman \ Packages Directory, busque el archivo Postman-8.0.8-fill.nupkg y cambie el nombre como Postman-8.0.8-full.zip
Y luego llendo a la siguiente direccion y ejecutando el ejecutable postman C:\Users\User1\AppData\Local\Postman
The attaching on "show.bs.popover" event will not work, actually what is happening when an event listener attached to a Bootstrap popover for show.bs.popover returns event.preventDefault(), the popover is not displayed (the correct behavior) the first time, but it will no longer be possible to trigger the popover. The button associated with the popover cannot cause the popover to open again. From my examination, calling the popover sets the this._isHovered variable to true (_enter function). This, however, unintentionally prevents the popover from being reopened.
have you found a solution in the meantime? I have the same problem with .identityBanner. In the password entry window, the e-mail address is always displayed on a white background. It makes little sense that you can change the background color of the rest.
I found out that I made a mistake, I overwrote the lib folder of the new version I installed with the lib folder of the old version. Now it is showing the correct version.
root@SRVHML:/opt/tomcat/bin# ./version.sh
Using CATALINA_BASE: /opt/tomcat
Using CATALINA_HOME: /opt/tomcat
Using CATALINA_TMPDIR: /opt/tomcat/temp
Using JRE_HOME: /usr/lib/jvm/java-1.8.0-amazon-corretto
Using CLASSPATH: /opt/tomcat/bin/bootstrap.jar:/opt/tomcat/bin/tomcat-juli.jar
Using CATALINA_OPTS:
Server version: Apache Tomcat/9.0.105
Server built: May 7 2025 18:36:02 UTC
Server number: 9.0.105.0
OS Name: Linux
OS Version: 5.4.0-190-generic
Architecture: amd64
JVM Version: 1.8.0_392-b08
JVM Vendor: Amazon.com Inc.
min-h-0 would have less CSS specificity than the default style.
To make it work, you can either use min-h-0!:
<div class="collapse border border-base-300 bg-base-100 text-xs">
<input type="checkbox" class="min-h-0!" />
<div class="collapse-title min-h-0!">How do I create an account?</div>
<div class="collapse-content">Click the "Sign Up" button in the top right corner and follow the registration process.</div>
</div>
https://play.tailwindcss.com/ODZ4Ga6Hz1
Or use:
.collapse {
> input,
> .collapse-title {
min-height: 0;
}
}
I added IHttpContextAccessor as a constructor argument for my Handler. Using that I can rerun my logic to completion. In fact the handler now gets called 3 frickin times! So I don't think this post (or my code) meets the worthy criteria for SO.
In my Edit 2 I explain how I solved my issue
Neither item_number nor custom seem to arrive in the notification, nor do they appear anywhere in your transaction history ... but item_name does if you add it as a hidden field to your form.
I tried to follow @mariaiffonseca, but I get an error every time when it tries to build the library I get the following error message: Creating Android archive under prebuilt: failed . Moreover, follow below some log messages:
> Task :ffmpeg-kit-android-lib:compileReleaseJavaWithJavac FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':ffmpeg-kit-android-lib:compileReleaseJavaWithJavac'.
> Could not resolve all files for configuration ':ffmpeg-kit-android-lib:androidJdkImage'.
> Failed to transform core-for-system-modules.jar to match attributes {artifactType=_internal_android_jdk_image, org.gradle.libraryelements=jar, org.gradle.usage=java-runtime}.
> Execution failed for JdkImageTransform: /Users/rca/Library/Android/sdk/platforms/android-33/core-for-system-modules.jar.
> Error while executing process /Users/rca/Library/Java/JavaVirtualMachines/corretto-21.0.5/Contents/Home/bin/jlink with arguments {--module-path /Users/rca/.gradle/caches/transforms-3/ef45e0af4d32a105d29fb530a1beed17/transformed/output/temp/jmod --add-modules java.base --output /Users/rca/.gradle/caches/transforms-3/ef45e0af4d32a105d29fb530a1beed17/transformed/output/jdkImage --disable-plugin system-modules}
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
they might encrypt the data and save it and then use the information every time they want to charge.
Stripe allows you to make a charge from ACH data but not save it as a customers payment method
My issue was that I didn't have a Localization for the Subscriptions Group.
It's a confusing UX from Apple, all subscriptions were saying "Missing Metadata", hinting there must be an issue with them. It wasn't!
As soon as I updated the Subscriptions Group section, my subscriptions turned to "Ready to Submit"
In case you'd like to use an existing solution, you can check out:
https://assetstore.unity.com/packages/tools/terrain/procedural-floating-island-generator-319041
In case you need an "easy way out", there's an asset on the Asset Store that does this for you!
https://assetstore.unity.com/packages/tools/terrain/procedural-floating-island-generator-319041
Meanwhile I also tried to used custom session boto3 like below:
from boto3.session import Session as Boto3Session
from botocore.config import Config
from botocore.httpsession import URLLib3Session
from botocore.session import Session as BotocoreSession
class CustomURLLib3Session(URLLib3Session): # type: ignore[misc]
def __init__(self, config: CloudSecurityWorkerConfigs):
if config.USE_KRAKEN:
log.info(f'proxy: {config.KRAKEN_PROXY}')
cert_key = get_app_certs()
if cert_key:
cert, key = cert_key
log.info(f'cert: {cert}, key: {key}')
super().__init__(
proxies=config.KRAKEN_PROXY,
verify='<ca-bundle>.crt',
proxies_config={
'proxy_ca_bundle': '<ca-bundle>.crt',
'proxy_client_cert': cert_key,
},
)
else:
super().__init__()
botocore_session = BotocoreSession()
botocore_session.register_component('httpsession', CustomURLLib3Session(config))
boto3_session = Boto3Session(botocore_session=botocore_session)
# Optional: set retries or other config options
s3_config = Config(retries={'max_attempts': 6, 'mode': 'standard'})
# Create the S3 client using the patched session
test_aws_client = boto3_session.client(
's3',
aws_access_key_id=config.AWS_ACCESS_KEY_ID,
aws_secret_access_key=config.AWS_ACCESS_SECRET_KEY,
config=s3_config,
)
log.info(f'client created: {test_aws_client}')
paginator = test_aws_client.get_paginator('list_objects_v2')
But I get below error:
2025-05-15 13:21:46,740 cloudsecurityworker.worker [ERROR] Failed to connect to aws: Could not connect to the endpoint URL: "https://<bucket_name>.s3.amazonaws.com/?list-type=2&prefix=dummy%2F&encoding-type=url"
Traceback (most recent call last):
File "/export/content/lid/apps/cloud-security-worker/i001/libexec/cloud-security-worker.pyz_121b45119d28139a516068d60967f047fbfa1bb51f837990300dd4a0099e35f2/site-packages/urllib3/connection.py", line 198, in _new_conn
sock = connection.create_connection(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/export/content/lid/apps/cloud-security-worker/i001/libexec/cloud-security-worker.pyz_121b45119d28139a516068d60967f047fbfa1bb51f837990300dd4a0099e35f2/site-packages/urllib3/util/connection.py", line 85, in create_connection
raise err
File "/export/content/lid/apps/cloud-security-worker/i001/libexec/cloud-security-worker.pyz_121b45119d28139a516068d60967f047fbfa1bb51f837990300dd4a0099e35f2/site-packages/urllib3/util/connection.py", line 73, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/export/content/lid/apps/cloud-security-worker/i001/libexec/cloud-security-worker.pyz_121b45119d28139a516068d60967f047fbfa1bb51f837990300dd4a0099e35f2/site-packages/botocore/httpsession.py", line 464, in send
urllib_response = conn.urlopen(
^^^^^^^^^^^^^
File "/export/content/lid/apps/cloud-security-worker/i001/libexec/cloud-security-worker.pyz_121b45119d28139a516068d60967f047fbfa1bb51f837990300dd4a0099e35f2/site-packages/urllib3/connectionpool.py", line 841, in urlopen
retries = retries.increment(
^^^^^^^^^^^^^^^^^^
File "/export/content/lid/apps/cloud-security-worker/i001/libexec/cloud-security-worker.pyz_121b45119d28139a516068d60967f047fbfa1bb51f837990300dd4a0099e35f2/site-packages/urllib3/util/retry.py", line 449, in increment
raise reraise(type(error), error, _stacktrace)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/export/content/lid/apps/cloud-security-worker/i001/libexec/cloud-security-worker.pyz_121b45119d28139a516068d60967f047fbfa1bb51f837990300dd4a0099e35f2/site-packages/urllib3/util/util.py", line 39, in reraise
raise value
File "/export/content/lid/apps/cloud-security-worker/i001/libexec/cloud-security-worker.pyz_121b45119d28139a516068d60967f047fbfa1bb51f837990300dd4a0099e35f2/site-packages/urllib3/connectionpool.py", line 787, in urlopen
response = self._make_request(
^^^^^^^^^^^^^^^^^^^
File "/export/content/lid/apps/cloud-security-worker/i001/libexec/cloud-security-worker.pyz_121b45119d28139a516068d60967f047fbfa1bb51f837990300dd4a0099e35f2/site-packages/urllib3/connectionpool.py", line 488, in _make_request
raise new_e
File "/export/content/lid/apps/cloud-security-worker/i001/libexec/cloud-security-worker.pyz_121b45119d28139a516068d60967f047fbfa1bb51f837990300dd4a0099e35f2/site-packages/urllib3/connectionpool.py", line 464, in _make_request
self._validate_conn(conn)
File "/export/content/lid/apps/cloud-security-worker/i001/libexec/cloud-security-worker.pyz_121b45119d28139a516068d60967f047fbfa1bb51f837990300dd4a0099e35f2/site-packages/urllib3/connectionpool.py", line 1093, in _validate_conn
conn.connect()
File "/export/content/lid/apps/cloud-security-worker/i001/libexec/cloud-security-worker.pyz_121b45119d28139a516068d60967f047fbfa1bb51f837990300dd4a0099e35f2/site-packages/urllib3/connection.py", line 704, in connect
self.sock = sock = self._new_conn()
^^^^^^^^^^^^^^^^
File "/export/content/lid/apps/cloud-security-worker/i001/libexec/cloud-security-worker.pyz_121b45119d28139a516068d60967f047fbfa1bb51f837990300dd4a0099e35f2/site-packages/urllib3/connection.py", line 213, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <botocore.awsrequest.AWSHTTPSConnection object at 0x71393f4fea90>: Failed to establish a new connection: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/export/content/lid/apps/cloud-security-worker/i001/libexec/cloud-security-worker.pyz_121b45119d28139a516068d60967f047fbfa1bb51f837990300dd4a0099e35f2/site-packages/cloudsecurityworker/worker.py", line 84, in main
for page in page_iterator:
File "/export/content/lid/apps/cloud-security-worker/i001/libexec/cloud-security-worker.pyz_121b45119d28139a516068d60967f047fbfa1bb51f837990300dd4a0099e35f2/site-packages/botocore/paginate.py", line 269, in __iter__
response = self._make_request(current_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/export/content/lid/apps/cloud-security-worker/i001/libexec/cloud-security-worker.pyz_121b45119d28139a516068d60967f047fbfa1bb51f837990300dd4a0099e35f2/site-packages/botocore/paginate.py", line 357, in _make_request
return self._method(**current_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/export/content/lid/apps/cloud-security-worker/i001/libexec/cloud-security-worker.pyz_121b45119d28139a516068d60967f047fbfa1bb51f837990300dd4a0099e35f2/site-packages/botocore/client.py", line 565, in _api_call
return self._make_api_call(operation_name, kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/export/content/lid/apps/cloud-security-worker/i001/libexec/cloud-security-worker.pyz_121b45119d28139a516068d60967f047fbfa1bb51f837990300dd4a0099e35f2/site-packages/botocore/client.py", line 999, in _make_api_call
http, parsed_response = self._make_request(
^^^^^^^^^^^^^^^^^^^
File "/export/content/lid/apps/cloud-security-worker/i001/libexec/cloud-security-worker.pyz_121b45119d28139a516068d60967f047fbfa1bb51f837990300dd4a0099e35f2/site-packages/botocore/client.py", line 1023, in _make_request
return self._endpoint.make_request(operation_model, request_dict)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/export/content/lid/apps/cloud-security-worker/i001/libexec/cloud-security-worker.pyz_121b45119d28139a516068d60967f047fbfa1bb51f837990300dd4a0099e35f2/site-packages/botocore/endpoint.py", line 119, in make_request
return self._send_request(request_dict, operation_model)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/export/content/lid/apps/cloud-security-worker/i001/libexec/cloud-security-worker.pyz_121b45119d28139a516068d60967f047fbfa1bb51f837990300dd4a0099e35f2/site-packages/botocore/endpoint.py", line 229, in _send_request
raise exception
File "/export/content/lid/apps/cloud-security-worker/i001/libexec/cloud-security-worker.pyz_121b45119d28139a516068d60967f047fbfa1bb51f837990300dd4a0099e35f2/site-packages/botocore/endpoint.py", line 279, in _do_get_response
http_response = self._send(request)
^^^^^^^^^^^^^^^^^^^
File "/export/content/lid/apps/cloud-security-worker/i001/libexec/cloud-security-worker.pyz_121b45119d28139a516068d60967f047fbfa1bb51f837990300dd4a0099e35f2/site-packages/botocore/endpoint.py", line 375, in _send
return self.http_session.send(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/export/content/lid/apps/cloud-security-worker/i001/libexec/cloud-security-worker.pyz_121b45119d28139a516068d60967f047fbfa1bb51f837990300dd4a0099e35f2/site-packages/botocore/httpsession.py", line 493, in send
raise EndpointConnectionError(endpoint_url=request.url, error=e)
botocore.exceptions.EndpointConnectionError: Could not connect to the endpoint URL: "https://<bucket_name>.s3.amazonaws.com/?list-type=2&prefix=dummy%2F&encoding-type=url"
I am stuck on how to resolve this issue?
This is a simple case of "it's not doing what you think its doing". Powertoys ruler measures how many pixels it physically takes on your screen; AFTER scaling. Scaling settings can be found under the System > Display > Scale & Layout.
You are probably on 150% scaling, hence you should get 48 x 150 / 100 = 72px. On Chrome the ruler will measure 2px less as it does not include the border but on Firefox the border is included.
On 100% scaling you will get the exact size of 48, at least on Firefox.
I found strange behavior, when using namespaces in XML.
I'm trying to change <tps:style type="italic"> into <tps:c type="italic"> .
I found that tag.name = "tps:c" creates <tps:tps:c type="italic">.
I worked around it by using tag.name = "c" and it set it to <tps:c type="italic">.
It looks like @Brett Mchdonald is correct. You have a typo in your post I'd check the spelling of the grid-template-columns
// create a reference to linked stylesheet
const stylesheet = document.styleSheets[0];
const rules = stylesheet.cssRules || stylesheet.rules;
// loop through the style sheet reference to find the classes to be modified and modify them
for (let i = 0; i < rules.length; i++) {
if (rules[i].selectorText === '.grid-container') {
rules[i].style['background-color'] ='yellow';
rules[i].style['grid-template-columns'] = 'auto auto auto';
break;
}
}
Likely you set the trigger to fire off at midnight, which was several hours before you built the flow. Changing the hour when it's supposed to execute the steps does not change the time the flow triggers.
The Regular expression ((<p\s*class="translate"[^>]*>.*?<\/p>)|(<code>.*?</code>))(*SKIP)(*F)|<strong>.*?</strong> helped find what is between <strong> and </strong> if it met the conditions above
According to the OP in a comment:
using a class based view was triggering a query when I opened the page. I had to create a new page with just the input query then use the query results on a separate page
Yes, if the page is vulnerable to XSS (Cross-Site Scripting), an attacker could run their own script and steal the password stored in the JavaScript variable. Even though it’s not saved in cookies, the password still stays in memory and can be accessed through JavaScript if the attacker injects code into the page. CSRF wouldn’t work here, but XSS could. To stay safe, avoid keeping passwords in variables and always sanitize any data shown on the page.
-- Doesn't work, though, it really should?:
select
count(*),
(select count(*) from dual)
from dual;
No it shouldn't, the query is trying to do a count(*), and selecting a fixed value "(select count(*) from dual)" as if this was a column, so to count(*) you need to group by, as long as (select count(*) from dual) is treated as value, then we should do a group by on this value, the problem that raises here is that it doesn't really exists as a column so you can't refer it on the group by as "group by (select count(*) from dual) as you can't group by subquerys, translated
when you query a table, you can apply group by, the possible correct solution to your issue would be:
select
count(*) b,
a
from dual, (select count(*) a from dual)
group by a;
Regards
As @sergey-fedotov suggested, you need a custom implementation.
Give the code below a try:
use Symfony\Component\Serializer\Normalizer\NormalizerInterface;
class StdClassNormalizer implements NormalizerInterface
{
public function normalize($object, string $format = null, array $context = []): array|\stdClass
{
if ($object instanceof \stdClass && empty(get_object_vars($object))) {
return new \stdClass();
}
return (array) $object;
}
public function supportsNormalization($data, string $format = null, array $context = []): bool
{
return $data instanceof \stdClass;
}
}
Don't forget to register StdClassNormalizer as a Service.
Uninstalling Chrome will not delete desktop shortcuts to websites unless you manually remove them. It is possible that some Web Apps may be delete with Chrome(Like Spotify Web, Twitter).
For the Error (0X80004005) :
Try running chrome with Admin Rights and then go to chrome://settings/help and try updating again.
Alternative is Using Google's Chrome Cleanup Tool.
Reinstall latest Chrome:
Download from: https://www.google.com/chrome/
You can write the title in Bold for example and use a newline in HTML:
**Some Title**<br />
Without regular expression, but you are turning the logic around to make use of the % wildcard in LIKE. I think this is pretty close to the logic that you had in mind.
SELECT DISTINCT(CITY)
FROM STATION
WHERE 'aeiou' LIKE CONCAT( "%",LEFT(CITY, 1),"%")
0
I'm running into an issue when trying to install dependencies using npm install on my Windows 11 machine. The installation fails with the following error:
npm ERR! code ERR_SSL_CIPHER_OPERATION_FAILED npm ERR! errno ERR_SSL_CIPHER_OPERATION_FAILED npm ERR! Invalid response body while trying to fetch https://registry.npmjs.org/scheduler: A8070000:error:1C800066:Provider routines:ossl_gcm_stream_update:cipher operation failed:c:\ws\deps\openssl\openssl\providers\implementations\ciphers\ciphercommon_gcm.c:320: What I’ve Tried So Far: Cleared npm cache: npm cache clean --force
Tried with legacy peer dependencies: npm install --legacy-peer-deps
Node.js and npm versions:
node -v -> v18.18.2
npm -v -> 9.8.1
Ran terminal as Administrator
Deleted node_modules and package-lock.json and reinstalled
Updated Node.js to the latest LTS
Changed npm registry to HTTP: npm config set registry http://registry.npmjs.org/
Disabled strict SSL: npm config set strict-ssl false
Verified OpenSSL version (openssl version)
Temporarily disabled antivirus/firewall
Tried yarn install instead of npm install
None of these steps resolved the issue.
My Questions: Could this error be due to corrupted OpenSSL libraries or a broken Node installation? Is there a known issue with specific cipher configurations on Windows 11? Are there environment variables or system settings that could affect SSL cipher operations for Node/npm? System Info: OS: Windows 11 (fully updated) Node.js: v18.18.2 npm: 9.8.1 Shell: PowerShell (Admin mode) Would really appreciate any help or insight. Thank you! 🙏
According to the official python mt5 documentation, the copy_rates function must create a 'datetime' objects in UTC time zone to avoid the implementation of a local time zone offset
Regardless of the time zone you use, it'll always represent the UTC timezone to get candle data. For this reason, when adding 3 hours in the now function, the dataframe displayed the value you wanted.
# Make a copy of the DataFrame
df_copy = df.copy()
import pandas as pd
result = []
for drink in order:
idx = df_copy[df_copy['Drink'] == drink].index.min()
if pd.notna(idx):
result.append(df_copy.loc[idx])
df_copy = df_copy.drop(index=idx)
ordered_df = pd.DataFrame(result)
I know this is an old post
If you use non-nullable types (like int, DateTime), they always have a default value (e.g., 0), so [Required] won’t catch them being "empty."
Fix: Use nullable types if you want [Required] to validate them:
[Required]
public int? AquiferID { get; set; }
this can happen if the variable in the ci/cd settings section is marked as protected
did you check the Protect Variable checkbox in the variable settings?
another possibility is that your feature branch needs to be marked as protected in the repository’s branch settings.
Actually there's a solution for this today, you can have Github build packages automatically for you, by using PyDeployment: https://github.com/pydeployment/pydeployment
There's a handy set of starter templates for each of the major toolkits:
But it's good for scripts too!
Note of Caution: The devil is in the details! Packaged python apps have their own special quirks on each platform.
You can just use the r flag:
$newstring = $oldstring =~ s/foo/bar/gr;
Try
encoding = "latin1"
@Mahrez, it seems the same error so nothing changed. I test the code and the problem is that the form is not valid. Your answer is when the form is valid before to apply the save code. please, could you check again or anyone can help me, please.
def Insert_group(request):
print(f" The begining Request method is : {request.method}")
sEtat = "crea"
data = {
"created_at": datetime.today(),
"updated_at": datetime.today(),
"UTIL_CREATION": settings.WCURUSER,
"UTIL_MODIF": settings.WCURUSER,
"Soc_sigle": settings.WSOCGEN,
}
if request.method == 'POST':
print('Yes i am in POST method')
LibELE_GROUPE = request.POST.get("LibELE_GROUPE")
form = f_groupe_userForm(request.POST)
print(request.method)
if form.has_changed():
print("The following fields changed: %s" % ", ".join(form.changed_data))
if form.is_valid():
groupe = form.save(commit=False)
groupe.updated_at = datetime.today()
groupe.created_at = datetime.today()
groupe.UTIL_CREATION = settings.WCURUSER
groupe.UTIL_MODIF = settings.WCURUSER
groupe.Soc_sigle = settings.WSOCGEN
if LibELE_GROUPE is not None:
print(f"LibELE_GROUPE value is : {LibELE_GROUPE}")
if 'Ajouter' in request.POST:
print('Yes we can insert now')
groupe.save()
print('insert successful!!!')
return HttpResponseRedirect("CreateGroup/success")
else:
return HttpResponseRedirect("CreateGroup")
else:
# In reality we'd use a form class
# to get proper validation errors.
return HttpResponse("fields libelle is empty!")
# "Make sure all fields are entered and valid.")
## Process the form data
# pass
# return redirect('success')
else:
#print('form pas valide')
print("The following fields are not valid : %s" % ", ".join(form.errors.as_data()))
return render(request, 'appMenuAdministrator/L_liste_GroupeUtilisateur/FicheCreaGroupe1.html', {'form': form})
else:
form = f_groupe_userForm()
data = data
# print(f"La valeur de libellé est : {LibELE_GROUPE}")
return render(request, 'appMenuAdministrator/L_liste_GroupeUtilisateur/FicheCreaGroupe1.html', {'form': form, 'sEtat': sEtat, 'data': data})
15/May/2025 15:19:43] "GET /static/css/all.min.css HTTP/1.1" 404 1985
The begining Request method is : GET
[15/May/2025 15:19:45] "GET /AccessAdmin/Insert_group HTTP/1.1" 200 11230
[15/May/2025 15:19:45] "GET /static/css/all.min.css HTTP/1.1" 404 1985
The begining Request method is : POST
Yes i am in POST method
POST
The following fields changed: LibELE_GROUPE
The following fields are not valid : UTIL_CREATION, UTIL_MODIF, Soc_sigle, created_at, updated_at
[15/May/2025 15:19:55] "POST /AccessAdmin/Insert_group HTTP/1.1" 200 11181
[15/May/2025 15:19:55] "GET /static/css/all.min.css HTTP/1.1" 404 1985
I had the same error. I solve it with using getAbsolutePath from https://storybook.js.org/docs/faq#how-do-i-fix-module-resolution-in-special-environments
This resolved itself after a reboot
https://github.com/firebase/flutterfire/issues/13533
may be this will work, I lost a whole day
Oftentimes, a variety of tests are used to get the best of both worlds. Local tests will be run first since they are the easiest and most efficient. Then, on the server side, tests can be run pre-merge and sometimes post-merge as well. Of course, exactly which tests and the extent of testing is based on the scenario.
On Google Sheets you can copy the rows with Ctrl + v and paste them with Ctrl + Shift + v.
This is a known issue: https://github.com/InsertKoinIO/koin/issues/2044. Try using the latest version v4.0.4. You can find version history here.
If it does not work with the latest version, downgrade to v3.5.6 (reference) and wait for stable v4.1.0 release.
You can play with the opacity, but without reducing it completely, which would render the button insensitive to hover.
.btn {
opacity:0.01;
}
.btn:hover {
opacity:1;
}
This does not prevent putting in a transition.
Having encountered this myself, I presume you're running a relatively current version of Composer compared the the rest of your packages. The error is due to your version of Symfony being very outdated and as a result the sensio/distributionbundle post-install hooks now pass invalid data back to Composer.
Downgrading Composer to 2.2.x should be an old enough version to mean the install works, though it'd be a far better idea to remove the reliance on sensio/distributionbundle which has been archived and unsupported for many years now.
See this answer to the crosspost at cstheory for the proof.
i dont know if this answer you question
i have done many experiment and this is what i found
you can try this link from maxwin12
hope this can answer your question
AWS Managed Microsoft AD currently takes daily snapshots automatically, there's also an option to take up to 5 manual snapshots.
According to JSFiddle it does show:
As others pointed out if you change border-top and border-right to something other than white that might help as well.
Try changing the types of the new column to the following:
{
"name" : "new_field",
"type" : ["null", "string"],
"default" : null
}
"null" refers to a data type and null to the null value.
As of today, the guest cannot see or use GitHub Copilot in the right bar, they can only do so with the extension.
everything is simpler, in fact it swaps the address lines of banks depending on the configuration bit
I had the same problem here, the solution was to change the kubernates file to the java I wanted (in my case 17).
If anyone else has a similar problem, check your kubernates or dockerFile file, thanks for the topic.
Is there any other data on the sheet? If not, then this will give you the number of rows in the Table whether it's filtered or not and you simply add to it the number rows used in your header and/or extra rows above the Table:
Sheets("Sheet1").ListObjects("Table1").DataBodyRange.Rows.Count
If your chat is between 2 users only and it won't change, chat table is extra. You can keep you message as:
ID (long) IdSender (INT) (FK) IdReceiver (INT) (FK) Message (TEXT)
But make some indexes. You've made absolutely normal and universal structure for small database. Even if you have 3, 100 or 1 user in chat, you always need to keep link to sender and to chat.
But better... Don't keep messages in database. You can save posts, comments, but not every single message. Even if you make goos bw-trees indexes, it will become laggy. Use special services for this (for example, special files or storages)
The query parameter uses JMESPath to get attributes. With that you run the following command to only return the plan name:
aws backup get-backup-plan \
--backup-plan-id {plan_id} \
--query BackupPlan.BackupPlanName
I know this is an old post but I had this happen after upgrading Visual Studio 2022.
It was giving the ambiguous reference for System.Net.Http. (This relates a little to another post around negut package.)
Insight to project: REST API is being build using .net framework 4.6.2. (important to issue)
Visual Studio 2022 updated and added .net framework 4.6.1, which made that component being found 2 locations that both had that System.Net.Http.
I ventured in the location where the two references were and was able to link the date to that addtion/VS Update. (Right click on the area with ambiguous reference and it shows you were they are)

So the fix in my scenario was to delete the newly added 4.6.1 framework that was added from the VS update.
This may/may not come up for newer versions of visual studio updates.
Hope this is useful for someone.
As said in the "How can I configure Codeblocks to not close the console after the program has finished?" question:
Project -> Properties -> Build targets. You should see a checkbox labeled:Pause when execution endssomewhere there. Your application type must beConsole application.
I was getting the same issue using @tanstack/[email protected].
Setting cacheTime: 0 solved it for me.
In version 5, cacheTime has been renamed to gcTime as per https://tanstack.com/query/latest/docs/framework/react/guides/migrating-to-v5#rename-cachetime-to-gctime
I found a solution by setting:
for i in range(0,dag.params["input_number"]):
This way the dag is created with all the tasks from 0 to 12, as set by default in params but when I run it it gets the input I give for that run, which can be lower than 13.
Thank you for your answer! It was really helpful
Now I can send a recorded file to TV by chunks. It is strange because TV recognize voice when I send file by 120 bytes but TV can't recognize if I send by 119 bytes. Maybe you know this issue and can help. However I can do it with recorded wav file.
My next question is about realtime audio stream. Do you know how it can be implemented?
I will be really grateful for your additional help
I'm sorry I may not be explaining this well. We have a field ltd that will have a 2 digit currency value. I want to verify the field is any valid 2 digit currency, for example 12000.00, 23.55, 23910.01 would all be valid. 1.1, 24552.134, etc would be invalid.
I tried this in my test environment I also facing the same issue, where keycloak failed to connect to the database.
After troubleshooting I got the main issue was incorrect service dependencies and connection setup b/w keycloak and mysql in docker on azure, especially when the containers start.
I have used a simple docker-compose.yml (instead of dockerfile) and setup with the official images and proper healthchecks, make sure the keycloak only starts after mysql is ready.
docker-compose.yml file like this:
version: "3.8"
services:
mysql:
image: mysql:8.0
container_name: keycloak-mysql
environment:
MYSQL_ROOT_PASSWORD: rootpassword
MYSQL_DATABASE: keycloak_db
MYSQL_USER: keycloak
MYSQL_PASSWORD: password
healthcheck:
test: ["CMD", "mysqladmin", "ping", "-h", "localhost"]
interval: 5s
timeout: 5s
retries: 5
ports:
- "3306:3306"
volumes:
- mysql_data:/var/lib/mysql
keycloak:
image: bitnami/keycloak:24.0.4
container_name: keycloak
depends_on:
mysql:
condition: service_healthy
environment:
KEYCLOAK_DATABASE_VENDOR: mysql
KEYCLOAK_DATABASE_HOST: mysql
KEYCLOAK_DATABASE_PORT: 3306
KEYCLOAK_DATABASE_NAME: keycloak_db
KEYCLOAK_DATABASE_USER: keycloak
KEYCLOAK_DATABASE_PASSWORD: password
KEYCLOAK_ADMIN_USER: admin
KEYCLOAK_ADMIN_PASSWORD: admin
ports:
- "8080:8080"
volumes:
mysql_data:
Save the file and then > docker-compose up -d
the above process is working correctly it will also connect when MySQL database is ready before connecting to keycloak, i also added the health check to MySQL container the docker understand when MySQL is up and running. using the depends_on setting docker waits to start keycloak until MySQL is connections this process avoids making custom dockerfiles, if something is missing ot misconfigured it will be tricky and may cause errors. finally, by using PV for MySQL we make sure the database keeps its data even if the container restarts.
Make sure azure vm firewall and network security groups allow inbound traffic on port 8080.
Ensure docker is properly installed and running on your vm, you can view logs with docker-compose logs -f to check container startup progress
I'm not 100% sure I understand your issue, but you should definitely assume that it is possible for the password to be read by other JS running on the same page.
Check whether there is any token have set with your account or not, the same have been happened with me also.
Do we have any idiom for creating one or more item resources at once?, without affecting existing sibling resources?
Exactly the same
The 201 (Created) status code indicates that the request has been fulfilled and has resulted in one or more new resources being created. The primary resource created by the request is identified by either a Location header field in the response or, if no Location header field is received, by the target URI. -- RFC 9110
Emphasis added
So single POST Request, server produces multiple resources, HTTP response headers identify the primary resource created, is all straight forward.
The response body... I don't think there are any fixed standards on how to describe the created resources in the response body. On the web, it would normally just be an HTML page showing the human a bunch of links....
A bug report has been submitted for this issue under https://forge.typo3.org/issues/106707
Flutter Mapbox v4 supports high-performance vector tiles, offering smooth, interactive maps with customizable styles and layers. Perfect for mobile apps, it ensures fast rendering, offline capabilities, and crisp visuals at any zoom level. Build beautiful, responsive maps using Flutter’s flexible UI and Mapbox’s powerful vector tile technology.
Is there a better way to nest if blocks in google spreadsheets ?
Yes. Use the SWITCH function. Here is an example using your code:
=SWITCH(H4
1, "CORRECT",
2, "CORRECT",
3, "CORRECT",
4, "CORRECT",
"Incorrect")
The last entry is the default, if H4 does not = 1, 2, 3, or 4 then the last entry is the result.
It is very similar to the standard programming function called SELECT CASE.
Can you please double check your entity definitions?
I also had a similar issue, and after hours of debugging I found that I need to enable the synchronize attribute to allow typeorm to consider a given entity for migration.
The entity decorator should look like:
@Entity({ name: "table_name", synchronize: true })
If you want to run typeorm cli on typescript prrojects, you can install a wrapper for that purpose using the command below
npm install typeorm-ts-node-commonjs
After installing this, you can run commands with typesacript based data sources too
For ex, to generate a migration, once can use below command:
npx typeorm-ts-node-commonjs migration:generate path/to/migration -d path/to/typescript/datasource
It looks like you are running into a known issue with the latest Redshift driver. According to the description in this issue you can still use the latest Liquibase release (4.31.1) by downgrading the driver to a previous version. You can download older drivers here: https://docs.aws.amazon.com/redshift/latest/mgmt/jdbc20-previous-driver-version-20.html
I solve in this way:
.ui-datepicker {
z-index: 9999 !important;
}
.ui-datepicker.ui-widget {
position: absolute !important;
}
Hi I don't know how Hyperledger works, but here is an idea, each file has a unique sha256 code that can be added to the blockchain is easier and cheaper, and the file remains private. Only people that have the file can check its hash against the hash that is stored on the blockchain and thus proving the authenticity of the file. I found a site that does this on Ethereum : doc2block, it allows you to add files to ethereum blockchain
i had faced this issue
check if you had already downloaded the Dev Containers extensions in your VS Code
and that should be in updated version
once downloaded once run docker ps in terminal
if the error still persists then try attaching manually
In a job, you can use the stage "Move files", setting source directory and destination directory with "Wildcard (RegExp)" field empty (in case there are no restrictions on file type).
In a transformation, you can use the stage "Process files". Read two input parameters ("Dir source" and "Dir destination") with the stage "Get variables", the list of files you want to move with the stage "Get file names" where "Filename is defined in a field?" is checked and "Get filename from field" is filled with your "Dir source" parameter and two stages "Concat fields" to build full source path and full destination path that "Process files" will process
Below the transformation design screenshot.
Best regards
Just on the off chance can you advice which files were missing and where you moved them to? I've got the same issue and tried various options to publish the files, but not getting anywhere.
figured out, it needs to wait support on below new spec, in which it is not in JAVA MCP SDK yet, while it is python and typescript support today.
https://modelcontextprotocol.io/specification/2025-03-26/basic/transports#streamable-http
In your Start Method change
ReturnToMainMenuIsOpen = ReturnToMainMenuObject.activeSelf;
in ReturnToMainMenuObject.SetActive(false);
Please update, it now supports Vue 3.
npm install vue-pivottable@latest
# or
npm install [email protected]