All Questions

1
answer

Best solution for three types of users

I'm starting in frameworks MVC with Laravel 5.3 I have 3 very different types of users, OperadoresDoSistema , AnunciantesDoPortal and ClientesCompradores , who can view the ad. Each has its sessions, its dashboards, log...
asked on 28.10.2016 / 13:33
5
answers

How to read data from the MySQL database of an application in C #?

I have a table with 2 columns in phpmyadmin, I can connect and read one column but the other does not, it gives the following error   An unhandled exception of type 'MySql.Data.MySqlClient.MySqlException' occurred in MySql.Data.dll   Additio...
asked on 07.12.2015 / 02:30
1
answer

How to put the scrollbar inside the body?

I styled the scrollbar of my website for webkit, and I put the background of the track as transparent, however I would like the thumb to overlap the body content, simulating a position absolute effect, and the body 100% without leaving the paddi...
asked on 15.12.2016 / 14:16
5
answers

Is it possible to include elements in the DOM after it is loaded and ready?

I have a table that, depending on the amount of an X value, it inserts a set of attributes at the end of the page (fields). These elements have events assigned to them. But that's not the point. Problem is that: since I add the elements after...
asked on 06.02.2014 / 17:08
4
answers

Changing Placeholder in Focus with CSS is it possible?

Imagine that I have a input for the phone number, but that when the user focuses on it I want to change the text from placeholder , for example from "phone" to "just numbers" . You can do this with CSS in :focus for exa...
asked on 12.12.2018 / 14:54
4
answers

Read value input type file doubt

One question, why does it work: $("input[type='file']")[0].files[0] And that's not it? $("input[type='file']").files[0] // TypeError: $(...).files is undefined     
asked on 01.10.2015 / 16:03
1
answer

Sending files in Nginx error "413 Request Entity Too Large"

I'm trying to send a file of 2MB using Nginx, but I keep getting 413 arquivo muito grande . Version: Nginx / 1.4.6 OS: Ubuntu 14.04 LTS     
asked on 24.11.2014 / 14:53
3
answers

How do they relate to 'hash' which is the so-called 'dictionary' of python with the 'hash' function of encryption?

I would like to understand how the 'hash' function of encryption (in which you encrypt for example passwords) is related, with the hash key-value in programming (also known as 'dictionary' in Python for example).     
asked on 21.02.2017 / 02:30
3
answers

What are asynchronous processing and synchronous processing?

I'm having this doubt while I'm studying about the Handler class. In the book says that when a Thread is being used to perform some asynchronous processing and needs to update the graphical interface of the screen, it is required to use a...
asked on 05.09.2016 / 21:52
3
answers

What is the difference between methods for obtaining a context? [duplicate]

You can, in addition to this , get the context in various ways, with different methods. As shown in the code below, we have getApplicationContext() and getBaseContext() that apparently has the same purpose. public class M...
asked on 27.01.2017 / 13:35