All Questions

2
answers

Replace letter by empty or blank, something like Replace ("letters", "")

There is a A1_ZTEL field in the database that is varchar(15) . This way, each user entered a record of all forms, with bar, dot, comma and letter. Now I need to mount a form and read this field from another table that is var...
asked on 11.04.2018 / 21:47
1
answer

Array in PHP using () or []?

I always use the parentheses to define an array in PHP, such as: $array = array('a','b','c'); But every now and then I see some code here using brackets, like: $array = ['a', 'b', 'c']; However, if I use brackets, I get the error:  ...
asked on 01.05.2018 / 00:06
2
answers

How to select only the characters I want from a source?

I'd like to decrease the disk's font size so the page loads faster. It is the font of Awesome Font icons. I want to know if there is any tool so I can remove the characters I do not use and leave the font "leaner." For example, if I only use...
asked on 06.09.2017 / 04:36
1
answer

How to set the file size in a Download response?

I have an application where I give a response by downloading a certain file on the server to the client. I zipo the image files that are in a folder on the server and give a response by manipulating the headers so that the file is downloaded....
asked on 30.11.2017 / 16:48
2
answers

Difference location.href or location.assign

What is the difference between location.href = url and location.assign(url) ? Is it something in JavaScript memory consumption? Is there any official recommendation to use? I consider the location.assign more elegant and readab...
asked on 17.10.2017 / 14:48
2
answers

ArrayList versus List

What's the point in C # should we give preference to using List instead of ArrayList ?     
asked on 09.08.2017 / 15:01
2
answers

What's the difference when creating a class libray (.net framework) and class library (.net standard) project in VS2017?

What are the differences and uses of these types of projects?     
asked on 08.11.2017 / 12:44
2
answers

Error in the program in VisualG

I'm having problems with this program, because when I put it to work and I type a value greater than 18, a message appears saying that it is missing a FIMSE and that there is a FIMENQUANTO without a corresponding ENQUANTO . t...
asked on 21.10.2017 / 00:08
2
answers

Three points in the parameter of a function in a class, what is it?

I was inspecting a class from a phpoffice vendor called phpspreadsheet and found the following function in the Calculation.php module ... not a problem, but I would like to understand the meaning of this function, I have programmed it in php for...
asked on 02.02.2018 / 13:50
1
answer

What is ViewHolder Pattern?

I am implementing a RecyclerView on Android and I noticed that it is necessary to create a class called ViewHolder . This class seems to be a design pattern called ViewHolder Pattern, and my doubts arise exactly at this point....
asked on 17.09.2017 / 17:40