All Questions

4
answers

How to align the items in a list ul below?

The idea is to create a chat similar to skype, whatsApp, etc ... Where the messages begin to appear from the bottom up until they reach the height of the ul and the scroll bar appears. ul { list-style: none; height:...
asked on 28.05.2015 / 21:18
2
answers

How do I know if the calculation generated an integer?

How do I know if the calculation generated an integer? example: if (10 / 2 = NUMERO INTEIRO) {}     
asked on 01.09.2014 / 05:16
6
answers

how to search for an element in a list that is within another list?

   I have the following list of lists. [['julian', '0', '5'], ['ana', '10', '4']]    I need to use a function that tells me the position of any element within that list, I tried to use: elemento = lista.index('julian') print (elemento)...
asked on 05.06.2017 / 08:55
5
answers

Browserify + NodeJS [node: File or directory not found]

Situation I'm developing an extension for Google Chrome, and I need to use some NodeJs modules so I've found the Browserify tool so I can add modules to use it in the browser Environment I have the NodeJs, NPM and Browserify installed o...
asked on 28.04.2014 / 23:01
3
answers

Css3 stop after finishing the rotation?

I'm using transform: rotate(90deg) to run div when I put the mouse over it. Once the retreat, it returns to the starting position. Is there any way to stop it? I have my code like this .openn{ transition: transform 0.5s ea...
asked on 25.10.2017 / 17:54
2
answers

Pass generic list as parameter

Is it possible to pass a generic list by parameter? Ex: I have List<Pessoa> and List<object> . and I have my method: public void FaçaAlgo(List<T> lista) { } How can I get my method to receive both Lis...
asked on 29.04.2015 / 15:25
4
answers

Get first and last name of a string

I need to get the first and last name of a string. For example, if the full name is: Renan Rodrigues Moraes I only need to get Renan Rodrigues . I know what I should do but I do not know how. In case the name is Renan de Assis...
asked on 27.04.2016 / 15:29
2
answers

SQL Server - Check duplicate data in two concurrent fields

DBMS: SQL Server 2014; Problem: I need to know which records are duplicated, so that the verification is done in two simultaneous fields, ie if the field "CPF" with the value '83971465842' and the field 'MAT' with the value ' 001 'exists, in...
asked on 25.06.2014 / 22:39
4
answers

Explanation about concatenation of variables in PHP

I am always in doubt on how to concatenate strings with variables in PHP. I have some difficulty understanding the question of double quotes. I would like an answer that clarifies why you use one or the other and how to put it into practice....
asked on 27.02.2014 / 04:13
1
answer

Paste link posted on Facebook

Does anyone know how to get the link that was posted on Facebook via callback ? I want to know which link was generated when the user shared it, so I can validate it and even see if it actually made a share. Having this information I can...
asked on 23.11.2014 / 15:15