All Questions

1
answer

In R, count words and enter a line break

Expensive, good afternoon Suppose I have a vector as follows    caption
asked on 04.02.2015 / 20:37
1
answer

How to work with ui-mask in input angularjs

<form name="myForm" ng-submit="addState(myForm.$valid)" novalidate > <input ng-model="data.cnpj" type="number" ui-mask="999.999.999-99" placeholder="CNPJ" required ng-minlength="6" ng-maxlength="12" ng-pattern="/^[0-9]{1,7}[-\.\...
asked on 28.01.2015 / 20:18
2
answers

How to make Nginx provide prepackaged content?

I've already enabled the HttpGzipStaticModule module and set the gzip_static on; But in response headers of a GET request does not appear Content-Encoding gzip     
asked on 12.12.2013 / 03:44
2
answers

How to do with CSS loader bar with animated background?

I've seen this element that actually works as a " loader " while the image is loading etc. And I tried to replicate it. Not the dynamics to function as a loader , but rather this effect of the passing line at the top. WhatIhavetocodesofaris...
asked on 30.11.2018 / 13:38
3
answers

Force execution order of jQuery events

Assuming a page that has multiple events being associated via jQuery. For example, in a certain section, I have: $().ready(function() { foo(); }); And more ahead I have: $().ready(function() { bar(); }); And several more lines...
asked on 03.02.2014 / 23:18
2
answers

Only with CSS is there any way to make a "Toast"? An element that goes up and then click to close it?

In mobile there is a very common component that is known as " Toast ", but I was thinking about how to adapt it only with HTML and CSS Isthereanywaytodosomethinglikethis"component" above just using CSS and HTML, without framework or other...
asked on 21.11.2018 / 11:51
5
answers

How to increase or decrease div proportional to 720x540?

I'm trying to solve this question because I have a .ppt slide with dimensions of 720w and 540h and my page is cleared, so the reason to increase or decrease proportionally. Example:     
asked on 31.01.2014 / 14:57
2
answers

How to retrieve a large array in PHP quickly?

In the example below, I have a array in PHP with about 128,000 records that I retrieved from another file, and I use it in some applications to compare indexes as HashMap . > array(128521) { [0] => string(3) "aba" [1] =>...
asked on 11.01.2014 / 07:34
3
answers

How to display the exception message (ex.getMessage ()) thrown by the server in a jquery ajax?

@GET @Path("boleto/{processo}/{resposta}") @Produces({ "application/pdf","application/json"}) public Response gerarBoletoDividaAtivaComCaptcha(@PathParam("processo") String numeroProcesso,@PathParam("resposta") String resposta ) throws DetranExce...
asked on 14.02.2014 / 11:25
2
answers

How to remove bug from antialising lines generated in Firefox and IE?

I'm creating a border on my site, with background . It works perfectly in Chrome, but in Firefox and IE unwanted lines appear. I have already noticed that they are present in the CSS3 property of transform: scaleX (-1); in the Div effect I need...
asked on 06.03.2014 / 22:58