All Questions

2
answers

How to search in datatable and get only the cell searched?

I want to search your search engine and get only the cell you are looking for, not the whole row, what I want to achieve is equal to this link the list of users is in a table. $(document).ready(function() { var table = $('#ex...
asked on 26.01.2017 / 04:41
1
answer

Is there a way to make a screenshot using javascript?

I would like to know if there is any way to do a screenshot using javascript , I have found how to make a screenshot of a url but what I need is to capture the screen that the user is viewing. Thanks in advance.   ...
asked on 01.01.2017 / 22:19
1
answer

Validate 2 regular expressions in a

I have the following regular expression /^(([^<>()\[\]\.,;:\s@\"]+(\.[^<>()\[\]\.,;:\s@\"]+)*)|(\".+\"))@(([^<>()[\]\.,;:\s@\"]+\.)+[^<>()[\]\.,;:\s@\"]{2,})$/i To validate emails, I must also validate that the email...
asked on 28.03.2018 / 16:24
3
answers

Open compiled program in terminal

Hello, I have a console program in C, it compiles well in Ubuntu, but when I open it, it does not generate the console window, I have to open it from the console in order to achieve this. What should I do to have the program open automaticall...
asked on 28.02.2017 / 17:06
5
answers

Hide a div tag in HTML

I have the following code: <div class="auto" id="auto"> Ocultar </div> They could tell me if the tag has any property to hide.     
asked on 02.08.2018 / 22:27
5
answers

JAVA String: Difference between Null and ""?

public static void main(String[] args) { String frase; String palabra = ""; String mostrar = null; int i; int c = 0; frase = JOptionPane.showInputDialog("Ingrese al frase: "); frase += " "; for (i = 0; i...
asked on 17.06.2017 / 10:12
3
answers

Read a memory address stored in a text file

I need to read the memory address of a pointer from a file, since I implemented the function, an integer function that when reading the file it returns the stored address: int Cargar(std::string nombre) { std::ifstream archivo; archivo.open(...
asked on 13.08.2018 / 00:58
3
answers

Get variable name in JavaScript

I have the following: function Class(){ this.getInstanceName = function(){ // ¿Es posible obtener el nombre de la instancia? algo como: return getInstanceName(); }; } var classInstance = new Class(); // debe imprimir: classInstan...
asked on 29.12.2015 / 18:52
2
answers

DATE () vs DATE_FORMAT () in MySQL

The doubt came to me by answering a question here on Stackoverflow. The aim was to obtain only the date (without the time) of a column DATETIME , to compare it using BETWEEN . Obtaining that date can be done: Using DATE...
asked on 25.10.2017 / 12:49
2
answers

Add the diagonal of the matrix

I have a matrix and take the diagonal, but do not add the values that exist, could you help me please? This is my code: int i,j, filas=0, columnas=0,sumadiagonal=0; Console.WriteLine("filas?"); filas = Convert.ToInt16(C...
asked on 03.08.2017 / 06:20