Interesting questions
-
0
votes2
answers98
viewsHow to avoid code redundancy in these two methods, one having a Ienumerable<> parameter and the other not?
How can I simplify these two methods in order to prevent code repetition? Method 1, with the first expression having a generic property of type Ienumerable<>: public GenericDAO<TModel>…
-
4
votes1
answer1322
viewsHow to change the color of buttons when selecting a radio input?
I have this form When you check the "Bills to Pay" radio input, I need the buttons to turn red. I’m using Angularjs, so I used ng-if, but the code was quite extensive. How could I do it in a simpler…
-
3
votes2
answers854
viewsPHP passing parameters
I have a registration screen where the user can change his data and after clicking the 'Save changes' button the changes are made in the database. Follow the button I created in the user editing…
phpasked 11 years, 2 months ago PHP developer 205 -
0
votes1
answer966
views -
0
votes1
answer50
viewsDynamic upload input layout with gallery
Hello, I’m creating a resource where the mechanism should: choose an image in the input when performing input change, a new one is created via js next when I get there, I need help, because the…
-
0
votes0
answers174
viewsLong text fpdf
Hello, I am trying to create a service contract within the Dolibar CRM. He works with fpdf, and since I don’t understand almost anything, I’m here. Since every contract is great, I thought of…
-
1
votes1
answer63
viewsEvent (click) being undone by (Blur)
In an Angular form 9 I have a component that in your (Blur) performs some calculations with values existing on the screen. It also makes a subscribe for the back obtaining some information necessary…
angular typescript angularjs-directivesasked 6 years, 4 months ago Carlos Eduardo Germano de Souz 11 -
1
votes2
answers152
viewsreceiving null or void field
I have a class object that appears like this on print_r(); Membros Object ( [idMembro:Membros:private] => [dataCadastro:Membros:private] => 2019-01-10 [nome:Membros:private] => Cleonice P…
-
0
votes1
answer39
viewsGroup Data from a SELECT using the DATE parameter
I have the following scenario: I am getting a SELECT, where each record contains the coordinate and creation date of this Record. I would like to display by DATE the amount of coordinates obtained…
-
-2
votes1
answer90
viewsCalculator of a P.A in python
print('='*50) print('Digite X para calcular o que você não sabe em um P.A') print('='*50) a1=int(input('Digite o 1° Termo:')) r=int(input('Digite a RAZÃO da P.A:')) an=int(input('Digite o ULTIMO…
pythonasked 6 years, 2 months ago CHFerreira 11 -
1
votes1
answer44
viewsError using Sslclientexisengineconfig
I’m trying to use the class Sslclientexisengineconfig to make a call on an SSL server (I need to make a call where the client uses a certificate to authenticate to the server, vice versa). When…
javaasked 8 years, 11 months ago Nicholas Fuchs 11 -
1
votes1
answer391
viewsGet data from another Model
I’m not getting a phone related to a user on View edit(). I can get the phone number on ver() but not in the edit(). Controller Patient: public function edit($id = null) { if…
-
0
votes2
answers225
viewsOverflow-x of a <div> containing three other <div>
Well, I did a major div, and it contains three other div. The content of these 3 internal divisions is 1234567890 three times in a row, and I would like their width to expand within the main div…
-
2
votes1
answer1510
viewsMerge the output of two Select’s - Postgresql commands
My need is to merge the result of two select commands so that I get everything back at once, for example in this command: SELECT codigosuprimento, suprimento, count (codigosuprimento) quantidade,…
-
1
votes0
answers204
viewsCalling youtube video with click to a responsive Section with jquery
I would like to call several video from the Youtube channel for a Section, the calls would be one by one, through click, to the various titles corresponding to the video, or it can also be link.…
-
1
votes0
answers57
viewsHelp with Visual G
I’m having a problem in Visual G. It’s a college exercise (ADS - 1st Semester). I need to create an even or odd number identifier, however, without using MOD, division or multiplication, only sum…
-
0
votes1
answer1202
viewsIs there a size limit on the writerow of csv?
I will create a CSV of 1,341 lines (with header). In Python 3 I used csv commands, but the file created has 1,282 lines The line data is extracted from 1,340 Pdfs, from the metadata. I created a…
-
0
votes1
answer59
viewsField for by subtitle file URL in Player
I’m working on a Webplayer and I need to create a field where the User can insert the URL of its legend and the same goes to the SRC of tag track... Think about input but I don’t know how to proceed…
-
1
votes4
answers1380
viewsWarning box after click div
Hi, I was wondering how do I make it so when someone clicks on a button to open a box in the center of the page and the background page is blurred. I have only the button code: <a…
-
7
votes1
answer130
viewsMake a " or " inside the key of an attribute in JS
I have the following code: scope.cm = 1; scope.mm = 2; scope.km = 3; tipoDeMedida[scope.cm || scope.mm || scope.km] = function(arrayQualquer){ //executo meu bloco de código X. }…