All Questions

2
answers

What does it mean to run lint in code?

I saw this expression "lint code" in some places, in the Visual Studio IDE and also when running the NG CLI of the Angular. What does it mean? What exactly does lints code do?     
asked on 19.09.2018 / 22:11
1
answer

Information Box Google Maps with JS

How do I display an information box when clicking on the marker? I tried to do following the documentation, but when I click, the box appears but not the information inside it. //Center var mapProp = { center: new google.maps.LatL...
asked on 22.06.2017 / 14:59
1
answer

What is the given name for the number of columns in a table?

What is the given name for the number of columns in a table? And the name for the number of rows?     
asked on 07.06.2017 / 19:05
3
answers

Retrieve groups from a regular expression in Perl

I'm running this regular expression to separate the digits of a version: ([\d]+)+ As you can see in this example , it works well enough to cover my needs. However, I have to add this to a Perl script, which is not my specialty. I run my...
asked on 03.05.2015 / 17:54
1
answer

Pagination script PHP [duplicate]

I would like to know how I can perform pagination in PHP (in this case 10 items per page). The display is being made this way: <?php foreach($pdo->query('SELECT * FROM videos ORDER BY id DESC') as $c): ?> <li> &...
asked on 27.10.2015 / 15:49
2
answers

Create Javascript Library

I would like to know how I can create my own javascript library, that is, create functions that can be reused in various projects and with easy customization. I know that there are already a lot of good libraries out there (JQuery for example...
asked on 17.08.2015 / 19:07
1
answer

setInterval does not repeat

I'm trying to solve the following problem: On my page, setInterval does not repeat, tried in many ways, even simplified in the mode below to see if it would work, but it still does not repeat, it is working as a setTimeout . fu...
asked on 03.06.2015 / 14:34
2
answers

Separate integer by character

I have a vector of integers: int nums[10] = { 1234, 4761814, 9161451, 14357 }; I want to know how to separate these numbers, for example, the first element turns a vector like this: {1, 2, 3, 4} ie separate the integer, becaus...
asked on 08.10.2015 / 05:30
2
answers

Preload, prefetch and preconnect, what are they for?

I see in several sites these Preload, prefetch, and preconnect values in the attr rel of certain links, but I do not quite understand their functionality. For what exactly do they serve? When to use?     
asked on 18.01.2018 / 15:11
1
answer

ConnectionString different for different builds

I have two connection string, one when I'm developing that uses my local bank and another for when I deploy the application in Azure. I want the application to know which one to use depending on the type of build I do. What is the simplest wa...
asked on 13.08.2015 / 22:58