Interesting questions
-
14
votes3
answers333
viewsIs there any advantage in bringing together all the icons of a website in a single image?
I see on most large websites that the icons used are grouped in only one image, which leads to the download of only one file by the user. Is there some benefit in speed gains or is it just a matter…
-
0
votes1
answer74
viewsIF record = X, LEFT JOIN in table 1, IF record = Y, LEFT JOIN in table 2
I have a table called "system_signature" containing these fields: - Tipousuario - usuId This user must save a user’s ID, of course. But this user can have 2 types (Student and Client). The data of…
mysqlasked 7 years, 10 months ago Maykel Esser 598 -
1
votes2
answers987
viewsAngularjs | How to define a boot process for a controller?
I have an app full of Ajax that needs to get data via Webservice when the page loads. I’ve already initialized via ng-init but I don’t know how to have the controller "load" and execute the code…
-
0
votes1
answer966
views -
-1
votes1
answer2214
viewsNotification, "Registration Done" message Displayed by clicking on a form button?
How to get the browser, or actually the site to send messages like those issued for you to subscribe to a newsletter from some site. I want this message to appear when I click the sign-up button...…
-
3
votes3
answers381
viewsUncheck all checkboxes by going back to the previous page
I am developing a software and I noticed a flaw: when the user returns to the previous page, the checkboxes are still marked. How I clear them all?…
-
0
votes0
answers126
viewsTreat callback json from ERP Bling in Laravel
I’m having trouble treating the following json return from ERP Bling on Laravel: array ( 'data' =>…
-
4
votes1
answer104
viewsHow to organize photos in multiple frames
I wanted to make this effect of the image below. Here img.fotosC { margin: 5px; } img.fotoLat { width: 17%; } img.fotoCent1 { width: 10%; } img.fotoCent2 { width: 40.5%; } <div…
-
0
votes1
answer141
viewsError when selecting part of a string in the select of an entity using Entity Framework and Linq
I need to assemble a Drop-down with part of the name of a project, which is very large in the database, goes up to 250 characters. For this I made a selector like this: var lista =…
-
0
votes1
answer39
viewsWhere the return is List<List<String>> convert this result into List<String> only by combining the elements
Considering the implementation below: fun main(list: List<String>) { val x = list .stream() .map { findMessages(it) } .collect(Collectors.toList()) } fun findMessages(s: String) :…
-
1
votes1
answer100
viewsHow to make animation occur multiple times
I have a project that I’ve imported animate.css so that the transitions would be funnier, but one of them only occurs to me once. var check = true; $(document).ready(function(){ $(".p2").hide();…
-
1
votes1
answer241
viewsCreating a custom domain for customers like Icasei does
I created a system that generates a website for the customer, such as ICase. Example: www.meusite.com.br/cliente1 www.meusite.com.br/cliente2 www.meusite.com.br/cliente3 www.meusite.com.br/cliente4…
-
0
votes1
answer84
viewsView document in pdf using printdocument
I am making a direct print on the printer using the printdocument, now I need to use this document to generate a pdf, and view using the Windows pdf, how to pass my code to pdf. follow the code I…
c#asked 7 years, 9 months ago Junior Guerreiro 617 -
7
votes1
answer443
viewsHow do I send 200 emails (not a newsletter) without running the risk of going to spam list?
Every month we send 200/300 handwritten emails with variable text to the month’s customers (not a newsletter). Via PHP I can make the text dynamic, and send automatically, but the problem is sending…
-
6
votes2
answers25999
viewsHow to position one div under another with varying sizes?
I have the following situation: I search the database results and display them this way <div style='background-color:#fff;width:260px; margin-left:5px;margin-top:5px;float:left;'> texto…
-
3
votes3
answers549
viewsHow to filter through attribute on an object / array
I believe it’s a simple question but I’m not finding a solution to my problem. Example: Object: {projectId:"1" name:"Projeto A" image:"imagem.jpg"} {projectId:"2" name:"Projeto B"…
-
0
votes1
answer179
viewsneed to put an extra left Join in this query
My code is below he returns me "h. banks as banks" with a number, which is foreign key I want him to return me to the description of this bank, only that in many cases, h.banco returns me as null…
-
0
votes1
answer78
viewsWHMCS error when using easy billet
I am using the easy boleto module for whmcs it is returning the following error array(2) { ["result"]=> string(5) "error" ["message"]=> string(51) "Admin User var is required if no admin is…
-
0
votes1
answer48
viewsError " Indirect fixture" when using pytest with a python factorial function
I’m studying recursion and automated testing and decided to implement a recursive factorial: def fatorial(n): if n <= 1: return 1 else: return n*fatorial(n - 1) import pytest…
-
0
votes1
answer131
viewsGlobal variable is not being assigned within an AJAX function
I created a global variable in Javascript and I am making an AJAX request, inside the function Success ajax, I assign the return to the global variable, but when leaving AJAX, the variable is…