Interesting questions
-
0
votes2
answers739
viewsInput string was not in an incorrect format
I’m trying to create a geometric graph looking for a Txt file but when starting the application appears this error I’m half beginner and I’m having difficulties to find the solution…
c#asked 9 years, 5 months ago Reinaldo Teixeira de Paula 11 -
0
votes1
answer1011
viewsajax function does not work
I am using this small function to execute my ajax without mimimi, see var HTTP = 'http://127.0.0.1/'; function ajax(to, data) { $.ajax({ type: "POST", url: (HTTP + to), data: data, cache: false,…
-
1
votes0
answers33
viewsConvert Dynamic to another type
I need to convert a Dynamic variable to another type in Runtime. The type I want to convert is stored in another variable (I don’t know what type at development time). There’s something like this?…
-
2
votes1
answer20
viewsUpdate "Validators" using "Directive"
My code I created the following directive to prevent the user from inserting special characters in inputs. import { Directive, HostListener } from '@angular/core'; @Directive({ selector:…
-
-1
votes3
answers81
viewsConfusing behavior in changing the value of variables in js functions
Why time1 print 3 and time2 print 2? let gols = 1 const time1 = function () { console.log(gols) gols = 2 } gols = 3 const time2 = function () { console.log(gols) } time1() // 3 time2() // 2…
-
-1
votes2
answers320
viewsGet the user’s location (City, State, Country) with the facebook login?
How do I get the user’s city, state and country, with a facebook login? I have the code below: facebook.setReadPermissions("email", "public_profile", "user_birthday","user_location"); private void…
-
-1
votes1
answer289
viewsLoad route by clicking on the menu inside a component (Dashboard)
Now I’m using the Adonis (I love the Laravel) and doing the Reactjs case here on the blog. more I came across the following situation: I have an admin Dashboard, where the same has: Header.js…
-
6
votes2
answers2560
viewsAccessing another controller’s variable - Cakephp
How do I access variables from another controller? For example: I have a controller X, and in action index, I create a variable (or a constant). Of controller Y, I want to access the value of the…
cakephpasked 12 years, 3 months ago morphinduction 473 -
0
votes3
answers40
viewsI am producing a kind of form, but in age people put (age + "years")
I am producing a kind of form, but at age people put (age + "years"), but the variable is type int so it does not work, I wonder if there is any method of sending a message to the customer when he…
-
0
votes0
answers25
viewsMongodb Aggregate
have that collection: Students { "_id" : ObjectId("602fc88812985223d0f7ac5f"), "guardians" : [ { "_id" : ObjectId("602fc88812985223d0f7ac60") }, { "_id" : ObjectId("602fcb9a063fcb30d4017f8a") } ] },…
mongodbasked 5 years, 2 months ago joab henrique silveira 1 -
1
votes3
answers696
viewsGenerate RES (stringtable) file from a resourcestring Unit
I’m studying some sources of how to internationalize the software, and in the example I have the software has a Unit with constant strings (captions, etc), something like: unit Resources; interface…
-
4
votes1
answer376
viewsWhat is Multi-version Concurrency Control in Postgresql?
What is Multi-version Concurrency Control (MVCC) in Postgresql and how it works?
-
-3
votes1
answer26
viewsSearch day, time and add class to a form
I asked a question a while ago here and they helped me a lot. I managed to make a code searching the day of the week (Saturday and Sunday) and adding a class to the form to disable it. Follow:…
-
-1
votes1
answer62
viewsHow to submit a form without refreshing the page? A modal for example
Hello, I made a form that is sending information to my email, but I wish it did not leave the page, without refresh, and appears a simple modal with the phrase "Sent successfully!" for example, how…
-
2
votes0
answers28
viewsTrigger Div id by button Instead a href
I want to know if it’s possible to Trigger a DIV using a button Instead of a href example this is the div <div id="ver" class="modal-block modal-block-primary mfp-hide"> <section…
-
0
votes1
answer34
viewsComparison of days (larger and smaller)
I found something similar here, but it’s still not what I want. I have the following code in php: $data_t2 = date('dmY', strtotime($inicio_provas)); $data_t3 = date('dmY', strtotime("+120 days"));…
-
0
votes2
answers574
viewsInstalling and configuring Composer on my localhost
To use the local Composer I should install it in the folder where my projects are located? In case C:/Users/Me/Jobs... And as there are several projects (sites), for each one I must have the…
-
0
votes1
answer354
viewsImporting values from other codes in Tkinter - python
Hello, I’m doing a large program and wanted to divide the screens into other codes, I can import the screens, but I need to get some values from other screens, but I can’t do it. First screen: from…
-
5
votes2
answers352
viewsDoubt with datatable and/or JSF/JPA modeling
Good evening, I have the following problem... at first it seems kind of silly, but honestly I can’t get out of it I want to create a table where the columns are Sunday, Monday, Tuesday, Wednesday,…
-
1
votes1
answer661
viewsError: $injector:modulerr Module Error - I can’t fix
I’ve been fighting with this mistake for a long time and I can’t find a solution, I’m counting on someone to help me please. Unique file. For unsuccessful testing. <html lang="en">…