All Questions

3
answers

Using jQuery Validation Engine and validation of CNPJ

I'm using the jQuery Validation Engine with this file of translations into Portuguese. I have added the following line to the JavaScript: "cnpj": { "regex": /^\d{2}\.\d{3}\.\d{3}\/\d{4}\-\d{2}$/, "alertText": "* CNPJ inválido" }...
asked on 25.02.2014 / 14:14
3
answers

How to download an image from the internet with C #?

For example, I need to download a sequence of images: http://www.simepar.br/site/fragmentos/radar/simepar_24.gif http://www.simepar.br/site/fragmentos/radar/simepar_23.gif http://www.simepar.br/site/fragmentos/radar/simepar_22.gif How would...
asked on 05.03.2014 / 18:29
3
answers

How to group records by time zone?

I have a table in MySQL, which stores the visits on my site, taking as fields: id | ip | date , with date of type DATETIME . What I need is to separate these visits by peak times. Example: Das 10:00 às 12:00 | 500 visitas Da...
asked on 16.03.2014 / 22:29
1
answer

Make two different classes communicate

I'm making an Android application that uses time and date selectors (DatePicker and TimePicker), which are displayed in the form of fragments. When the user sets the desired time, I need it to be passed from the selector fragment to the main win...
asked on 23.04.2014 / 20:21
2
answers

How to develop a private RESTFull API?

I need to develop a RESTFull HTTP API in PHP to serve as authentication for users of an Android application, the problem is that since it is a public distribution application I can not define any key in the code as for example: basic authenticat...
asked on 21.10.2014 / 20:35
1
answer

Help with configuring DbContext with EntityFramework using good practices

I have my application layered with Class Library and my layer with Entity Framework , where I set DbContext , it's Repository . My class inherited from DbContext: public class Context : DbContext { private stati...
asked on 18.03.2014 / 01:36
1
answer

Element Rotation With Arrow

Asyoucanseeinthispicture,insidethedarkgrayballhasanumber.It's100.Thatmeansthepointerhastohit100there.Ifitis0,thepointermustbeinthemiddle.ThepointisthatthisNPS(NetPromoterScore)valueis-100to100.Icannotmakethecountthatmakesthispointerrotateaccord...
asked on 28.07.2016 / 21:47
1
answer

Shoot animation with scroll

I tried to include the Fade function in the following elements, but I was not successful. The default shown on the site is this . I want to apply this to the <p> tag for when I scroll and go through them, they increase the fon...
asked on 20.05.2014 / 20:34
1
answer

How to customize a 404 error page in CodeIgniter 2.1.4 using base_url ()?

I would like to use a% custom%, but accessing an image using the página de erro 404 function does not work. How to solve?     
asked on 18.04.2014 / 08:23
3
answers

Should log tables have Foreign Keys?

I had a case in my service on those days when it was not possible to delete a record because it was referenced by the log table. Of course, that has generated a call for IT to solve. But such a case made me think. Although by default I...
asked on 12.08.2016 / 17:03