All Questions

2
answers

POO Tables on Moon!

I would like to know why you are not returning a table in the code I made: TP = {} function TP:new(pos, newpos, effect) return setmetatable({pos = pos, newpos = newpos, effect = effect}, { __index = self }) end function TP:setNewPos(po...
asked on 30.05.2015 / 18:51
2
answers

Component for formatting HTML text

I'm looking for a component where the user can enter the desired text and format the text as they see fit. Something like the SO or image below. Does anyone know of any? Note: I'm using C # (Winforms)     
asked on 11.06.2015 / 19:17
1
answer

Calculate mod in php

How can I calculate 15,625 mod 23 in PHP only? I searched Google and other resources and did not succeed in my search, could you give me more information?     
asked on 09.02.2015 / 19:00
1
answer

Sorting ASC and DESC without losing variable value

I am trying to perform a sort order of records on a page by firing a List / Menu, but when I fire it, I am losing variable values from a first selection. When I enter the products page, I already place a $ dep variable and show the result. Wh...
asked on 28.01.2015 / 14:46
1
answer

Problem with playing videos using HTML5 native tag

Recently I hosted a video file on MP4 on my server and used the native HTML5 tag for media playback on the website. The sound comes out normally and the video is not displayed (I tested it on my PC and it runs both audio and video). I...
asked on 17.06.2015 / 07:18
1
answer

What are and how the following statements work on Web Forms pages:%%,% #%, and%:%

I do not know what they are, nor how to call them. Are tags, statements? What are they? In practice, I noticed some features. <% %> This statement accepts executable code, but does not return anything to the webpage....
asked on 18.02.2015 / 04:07
1
answer

When should I use the annotation @EnableAutoConfiguration and how does it work?

Annotation EnableAutoConfiguration should be used on what kind of project? and how does it work in the application?     
asked on 05.06.2015 / 01:16
1
answer

Problems using JSTL

I'm implementing a WEB application with J2EE, but I'm not able to list the data coming from the ServletListCourses to the Liste.Jsp page that uses JSTL. public class ServletListarCursos extends HttpServlet { private static final long...
asked on 11.02.2015 / 11:31
1
answer

How does the undeclared variable reference work in PHP?

In PHP, according to the manual, the reference of one variable is for one variable pointing to the same place where the other is in memory. I also saw that when we declare we refer to a variable that does not exist, it is created and set to N...
asked on 30.01.2015 / 12:00
2
answers

How to query a data in an array in Javascript

I'm a beginner, first and foremost. A final challenge has been proposed in the Alura system in which you have to ask for 6 numbers for a user and draw 6, then compare the arrays to see how many were successful. It's a Mega Sena game. I wan...
asked on 03.02.2015 / 14:15