Questions tagged as 'contador'

2
answers

VBA - Counting the number of cells filled in row

Hello everyone. I'm trying to create a code responsible for reading the number of cells filled in the rows .. I tried this way but I was not successful. For b = 1 To rMaior contador = Worksheets("1").Range("b:b").Cells.SpecialCells(...
asked by 10.11.2015 / 13:55
1
answer

How to use a counter within a HashMap?

Is it possible to do this? public static void main(String[] args) { Scanner in = new Scanner (System.in); Map <String,Integer> mapa = new HashMap <String,Integer>(); mapa.put("45 - Jose" , ? ); //A "Key" deve ser o...
asked by 16.05.2016 / 04:36
2
answers

Count vowels and know how many there are

Good! I want to create a function that would allow me to say if a word or phrase has vowels, and if so, how many vowels it has, but I have 2 problems in my code that I do not understand: def conta_vogais(str): vogais = ['a','e','i','o','u'...
asked by 19.11.2016 / 17:02
1
answer

Like and Share Button Counter Custom for Social Networks Twitter and Facebook

How to get the total number of likes and shares of a URL on the Twitter and Facebook platforms? There are a number of sites on the Internet where you usually see custom Facebook and Twitter custom buttons, with a custom count...
asked by 03.07.2015 / 10:04
1
answer

Would an alphabetical sequence counter be possible?

I'm doing a pascal code where one of my arrays has alphabet values (A to Z) for a personal project of type Questions and Answers / Meanings from A to Z : > aux[1]:= 'a'; aux[2]:= 'b'; aux[3]:= 'c'; ... aux[24]:= 'x'; aux[25]:= 'y'; aux[26]:=...
asked by 18.02.2016 / 05:04
1
answer

Using recursion to count the number of times a number appears in a list

I have created a recursive algorithm to count the number of times a certain n appears in a ls list. It seems to work if the ls list is quite small (between 10 and 100), but if it is large, type 1000, it does not seem to work...
asked by 01.01.2016 / 01:27
0
answers

Django session timer countdown

I have this in my login screen: SESSION_COOKIE_AGE = 1200 # 20 minutos and would like to show the remaining time in my template. Does anyone know a good middleware or package for Django that adds a missing timer to logout. I did not fi...
asked by 13.01.2015 / 21:49
1
answer

How to calculate cumulative time in cumulative days in php? [duplicate]

Everyone, okay? I'm new here in the forum. I searched around every corner and could not find a solution to what I need. The concept is simple: What I basically need to develop is a cumulative day counter that does not have a defined e...
asked by 19.07.2018 / 00:31
1
answer

Query execution after a few seconds

I have a script that logs all page views for my site that I've uploaded, and it's working fine. But now there are some issues with GOOGLE visitation, and there is "a lot", more "much" visitation of Google Robots and it is not legal to have a Web...
asked by 21.05.2018 / 23:08
1
answer

Make infinite count of ordinal numbers and expose in HTML document

What I want to know is how can I make a rising counter in pure Javascript 0, 1, 2, ... I want something automatic, infinite without requiring an integer or negative integer The count can be started from 0 or 1 onwards ... Example <...
asked by 23.01.2017 / 15:14