October 22, 2024
Chicago 12, Melborne City, USA
HTML

Some of the Image on my webpage are shrinking, but other are not shring even with same properties

<div id="bodyDiv"> <div class="userSection" > <div class="headerTitle"><p>Player please choose:</p></div> <div class="headerDiv"> <div class="headerSubDiv"><img class="userAddOn" src="https://images.pexels.com/photos/20414000/pexels-photo-20414000/free-photo-of-gentoo-penguin-on-snow.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2"></div> <div class="headerSubDiv"><img class="userAddOn" src="https://images.pexels.com/photos/20414000/pexels-photo-20414000/free-photo-of-gentoo-penguin-on-snow.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2"></div> <div class="headerSubDiv"><img class="userAddOn" src="https://images.pexels.com/photos/20414000/pexels-photo-20414000/free-photo-of-gentoo-penguin-on-snow.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2"></div> </div> </div> <div class="computerSection" > <div class="headerTitle"><p>Computer's choice:</p></div> <div class=" headerSubDiv"><img class="computerImg" src="https://images.pexels.com/photos/20414000/pexels-photo-20414000/free-photo-of-gentoo-penguin-on-snow.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2" ></div> </div> </div> .userSection{ text-align: center; display: flex; flex-direction: column; border-right: solid; border-color: black; border-width: 2px; padding: 0px 100px;

Read More
jQuery

HTML Button w/ jQuery $('CLASS').on('click tap touchstart', function(event) not working on mobile (WordPress BricksBuilder)

I’ve edited the code from the last time I posted this question using some advice, unfortunately the ‘DUPLICATE’ that I was linked to also did not fix the problem. Here is the code I’m working with: <button class="brxe-button main-cta-button pricing-btn faq-btn bricks-button bricks-background-primary">Pricing</button> <button class="brxe-button main-cta-button plans-btn faq-btn bricks-button bricks-background-primary">Plans</button> <button class="brxe-button main-cta-button seo-btn faq-btn

Read More
javascript

Coverage in tab network

i was reading about coverage metrics and how can i use it for optimizing my Next or React application by reducing the unused bytes.i think when i wanna start recording the coverage i should start the instrument coverage after loading my page not before loading, and as i understand i should like try to record

Read More
C++

libusb – bmRequestType for sending data to an iPhone

I have some code here which is supposedly sending bytes of data to an iPhone using libusb, here’s the offending snippet: libusb_control_transfer(handle, 0x21, 1, 0, 0, buf, 0x800, 1000); This works fine but my question here is regarding the second parameter bmRequestType = 0x21, which according to the documentation represents the "request type field for

Read More
CSS

background-cover not working for ONLY ONE div on IOS

Despite having the SAME EXACT STYLE, the 2nd div just will not display the full rainbow gradient image on mobile and I really don’t understand why. I want the gradient in the bottom box to be identical to the one on the top, instead of randomly stopping at yellow. background-cover doesn’t seem to be working,

Read More
SQL

I need to replace old path's images to new path with the same image

I have a column Path_Image in table DBPaths : Path_Image C:\Users\Pc\Desktop\archive\1.png D:\pics_back\22.jpg C:\Users\Pc\Desktop\archive\947141.JPG And I have a new Path: E:\pics2024 I want to replace all old paths with a new one without touch images , like this : Path_Image E:\pics2024\1.png E:\pics2024\22.jpg E:\pics2024\947141.JPG The question is that possible and how I can do it , for

Read More
Node.js

Syntax Error When Executing Simple Python Code with Node.js child_process.exec

I’m trying to execute a simple Python command from my Node.js application using the child_process.exec function, but I’m encountering a syntax error. Here’s the relevant code snippet: const { exec } = require('child_process'); const Execute = (code) => { return new Promise((resolve, reject) => { exec(`python -c ${code}`, (err, stdout, stderr) => { if (err)

Read More
security

Where is the signature of a signed APK stored?

I do research on methods to modify .apk in order to add some protection. I understand that all protection code can be removed, but at least it will temporarily protect against auto-patches, for example, patches for the ApkEditor or MT Manager apps. One of the cases to modify is the PmsHookApplication class (example of detection),

Read More
templates

ODR-use a member function of a template class only if it is valid

I need to define a member function __say_hi on a class template, which will not be called anywhere, but still need to be kept by my clang-based frontend. To do so, I add a constexpr static member which holds the address of the function. The problem is that the __say_hi might not compile if the

Read More
pdf

Arabic words reverted in pdf in openhtmltopdf and itext

I used both openhtmltopdf and itext to generate pdf files, but all arabic words are reverted in pdf, though they are fine in html. The order of words is fine, but inside each word letters are reverted. First letter swaps place with last,etc. Even if I dont use html, but simple Paragraph in itext with

Read More