All Questions

2
answers

Firefox serrated font

How to solve this problem in Firefox regarding fonts? Home Unfortunately Chrome is smooth and Firefox serrated.     
asked on 01.04.2015 / 14:23
2
answers

How to compare the value of a HashMapchave, value with a variable?

I have a HashMap aluno<Integer, Float> , where the key Integer will be the student's enrollment number, and the Float value will be the student's grade. I got the grades average using Iterator , but now I need...
asked on 20.11.2014 / 15:58
2
answers

select from date in the postgreSQL database

How do I make a select in the postgreSQL database for it returns the data from a specific date, for example I have a field of type timestamp with name data_interview, I want it to bring me the data registered from the present day forward . SEL...
asked on 19.10.2016 / 18:46
1
answer

What does Code 201 of a Request mean?

In searches I saw the 201 code of a Request means:    The request was met and resulted in a new feature being created. But I did not fully understand the meaning of this. What would be an example for a better understanding of...
asked on 07.12.2016 / 15:51
2
answers

PHP catching CloudFlare IP instead of user IP

I'm having a problem using the: $_SERVER["REMOTE_ADDR"]; eventually it takes an IP that is not the user's, in case it started after I started using CloudFlare ... Does anyone know why this happens? Is there a better way to get the...
asked on 12.01.2017 / 03:25
4
answers

How to transform a rectangular image into a circle (without distorting it)

As shown in the image below, I can make the rectangular figure round, but it gets distorted: .posts .posts-item img { max-width: 100%; height: auto; display: block; margin: 0 auto; margin-bottom: 0.5rem; background-posi...
asked on 23.09.2016 / 18:21
1
answer

Concatenate two sql

I have the records: |DT_OBS | DESC_OBS | COD_TURNO | COD_PERIODO| |01.10.16| TESTE 01| 1 | 1 | |01.10.16| TESTE 02| 2 | 1 | |01.10.16| TESTE 03| 1 | 2 | |02.10.16| TESTE 04| 1 |...
asked on 04.11.2016 / 18:44
1
answer

How to determine the character's level by gaining experience?

I created this calculation based on multiples below to determine how much the character will need to have experience to level up. float NeededExperience(int level, float experienceRatio = 100F) { float neededExperience = ((level - 1) * exp...
asked on 05.10.2016 / 20:31
2
answers

Reversing FILTER_SANITIZE_SPECIAL_CHARS

I took a variable and converted it using FILTER_SANITIZE_SPECIAL_CHARS . Example: filter_var ("hug' o", FILTER_SANITIZE_SPECIAL_CHARS); The result: hugD&#39; o How do I reverse this?     
asked on 23.08.2016 / 21:26
1
answer

What is referential integrity?

I have already looked at several sites and so far I have not been able to fully understand what referential integrity is. So I decided to ask here. When to use referential integrity?     
asked on 17.11.2016 / 20:30