All Questions

1
answer

Split base with "for" in R

As my first for in R I found it difficult to apply this function. I have a base that has a base date with different years and I would like to split the base by base dates. The variable "date" has a split date from January 1995 (199501) until...
asked on 29.06.2017 / 22:53
1
answer

Centralize nav element

I can not centralize the <nav> element HTML: <nav class="menu"> <ul> <li><a href="index.html">Home</a></li> <li><a href="#">Responsive</a></li>...
asked on 06.05.2014 / 18:32
3
answers

How do I lock a responsive page in portrait?

Is there any solution to display the web page always in portrait (portrait) on mobile devices, even if the user rotates to the landscape mode? That is, always locked in portrait.     
asked on 13.03.2014 / 20:42
2
answers

Add seconds per hour - Excel

I have a column with the following values: 945 224 554 487 This would be the seconds that I need to add to another column with hour, minutes, and seconds 12:09:37 23:54:45 10:40:44 11:20:10 I'm doing it as follows I get a value in s...
asked on 29.06.2017 / 14:52
2
answers

Interpret and direct with URL that after domain contains a hash

I am creating a rule to interpret addresses that after domain begin with # followed by numbers or followed by letters whose rule should only be read if there is no file or directory that matches the path indicated: # Rewrite the url <...
asked on 13.03.2014 / 12:37
3
answers

How to calculate the product of the elements of an array in C

How do I multiply values of a vector of integers by each other in C. I have values inside an array eg [1,2,3,4], I want to multiply one by the other, resulting in 24. p>     
asked on 12.02.2014 / 18:02
2
answers

How to make buttons of various formats in java?

I'm creating a little game using Swing, and I would like to make buttons with different formats, the way I choose. For example: a round button, or an eye-shaped button, for example. And if they did, I'd also like to know how to put textures o...
asked on 11.05.2014 / 02:24
2
answers

How to avoid function calls

I have a call on my systems for a javascript and it always worked. It is a function to show / hide a loading image for the user. The problem is that sometimes I have to call this function in a user action of a select field, for example,...
asked on 13.03.2014 / 14:57
1
answer

Error with Ajax navigation ("XMLHttpRequest can not load ...")

I'm trying to use a navigation without refresh on the page, but when I click the link, it gives this error: XMLHttpRequest cannot load file:///Caminho.../paginas/login.html. No 'Access-Control-Allow-Origin' header is present on the request...
asked on 07.02.2014 / 14:55
1
answer

Differences in dynamic creation of an object

When I create an object dynamically, for example a form, I do this: Formulario := TFormulario.Create(nil); try Formulario.ShowModal; finally Formulario.Free; end; What's the difference in creating an object by passing th...
asked on 03.04.2014 / 22:22