All Questions

1
answer

Automatic reading routine between 2 databases in C #

I need to create a C # routine that reads 2 databases and feeds the read data to another database. The development part of the system itself I can do without problems, but I do not know what kind of project to develop. This routine will run week...
asked on 19.02.2014 / 14:03
3
answers

Function to increment value within div

I'm trying to do a function to increment (every 20ms) +1 in <div> , according to the value that will be inside it: For example: <li class="marcacao" onMouseOver="aumenta('html')">HTML5 e CSS3 <div id="html" class="nive...
asked on 15.02.2014 / 23:58
1
answer

Sublime Text 2 - Encoding UTF-8 does not work

I'm having trouble editing code, I can not modify Encoding for UTF-8 as it's in my code just below. I select the Sublime option "File> Reopen with Encoding & UTF-8" but it does not work: I'm using : meta http-equiv="Content-Type" content="...
asked on 17.02.2014 / 02:20
1
answer

Using BASE64 in Java

Problem: I can not import the classes BASE64Decoder and BASE64Encoder , there are N code that use them and when I use them everything that is related does not work just because they are not found. import sun.misc.BASE64Deco...
asked on 27.02.2014 / 16:25
7
answers

Can you use a variable above when it is declared below?

I have some includes in a PHP page, including other pages for use in friendly URL, etc. I thought about using Global variables and even constants, but it is not working. Does anyone know if there is a way without using Cookies, Sessions, or C...
asked on 09.03.2014 / 20:06
4
answers

How to select "1" or "2" depending on the column value in PL / SQL?

I have a column in my TIPOCLIENT table. In it appear CPF for Individual and CNPJ for Legal Entity. I would like the moment SELECT to come "1" to CPF and "2" to CNPJ. How can I do this?     
asked on 05.03.2014 / 12:40
2
answers

Open Source CAPTCHA decoder

I'm looking for some CAPTCHA decoding API, one that is freely usable and open source. I understand that this is a complex process that uses OCR scans and advanced techniques for digital image analysis and processing, but I still think it's so...
asked on 05.02.2014 / 19:54
1
answer

How to implement the algorithm of the Theory of the six degrees of separation?

What is it? Theory that, in the world, it takes at most six bonds of friendship so that two people are connected. Question: I have been trying to implement this algorithm for some time, but I can not imagine how I would make the links...
asked on 24.04.2014 / 06:20
3
answers

How to avoid encoding problems when taking data with TwitteR?

I'm getting Twitter data with the twitteR package for r but the tweets are coming with encoding problem. Does anyone know how to work around this problem? library(twitteR) library(stringr) library(ROAuth) library(RCurl) options(RCu...
asked on 21.02.2014 / 03:06
2
answers

How to sort a JSON in descending order?

I have a JSON value that I want to sort it in descending order (I think in the example you will understand). Example: var json = { 'um': { 'cont': '5' }, 'dois': { 'cont': '10' } ... }; So in this case...
asked on 10.03.2014 / 17:50