search
  • Sign In
  • Sign Up
Password reset successful

Follow the proiects vou are interested in andi aet the latestnews about them taster

P粉604848588

P粉604848588

Follow
student

Follow 0
fans 0
integral 0
Center an element in Bootstrap Navbar

No matter what I try, I can't center something in Bootstrap navbar, any solutions for it? I've tried adding a div, using margin:0 auto; or margin-right:auto; margin-left:auto;, use

2025-12-16 19:43:19Ask
CSS
Get the *two* height values ​​of the canvas?

I'm trying to get two height values ​​of this canvas. <canvaswidth="886"height="792"style="display:block;opacity:0.5;width:834px;height:746px;"></canvas> I know that I can access the style using canvas.style.height; one of them, but how to get

2024-04-05 09:32:33Ask
CSS3
"Solve the problem that select2 cannot select data"

I have a small problem with my select2 when editing data, select2 won't select the value this is my data display table data when i click the "edit data" button it should select "set" on the parent value but It doesn't work, see this modal script <divclass="modalfade"id="modal-edit"tabindex="-1"role="dialog"aria-

2024-02-26 08:40:27Ask
PHP
MySQL to get customer ID and 20th transaction date - SQL query

I can't make a query to get a list of customer IDs and the date of their 20th purchase. I got a table called transactions with columns named customer_id and purchase_date. Each row in the table equals a transaction. customer_id purchase date 12020-11-1922022-01-0132021-12-0532021-12-0932021-12-16 I tried this and assumed that I have to count the number of times customer_id is mentioned like

2024-02-17 13:35:57Ask
MySQL
Laravel 9 array filtering

I have this array cart_items and it works fine when mapped to database storage (as shown in the code). $cart_items=[{"id":8,"cart_id":7,"product_id":4,"variation_id":null,"quantity":1,"price":30,"

2024-01-06 15:56:43Ask
PHP
Why do I get "TypeError: cannot convert symbol value to string" when I try to create a clone of a Vuex store in a Jest unit test?

I have a working Vue2.6/Vuex3.6/TypeScript application. I want to add some unit tests before doing some complex refactoring. Once I had Jest and VueTestUtils installed and configured, I tried following the instructions provided in the official VueTestUtils guide. Adjusting the instructions to my specific project looks like this: import{createLocalVue}from'@vue/test-utils'importVuexfrom'vue'

2023-08-26 16:06:50Ask
Vue.js
Methods of parsing MYD, MYI, and FRM files

I've read several posts on this forum and elsewhere but still can't read some MYD/MYI/FRM files that contain data that I want to import into SQLServer. I stopped the MySQL service at the client location and copied all the files (the same way we did on SQLServer). I installed the latest MySQL ODBC Connector, MySQL Engine and MySQL Workbench on my Windows 10 PC. The engine is running and the ODBC connector has been configured with username and password. Use Wor

2023-08-25 16:14:30Ask
MySQL
How to calculate the number of days between two dates?

For example, two dates are given in the input box:&lt;inputid="first"value="1/1/2000"/&gt;&lt;inputid="second"value="1/1/2001"/&gt;&lt ;script&am

2023-08-23 16:51:49Ask
JavaScript
Does JavaScript guarantee the order of object properties?

If I create an object like this: varobj={};obj.prop1="Foo";obj.prop2="Bar";will the resulting object always look like this? {prop1:"Foo",prop2:"Bar"} That is, will the properties be in the same order as I added them?

2023-08-20 17:42:13Ask
JavaScript
How to specify custom column types in Prisma?

Prisma does not currently support geospatial columns. I need to add a column of type MySQLGEOMETRY to my database. I could write a custom migration, but the whole purpose of Prisma is to manage my migrations. How to specify custom column types in Prisma schema files? Can be MySQL specific.

2023-08-18 10:18:26Ask
MySQL