All Questions

3
answers

Change border thickness with CSS

Can you make a border with CSS less than 1px? Because in my layout it was very thick.     
asked on 28.10.2016 / 14:16
2
answers

How to commit files deleted from the local project?

DESCRIPTION: I have a relatively common problem, but it takes a lot of time on the project, so let's go. Suppose I have a project with the directories examples: css , dist , src , js , fonts , and some files in the root like index.htm...
asked on 29.11.2014 / 21:59
3
answers

Format currency with thousands separator [duplicate]

I have the following code: function numberParaReal(numero){ var formatado = "R$ " + numero.toFixed(2).replace(".",","); return formatado; } function realParaNumber(texto){ var compativelComParseFloat = texto.replace("R$ ","");...
asked on 06.03.2017 / 17:37
4
answers

Separate letters from String numbers

I need to separate the characters of a string into numbers and letters. Ex: Entry:    "A1B2C3D2Z9" Output: List<Character> numeros = { '1','2', '3' } List<Character> letras = { 'A', 'B', 'C' } I use a for to...
asked on 09.02.2017 / 17:04
3
answers

System of categories and subcategories / infinite children

I'm building a system of infinite, simple categories and subcategories. I found a script on the internet that meets the requirements, but its customization and adaptation to my project made it almost unusable. I studied a simple structure and...
asked on 14.04.2014 / 01:31
5
answers

Return inside try ... catch does not work

I made this method: public int VerificaUltimaAnalise() { //Desenvolvimento WFExecutor vcmpExecutor = null; WFAnalise vcmpAnalise = null; Core vmpaCore = null; int vintCdTransa...
asked on 23.01.2015 / 14:03
3
answers

jQuery - Typical duplicate use situation of the same code. How to proceed?

Being here doing my sites in php/mysql/html/css and learning more and more about jQuery I got into the situation where I should use the same code for two ids distinct. How do I need to use the same code in two different p...
asked on 09.08.2014 / 20:05
2
answers

Why omit the PHP closing tag?

Every good good practice book and wiki starts with this "rule" but no one offers good reasons. What good reasons to ignore the ?> PHP closing tag?     
asked on 04.05.2015 / 21:41
4
answers

Draw a square on the screen using a tick (#)

Hello, I'm starting to program in python and I'm having a hard time doing an exercise in which I have to make a rectangle with "#". largura = int(input("Digite a largura: ")) altura = int(input("Digite a altura: ")) while largura >...
asked on 19.01.2017 / 18:00
2
answers

Check if parentheses have been closed

I need a Regex that checks whether the parentheses have been closed within the string . This is my example: /regex/.test("fdfdfdf(ddsd"); //retorna false, porque o parentese nao foi fechado;. /regex/.test("fdfedff(ffd)dd") //retorma true...
asked on 10.08.2014 / 21:36