All Questions

2
answers

Query in MySQL to return scheduled records for the next 30 days

I have a table called AGENDA, where I have the fields, ID, Location, Date. Doing the insertion and selection within the database I've already been able to do correctly. But I can not select the date in ascending order, showing the events that wi...
asked on 03.05.2014 / 04:22
2
answers

Format mask for CNPJ

I need to format a mask for CNPJ. Until then it is done, but the company default is to format with space instead of point. This is the code I am using. valorDoTextBox = valorDoTextBox.replace(/^(\d{2})\.(\d{3})(\d)/, "$1.$2.$3") Someone...
asked on 30.07.2015 / 21:15
3
answers

C # update XML based on another XML

Today I have the following XML structure: <ROOT> <TES IDTES="4780" IDPES="17522" /> <TES IDTES="6934" IDPES="12343" /> <TES IDTES="4781" IDPES="17523" /> <TES IDTES="6935" IDPES="12344" /> </ROO...
asked on 16.04.2014 / 22:23
2
answers

Is it possible to have more than one CSS rule for an "img" in a "div"?

How to apply two (or more) CSS rules to elements img of within a div ? I use the TinyMCE editor and when I send an image to post or messages (pms) I have to be in a specific measure for each thing, otherwise the images "pop" the...
asked on 06.05.2014 / 02:34
3
answers

How to check if String is null or blank in Java / Android

I went through this problem by implementing a simple database query library sqlite in android and would like to share the solution with community, I think it's useful as I've thought through until I find a simple solution.    In the imple...
asked on 27.03.2014 / 01:06
2
answers

Configure CakePHP to send emails through gmail

I'm trying to set up cakephp to send emails via < I have already done some research and have not yet had success in the result, someone could you help me?     
asked on 03.03.2014 / 16:29
2
answers

Windows Phone does not load .font in CSS

I'm doing an HTML5 responsive application using Bootstrap and SmartAdmin, etc. Works on all devices. Including Internet Explorer 8, 9, 10 and 11 but in Windows Phone 8 (with that last update that stays with IE 11) does not run the sources...
asked on 21.05.2014 / 14:44
2
answers

Convert a decimal number to binary in LISP language

Considering that you need to divide the number by 2 until it equals 1, and rearrange the remains, how could this conversion be done in LISP?     
asked on 30.05.2014 / 20:28
3
answers

sort array multidimensional php

I have the following array returned from a webservice (in the image I identify what I want, below the text to copy paste if necessary): Array([DataTable]=>Array([ID]=>STOCK[Line]=>Array([0]=>Array([Fields]=>Array([0]=>Array([F...
asked on 27.04.2016 / 17:54
1
answer

Syntax TypeScript

I'm studying TypeScript but I do not understand the meaning of this example: interface Person { firstname: string; lastname: string; } function greeter(person : Person) { return "Hello, " + person.firstname + " " + person.lastname...
asked on 31.03.2014 / 15:56