Interesting questions
-
0
votes1
answer3403
viewserror while running run-android with React-Native
Well, after managing to run the initial command and create the project(React-Native init ) and being with my android emulator running on the machine (Genymotion) but running run-android it accuses…
-
1
votes0
answers148
viewsHow to update data from another table using a Trigger
I am trying to register a product in a cart, every time it is registered la significa q was purchased, so whenever this happens I want to decrease the amount in stock, tried with Trigger below, but…
-
1
votes1
answer6234
viewsHow to use Angular onBlur?
I want it to be shown on console the value cep I typed in the field input after the field loses focus. But this code of mine is not doing that. html: <body ng-controller="appController">…
-
1
votes2
answers520
viewsProblems with if and conditions
I’m making a code that receives three values and orders them from the highest to the lowest. As a condition, when the numbers are repeated, an error message is displayed and the program must close.…
-
0
votes0
answers18
viewsMysql 8 Installation Error
Due to a problem in my OS yesterday, I ended up formatting my PC, and when I went to install mysql-server, downloaded version 8 as default by apt-get, everything was set up, went to use and when I…
mysqlasked 5 years, 4 months ago Willian Ferrera 29 -
1
votes1
answer297
viewsList 3 items side by side
I want to make a list of sequential items only that with 3 columns, I created an odd or even logic, to do the listing side by side, in case 2 columns... But now I have to make a list of 3 items per…
-
1
votes0
answers42
viewsDifference between /> and </
What’s the difference between using /> and </ to close an HTML tag? Example1: <div> <img src="caminho"/> </div> Exemplo2: <div> <img src="caminho"></img>…
-
1
votes1
answer2550
viewsGrab photo from android gallery directly
I’ve searched here and other places on the Internet, but I haven’t been able to locate anything like it. Is it possible to restrict that photos selected by a user only come from the gallery? Ex:…
-
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 9 years, 4 months ago Otavio Fagundes 978 -
0
votes1
answer966
views -
4
votes1
answer3602
viewsLinq Compare two lists of different types
I have two different lists A List<ProdutoTag> and B = List<Tag>: public class ProdutoTag { public Int64 ProdutoId { get; set; } public Int32 TagId { get; set; } public Double Peso { get;…
-
0
votes1
answer106
viewsHow popular is Jcombobox with an array of strings?
I have a class that inherits from JFrame and has a JComboBox comboBoxPorta = new JComboBox();. I would like to popular this combo with the serial ports. I have a function in another class to print…
-
6
votes3
answers68
viewsregex Return false?
console.log(rule); // rule = max18 // rule = max120 // rule = max6 var pattMax = new RegExp('^(max).(\d{1,3})'); pattMax.test(rule); //false? if(pattMax.test(rule)){ console.log('é max seguido de 1…
-
0
votes1
answer41
viewsInsert using Many to Many Annotation does not work
Hello, I have a Many to Many relationship between TEAM and NEWS. I am trying to create a method to insert a "NEWS". I am using Hibernate with Annotation to map the classes. The Insert works and…
-
0
votes1
answer155
viewsCONT.SES BETWEEN DIFFERENT LIBREOFFICE/EXCEL FILES
I’m using the CONT.SES amid different files, but I’m getting: ERROR:504. The formula is like this:…
excelasked 9 years, 3 months ago Jaciel Barros 21 -
1
votes1
answer166
viewsProblem with return of PHP’s Mysqli class fetch_all method
So, I’m doing the maintenance of a very large system. I have the query: $query = $mysqli->query("SELECT*FROM tabela"); And the problem is they used fetch_all() to return the data. When the query…
-
1
votes0
answers66
viewsAppearance of border not reported
var images = $("[data-img]"); images.mouseenter(function() { $(this.dataset.img).css('box-shadow', "inset 0 0 20px black"); }); images.mouseout(function(){ $(this.dataset.img).css('box-shadow', "");…
-
1
votes1
answer654
viewsSession in Laravel 5
In my controller, log in as follows: if(!empty($input['user'])) { $result = $this->userRepository->searchuser($input['user']); //Busca o usuario pelo login // dd($result['data']['user']); if…
-
1
votes1
answer73
viewsHow to Perform Label Visibility Binding according to the size of a List
I have a list of objects of type "Basicvariable", a ObservableCollection of them, and I need the Graphical Interface to display a Label when the number of items in this Collection exceeds 1000, I…
-
-1
votes1
answer41
viewsString Size Using Lists
How do I print the size of each of the strings the user types? Every time I ask to print out how many strings are inside the list and not the number of characters of each string inside lista = []…