All Questions

1
answer

Formatting Decimal

I'm having a problem decimally formatting my code in Objective-c, I'd like to take advantage of only 2 decimal places of my variable that is float . Ex: Variable value discount = 4.00043621 I need to be stored only 4.00...
asked on 21.08.2015 / 14:50
1
answer

Index cardinality does not update

I'm creating a program that connects to a MySQL database online, and when I start it it creates a table with an index if it does not exist. To check if everything is ok I am analyzing the database by phpMyAdmin from the server, but when I che...
asked on 09.08.2015 / 02:59
2
answers

PHP - Bring the result of a table according to the most recent message from another table?

So .. I have 3 table: user: | ID | NOME | SOBRENOME | | 01 | Igor | Ferreira | | 02 | João | Henrique | | 03 | Rose | Beltão | following: | ID | user1_id | user2_id | | 01 | 01 | 02 | User 1 > Segu...
asked on 30.07.2015 / 13:51
3
answers

Centralize elements using margin

I do not understand a lot of CSS or HTML, but I was building my website and I came across the following problem: Intheimageabove,youcanseethatallthumbnailsarearrangedandperfectlyaligned. WhenIresizethewindowthereisaspaceontheside.Iwantedtokn...
asked on 11.09.2015 / 01:31
1
answer

Is it possible to use MD6 in C #?

hash , is it possible to use MD6 in C #? Would anyone have an example of the use in a simple string ? In my searches I did not find anything very objective.     
asked on 16.09.2015 / 22:40
2
answers

Adjust bar code size Barbecue

I'm generating a bar code using Barbecue, but where I'm going to print the code is rather low or the paper is 8 cm wide and the information I have to generate the barcode has 44 digits. I've tried to scale my generated code but I can not....
asked on 18.08.2015 / 20:41
2
answers

Combining column value with MySQL

I'm working on a report in MySQL where I need to show a percentage of various events that occurred with a group of entities. The structure of my table is as follows: | id | eventoA | eventoB | eventoC | eventoD | |----|---------|---------|-...
asked on 06.08.2015 / 18:51
2
answers

How can I get the maximum and minimum values after applying LOESS

My data is brought from a database and I simply apply: ggplot (data = df_postgres, aes (x = date_time, y = duracao)) + geom_point() + stat_smooth(method = "loess") And I get the following smoothing: Is it possible to get the maxim...
asked on 15.09.2015 / 15:17
1
answer

Add migration and make update at runtime EntityFramework

I'm developing an application and the need to add migration and run the update at runtime. I already have all the part that loads the modules: public class ClientContext : DbContext { protected override void OnModelCreating(DbModelBuil...
asked on 10.06.2015 / 03:31
2
answers

How to modify the HTML document through an extension?

I would like to make a button appear on the site that I have developed, but only for those who have the extension. I have the CSS, HTML and Javascript codes to generate the button. Button functionality is ready, I just need to do the extensio...
asked on 06.07.2015 / 13:45