All Questions

1
answer

I can not center horizontally a div child of a container div with flexbox

I can not horizontally cen a div with flexbox. I have a half query for mobile screens @media only screen and ( max-width: 479px ) { .filadisco1 { display: flex; width:280px; justify-content:center; flex-direction:column; align-content: center...
asked on 26.09.2016 / 14:38
2
answers

Arduino - Error erasing EEPROM memory in MEGA

I'm new to Arduino and I'm having a problem with Arduino ... I have 2 plates. One is an Arduino UNO and another is an Arduino Mega. I run the following program in both, that the only thing it does is clean the EEPROM memory and show how it was....
asked on 31.07.2018 / 18:35
1
answer

Get the positions of the array where you find a value with numpy.where

I have an array of the form: array = ['A', 'D', 'A', 'A', 'A', 'D', 'A', 'A', 'D', 'A'] And I need to get the positions of the array where I find 'D' . What I'm trying to do is: d_pos[numpy.where(array == 'D')] But I get the foll...
asked on 21.09.2016 / 18:34
1
answer

Error inserting records with MySQLi with prepared statements

I published a question yesterday, but another very similar problem arose, I already verified the connection to my database (it is correct), I already did "SELECT" of all my table and answered correctly, and update records and if you update them...
asked on 02.08.2018 / 00:06
1
answer

How to make a hello world in assembler Nasm in windows?

I would like to know how to make a hello world in nasm with the Windows 8 64-bit operating system. Or should I change to Tasm?     
asked on 23.09.2016 / 18:17
2
answers

Select an option dynamically angular

Hello everyone, thanks for your response and the time dedicated. I have another doubt it is possible with angular to put a selected option dynamically because I have to achieve that. In the html code I have this where keysSecurityTypes is an...
asked on 22.09.2016 / 18:01
2
answers

Problem when merging two objects in JavaScript

I have to merge two objects into one, I put simple examples of what I need to do: var obj1 = [ { Prop1 : 'Valor 1A', Prop2 : 'Valor 2A' }, { Prop1 : 'Valor 1B', Prop2 : 'Valor 2A' }, { Prop1 : 'Valor 1C', Prop2 : 'Va...
asked on 02.08.2018 / 10:09
1
answer

How can I give privileges to SQL SERVER sessions?

I was investigating and I have a question. I know that to create a session is: CREATE LOGIN user WITH PASSWORD = 'pass'; And my question is: How do I give read and write privileges and assign a table to that user with SQL code?     
asked on 27.09.2016 / 23:23
1
answer

Doubt over IF SQL and check if a select returns records [closed]

In a table called pacientes I have a Juan , which is varchar (4) . My if has the following inconvenience Juan can be Pedro or José . That is, this name can vary many times I need a IF that...
asked on 24.09.2016 / 01:23
1
answer

Difference between Fwrite and Fputs?

I am currently programming a small practice in which several partners are the fputs and the fwrite in which does not seem to affect the operation of the practice (which I am using fwrite, was the first I used), and I entered the doubt of the dif...
asked on 10.10.2018 / 23:57