All Questions

1
answer

How to simulate arbitrary concurrent traffic / access in Apache?

I'm using EasyPHP 14.1 Devserver , which comes with Apache 2.4.7 / MySQL 5.6.15 . I want to simulate high traffic and concurrent access to observe the performance and behavior of my site under these conditions, to make the...
asked on 24.12.2014 / 16:22
1
answer

Align submit button along with input Bootstrap

I have the following code that uses bootstrap 3 that consists of an input and a submit button. Currently the button is below the input, but I want it to be aligned laterally with the input. I checked some issues here but the answers did not solv...
asked on 24.12.2014 / 13:44
1
answer

Capture user data from Facebook

I'm trying to collect with JAVASCRIPT / JQUERY some specific user data that is not part of my friends list. I would like to capture data as: likes , friends , posts and groups . I did some testing and saw no diff...
asked on 02.05.2014 / 19:45
1
answer

Prevent zooming on your smartphone / tablet with Bootstrap 3

I use Bootstrap 3 in my projects and I have a question. I would like to know how to prevent zooming on smartphones and tablets, that zoom that is done with the "tweezer" movement or double touch. This maintains the responsive behavior of B...
asked on 05.01.2015 / 14:14
2
answers

Limit scrollbar according to div size

Is there any way to limit the page%% by size (height) of a barra de rolagem ? Let's say I have a site like any other, but when I open a floating% 1000px height, I want the div of the mouse to hang when it reaches the end of thi...
asked on 15.12.2014 / 19:53
2
answers

How to call a function from another JS file while maintaining the context of the current function?

I have the following scenario: HTML: <script src="JS1.js"> <script src="JS2.js"> In JS1 I have the following: $(document).ready(function(){ var pagina = "site1"; iniciarSite(); }); In JS2 I have the following: f...
asked on 14.01.2015 / 19:22
2
answers

How to get a Date String?

My question is how to get a string and manipulate it. The user will enter dd / mm / yyyy in the form of String . How do I do this capture? And then I need to turn that date into an integer so I can do the validations, such as if the repo...
asked on 24.02.2015 / 19:20
1
answer

Compare two dates

I have two string containing dates dataSalva and dataDoDia and I'm wondering if dataDoDia and 5 days greater than dataSalva how do I do this SimpleDateFormat dateFormat = new SimpleDateFormat("dd/MM/yyyy");...
asked on 22.12.2014 / 14:11
1
answer

Assign an expression to a variable

In c ++ is it possible to execute expressions within a variable? Ex (in Moon): n = math.random(9, 10) a = n .. (#tostring(n) > 9 and "-" or "--") print(a) If n were equal to 9 would return: 9-- If not, I would return 10- In c +...
asked on 21.12.2014 / 08:14
2
answers

How to make basic live stream with HTML5 video API and PHP?

I would like to know the basics about how to create a live stream system ... I have a blog script in php where I created a system of users and even a friends system but I would like to add the possibility of each user to create a channel "kind"...
asked on 28.12.2014 / 20:06