Interesting questions
-
-3
votes1
answer337
viewsError creating bean named 'springSecurityFilterChain'
I am trying to use Spring Security, but the following error is occurring: GRAVE: Exception to sending context event started for instance System class…
-
2
votes1
answer121
viewsData persistence problem using JPA
I have a class that has two attributes, start time and end time, both Date type. @Temporal(TemporalType.TIME) private Date horarioInicio; @Temporal(TemporalType.TIME) private Date horarioFinal; In…
-
2
votes0
answers21
viewsRestore data
I am creating an app that contains a form and when the user clicks on an address search field it is taken to another Activity and then this address is retrieved in a textView in the initial Activity…
-
1
votes1
answer131
viewsSimulate keystroke - Delphi
Hello, I’m having trouble sending the keystroke in a game, I’m using Delphi, I tested functions like: SendMessage(hdle_do_game, WM_KEYDOWN , ord('a'), 0); keybd_event(65,0,0,0);…
-
0
votes2
answers633
viewsProblem with routes in the Laravel
I have slugs stored in the database of different tables, I intend to use the url always like this www.exemplo.com/slug. For this I created a single route for that which became so:…
-
1
votes1
answer368
viewsUser-friendly URL with Jquery
Hello, everybody! My system is developed in Jquery, so I make changes to pages without loading, only with $.get(). The big question is: even without loading, I need the URL to be changed, making the…
-
1
votes1
answer1785
viewsDefinition of firebase security rules
How can I define a safety rule that: Allow read and write access to recipes if the logged in user is the user who registered it Allow read access to recipes if the tipo for true Do not allow read…
-
0
votes1
answer59
viewsChange the status of a record in the database by ID via post method
I need to change the status of an object registered in the database, from the ID of this object, once I click the corresponding button. How do I move on to my role in controller the ID of that…
-
-5
votes3
answers157
viewsHow to add digits from a number to "1" digit?
I need to sum all the digits of a number until the result of this sum is a number of only "1" digit, that is to say, where the digit number of a given number is greater than 1, I must add their…
-
19
votes2
answers3841
viewsBest practices for sending emails and avoiding spam
Nowadays, almost every web site or web system almost inevitably needs functionalities with sending emails, whether in contact forms, password recovery, account activation, order confirmation, etc.…
-
0
votes1
answer21
viewsMy site creates two scroll bars when resolution on the X-axis is decreased
My site creates two scroll bars the main one and another in the div that contains the image of the posters of the films when the resolution in the X axis is decreased. Someone can help me solve…
-
-1
votes2
answers817
viewsIs it possible to pass parameters from one route to another without going through the url in reactjs?
I’m learning reactjs and in the application I’m developing I have a login screen that authenticates the user to access a private route. On this private route I would like to load this user’s data…
-
6
votes2
answers4450
viewsHow to use openssl_encrypt encryption method?
It’s been a week that I search in everything that is site but I can not understand, I’m very curious about the use of this function but I can not find anything that explains in a simple way, someone…
phpasked 10 years, 3 months ago Otavio Fagundes 978 -
2
votes1
answer220
viewsVB.NET Working with XML?
I’m filling out a ComboBox from a Xml: Dim mXml As New XmlDocument Dim Arquivo As New IO.FileInfo(My.Application.Info.DirectoryPath & "\Configuracao.xml") mXml.Load(Arquivo.FullName) Dim…
-
0
votes1
answer39
viewsHow to use the 'while' repeat structure? doubts in a specific exercise
I need to work out an algorithm for "Purchase Order". Where the user is willing to write the name of the product and its value and quantity, and at the end the code shows the multiplication result…
-
7
votes3
answers162
viewsAnother alternative to not repeat this "function" three times?
Make a program that reads three vectors with 10 elements each. Generate a fourth vector of 30 elements, whose values should be composed of the interspersed elements of the three other vectors.…
-
0
votes1
answer654
viewsc++ - How to pass parameters between Windows in Qt?
Hi, I’m trying to pass a mat parameter from one window to another, being activated by the click of a button. The program compiles and runs normally, but when clicking the button that activates the…
-
5
votes3
answers221
viewsEquivalent to jQuery’s . filter() method or Zepto in pure javascript
What is the best way to make the "filter" method like jQuery’s or Zepto’s in pure javascript? I want to implement this method in my library:…
javascriptasked 12 years, 9 months ago Acauã Montiel 153 -
0
votes1
answer26
viewsSend Text Input to a Formdata (angular)
I have an image upload form, but I also want to pass a text field next to the image, the api is working perfectly and when I send by Insomnia it creates everything right in the bank, but when making…
-
0
votes1
answer24
viewsMapper.Map Addressmodel.Citysmodel Endereco.City
I have the class Addressee public class Endereco { public virtual Cidade Cidade { get; set; } public int CidadeId { get; set; } } And I got the Viewmodel Of That Class: public class…