All Questions

2
answers

textarea with lines of notebook style

I need to make a print form that could be typed in the browser or printed for writing. As can be written on the printed sheet, I need a bookmark in the textarea that draws the lines as if it were a notebook. I need this model: body {...
asked on 20.03.2016 / 16:12
1
answer

Call an asynchronous function in an ActionResult?

How to call an asynchronous function on a non-asynchronous controller, to be clearer follows a situation: I have a form that when saving it needs to save data in the database and simultaneously send an email notifying a user that such action...
asked on 04.03.2016 / 13:37
1
answer

Clone private repository passing password as parameter

I have a script on my production server that automates the whole process of checking for new commits, generating the build and posting the new changes. It works perfectly with open repositories, by running the code: git clone -b meu-branch...
asked on 17.02.2016 / 03:45
1
answer

Exhaust characters

I'm having trouble understanding the escape characters, I already know that the \n line breaks in a string, but the other characters I can not understand. Ex: \a \b \f \r \t \v , I joined the site link and does not have man...
asked on 04.03.2016 / 04:44
2
answers

Multiple projects in MVC and WebAPI

I'm looking for a project template that involves multiple MVC and WebAPI projects. In the solution I'm thinking of designing (if possible) a content management solution for multiple clients and I'm thinking this way: I wanted to have a Pai pr...
asked on 08.02.2016 / 21:45
1
answer

I can not ignore fields when trying to return them as Json causing "Infinite recursion"

I'm working with Hibernate , Spring and Jackson (to ignore the fields) and trying to return the User < strong> in a request json java returns error due to @OneToMany and @ManyToOne mapping with the Profile class. Does anyone know why?...
asked on 11.03.2016 / 06:57
1
answer

Going from one point to another

With the following facts, x(p1,d1,c,d,e,f), y(d1,d2,i,j,k,l), z(d2,d3,o,p,q,r), Think of them as points, I would like to know how I can go from x to z, by inputting p1 and d3. I have, for example: write('Partida: '),nl, read(Partida_it...
asked on 15.05.2015 / 22:49
2
answers

Would it be possible to save session user data in SessionStorage?

Is saving user data in SessionStorage a good option? For example, the user enters the login and password I authenticate in back-end and return the entire object, then store that user in SessionStorage . I'm a bit afraid to...
asked on 23.02.2016 / 15:45
1
answer

How to pass the value of one variable in the JSP to another in Javascript?

I'm trying to set the value of a variable inside a script tag with JSP expression language. I tried this way to check if the value was not empty: <c:if test="${!empty newsletter.id}"> <script> $(function(){ alert(...
asked on 08.05.2015 / 18:18
2
answers

Read only the last characters of a LUA string

I have a string, I just want to read the last characters after the last ";". Example: "12/5/2015; 00: 00: 05; 90" -> Read only the "90"     
asked on 12.05.2015 / 16:41