All Questions

1
answer

Returning week number of the month

In January this year (2018) I have 5 weeks in it, being: 1 week: 1 to 7; 2 weeks: 8 to 14; 3 weeks: 15 to 21; 4 weeks: 22 to 28 and 5 weeks: 29 to 31 (or for others from 29 to 04 February). When I use the function...
asked on 30.01.2018 / 13:30
1
answer

How to calculate the age of a person in Oracle SQL?

I need an sql command that returns the person's age. I have the date of birth of the person in the bank, I need to calculate their age by SQL.     
asked on 12.06.2017 / 19:59
2
answers

What is the purpose of the setTag and getTag methods in View?

In% with% declared in this way below, the TextView is used as the definition of the 1 attribute. See: <TextView android:id="@+id/tvJonSnow" android:layout_width="wrap_content" android:layout_height="wrap_content"...
asked on 27.06.2017 / 16:52
4
answers

How to change font in textarea using javascript?

Is it possible to change the text font of a textarea using javascript?     
asked on 20.07.2017 / 21:23
2
answers

What is the native Python support for database manipulation?

I found things about a module called mysqldb, but I did not find documentation available at docs.python.org Please disregard responding with frameworks such as Django.     
asked on 28.06.2017 / 06:29
1
answer

How does a virtual keyboard work for security purposes?

I know you have several posts here citing the pros / cons of virtual keyboards to avoid keyloggers , but I did not see any that went deeper into that specific point:    How do these virtual type keyboards work? Where, instead   If you enter...
asked on 13.07.2017 / 16:39
2
answers

Select multiple rows from a data.frame, from the largest values R

I have the following date.frame in R: df <- data.frame(x = c(10,10,2,3,4,8,8,8), y = c(5,4,6,7,8,3,2,4)) df x y 1 10 5 2 10 4 3 2 6 4 3 7 5 4 8 6 8 3 7 8 2 8 8 4 First point : I would like to get all rows conta...
asked on 13.06.2017 / 18:56
2
answers

Find lower string of a list in python

How do I make a function to determine the smallest string in a list by ignoring spaces? For example, when typing: menor_elemento(["joão", " a ", "arrozz"]) The output should return "a" (without spaces), because it is the smallest strin...
asked on 10.06.2017 / 17:11
3
answers

"Find and replace" with regular expressions in MS Word 2016

I have a list with result of the candidates of a public contest that I want to sort by note. However, before making the necessary classification remove the registration number of each competitor, which follows the following format, for all:...
asked on 21.06.2017 / 21:15
2
answers

CORS JAVA (ERROR)

I'm trying to connect to an API that was made in Java, but I always get the error when trying to connect (I want to feed a mobile application, done in JS / Cordova). When I connect (via Browser) I get it, the API returns and everything works...
asked on 06.06.2017 / 20:56