All Questions

2
answers

JavaScript function error. $ .toJSON

I'm running a script that was passed to me by third parties. And it is giving the following error:    TypeError: $ .toJSON is not a function QtdeQuartos: $.toJSON(qtdQuartos),     
asked on 21.02.2014 / 20:22
2
answers

Use jQuery function only in @media screen and (max-width: 960px)

We know that there are @media queries . They work with CSS. But I need to do with JavaScript. I need bxSlider to work only on% w / o%.     
asked on 18.03.2014 / 13:40
2
answers

How to deal with dependencies (DLL's) in Delphi / Lazarus?

How do I find out which DLL's should I distribute along with my application so that it works on any machine? I know InstallShield - it does the business in an automated way - but I would like to know if there is any free way to do this, ev...
asked on 14.04.2014 / 13:31
2
answers

Maven how to set the JDK version?

Problem: When I create a project maven the project always had the version JDK 1.5 , if I change the JDK version in the IDE when doing a Maven > Project Update it returns to JDK 1.5 . Is the setting.xml...
asked on 18.02.2014 / 20:54
1
answer

Date in English (en-us) [duplicate]

I have the following code in PHP: <?php setlocale(LC_ALL, "pt_BR", "pt_BR.iso-8859-1", "pt_BR.utf-8", "portuguese"); $tz_object = new DateTimeZone('Brazil/East'); $datetime = new DateTime(); $datetime->setTimezone($tz_object); $dia...
asked on 11.02.2017 / 02:31
2
answers

php Show the variable

I have a page that sends emails when one of the dates on my form is ending. Currently it only sends the name of the person who has the date to end but I want it to inform the date that is at the end. sql = ("SELECT Nome, data1, data2, data3, d...
asked on 13.02.2014 / 10:16
3
answers

How to use repeated methods?

I have some methods that I use at various points of the applications and I end up having to copy in each class. For example: String getStringOrEmpty(EditText editText) { String mString = editText.getText().toString(); mString = (mSt...
asked on 02.02.2017 / 03:31
1
answer

Scrolling Dates using Calendar

I'm making a report on java , which passes a period specified by the user. In my%% of% I'm doing the treatment. Here I pick up the date passed. String data1 = DateUtil.toString(dto.getDataInicio(), "MM/yyyy"); String data2 =...
asked on 01.02.2017 / 13:10
2
answers

Convert HTML as an image

I have string with the page's HTML, is there any way to save it as an image? Render the entire page as an image, and if possible, store it in MemoryStream .     
asked on 15.03.2017 / 19:03
2
answers

Convert String Value to Hexadecimal without changing format

I'm using the following code in a Class. public Int16 Endereco = 0x7302; byte[] Data = BitConverter.GetBytes(Endereco); Array.Reverse(Data); [...] I would like to receive the value for the Endereco variable of a String...
asked on 31.01.2017 / 12:25