All Questions

1
answer

Remove noise, dots and image strokes

I'd like to know how I can process a captcha image to remove noise, traces, and dots. Here are some examples of how you are and how I would like you to stay. Original Image: AdjustedImage:     
asked on 23.11.2015 / 13:33
2
answers

How to count state changes in fields with a given class inside a function?

How do I count how many changes occur in all fields of a form with a given class? Update: What I want to know is if there was any change in each field ( one ), not how many times there was change in each field (even if the user changes...
asked on 21.12.2015 / 18:51
1
answer

How do I export a polygon created by drawPoly as a shapefile?

I created a shape using the drawPoly() (package raster ) function that manually draws the polygon. At the end of the selection it generates a SpatialPolygon , but I can not export because it is not a SpatialPolygonDa...
asked on 17.11.2015 / 13:58
1
answer

What are Macros and how to use them?

So far during my C programming course, the only contact I had with macros came from standard libraries and I did not know very well what happened when I called these macros. I would like to know what exactly macros are, how to create one in C /...
asked on 09.06.2015 / 00:06
4
answers

How do you search for an element with the same class depending on the number of children?

My scenario is as follows, I have two ul with li . The uls have the same class, but I wanted to manipulate only one of them, in the case, which has only a li as a daughter. Example: link Example 2: <ul cl...
asked on 21.12.2015 / 16:34
1
answer

Call graphical interface in java

My doubt is simple, I think. I need to call this interface CadastroGUI d = new CadastroGUI() ; which I already have ready, but I want the fields already appear filled, after all, it is a query command by CPF where I want to return the clie...
asked on 01.12.2015 / 02:00
1
answer

How to resolve the NetworkOnMainThreadException error?

I'm having an error in passing the HTTP Client from JSON to Android. Follow my code in JSON: // constructor public void JSONParser() {} public JSONObject getJSONFromUrl(String url) { // Making HTTP request try...
asked on 18.06.2015 / 14:27
1
answer

Accessing html objects in code in asp.net c #

I have a page that contains asp.net and html objects. How do I access design html objects in .cs with C# ?     
asked on 25.05.2015 / 21:52
3
answers

OpenSuse 13.2 - Sublime as default editor

I've downloaded sublimeText2 for text editing and would like to set it as the default editor instead of gedit but I'm not getting it. Attempts Arquivo -> abrir com -> outro aplicativo -> visualizar todas as apli...
asked on 05.06.2015 / 16:51
2
answers

Sort month that is in extensions in Postgres

I need to make a ORDER BY in a table mes that has the months in extenso and in Portuguese (Janeiro, Fevereiro...) . It has no relation to any other column in the table. Is it possible to do this?     
asked on 20.05.2015 / 15:57