All Questions

1
answer

How to play sound in a java program?

I need to do a Java program, where the user enters the password and it is displayed on a TV monitor, this program will be used in a restaurant, so when the request is completed, the TV request and sound. How do I add alert sound to the progra...
asked on 15.04.2015 / 15:57
2
answers

How to model plots when you do not know how many?

Typically, when it comes to installment payments, you get the idea of 12 installments. So you soon create a table with 12 fields, one for each parcel. But I am faced with the situation where the customer is a consumer of continuous service...
asked on 18.09.2015 / 16:55
2
answers

What is the space limit of each database in mysql

I see that some SGBD's has a defined space limit for each Database. As in the case of the Express version of SQL Server that provides 10GB for each Base. I would like to know if MySql has any limits, and if a heavy bank can...
asked on 15.05.2015 / 16:24
1
answer

How to Transcript JavaScript Functions for PHP

How can I transcribe these functions to PHP? function bytesToWords(bytes) { var str; for(var i = 0; i < bytes.length; i += 2) { var char = bytes[i] << 8; if (bytes[i + 1]) char |= bytes[i + 1];...
asked on 21.04.2015 / 22:30
3
answers

Copy bank record

I used the following query to attempt to 'copy' a record insert into valores select * from valores where id = 1 However, I get the following message:    An explicit value for the identity column in table 'values' can only be specified wh...
asked on 13.04.2015 / 21:18
2
answers

Image with text

I wanted to do something like this: The square is an image. I tried to do with table but it does not stay that way.     
asked on 29.04.2015 / 16:46
4
answers

Two-dimensional Array

I'd like to loop through a two-dimensional array according to the code: var cadeiras = [[true, false, true, true, true, false, false, true, true, true, false, false], [true, false, true, true, true, false, false, true, true, tr...
asked on 20.10.2015 / 19:30
2
answers

Responsive Source as you adjust the screen size

I have a responsive website only that the same letter putting in%, Rem or EM does not adjust. Then it is possible to make the font change for example a window with the length 1000px and font-size in 1.8em (18px)
asked on 13.06.2015 / 00:36
2
answers

How to remove spaces at the beginning and end of a string?

How to remove any number of spaces at the beginning or end of a string in C #?     
asked on 03.05.2015 / 18:13
1
answer

Use JavaScript to change ownership in CSS

I'm not able to make it work, I have a retractile side menu and a button on a bar in the header. I set my menu to margin-left: -250px; and wanted it when I pressed the button it would go to margin-left: 0; , thus making the menu app...
asked on 16.04.2015 / 21:18