All Questions

2
answers

How to close a JDialog after finishing executing a Thread?

I have a configuration window that opens on the first run of the application I'm developing. After typing the directories that the application will run the user clicks save, some tests are run and finally a Thread runs. I would like to have t...
asked on 15.04.2014 / 18:51
1
answer

Common predecessor in a commits graph

I bumped into an interesting problem again during an interview. Unfortunately I am also not sure that I found an optimal (or good enough) algorithm. I thought about sharing to see if anyone knows a classic solution or a more efficient variation...
asked on 26.05.2014 / 03:26
1
answer

How to access a specific header from an http response?

I have a Rest API in Java, which makes use of JWT to authenticate users and generate tokens to access their resources. I have an application in AngularJS, which should consume these resources, but I must first request a token in the API. I would...
asked on 26.08.2017 / 14:01
1
answer

How to use multiple App.config

How to use more than one App.Config? I have a Solution with several projects. In each project there is an App.Config. When I try to read a key, either by AppSettingsReader or System.Configuration.ConfigurationManager.AppSettings th...
asked on 23.08.2017 / 19:08
1
answer

Remove locations and bus stops / stops from Google Maps

I have this code: <script> function init() { var myLatlng = new google.maps.LatLng(34.04, -118.24); var myOptions = { zoom: 13, center: myLatlng, mapTypeId: google.maps.MapTypeId.ROADMAP }; var map =...
asked on 07.07.2017 / 19:04
1
answer

How to send / encapsulate a file in an .apk to use in the app installation?

I have an .xls file that I would like to encapsulate next to the apk so that at the time of installing the app it uses that file to populate a database. How to do?     
asked on 24.04.2014 / 21:51
1
answer

What is Beacon?

What is Beacon? How can I deploy using Android? Can be implemented in .NET or just in Java? Do you have a simple example?     
asked on 07.08.2017 / 16:42
1
answer

Types of secure VPNs [closed]

I have a project ready in my company where I use pfsense on the edge of the network, the equipment plays the role of Proxy, Firewall, gateway and VPN with SSL certificate, but a third party to come deploying an accurate point-to-point cloud acce...
asked on 26.09.2017 / 16:10
1
answer

Get IMEI via Javascript

Is it possible, through a web page, to get the IMEI of the mobile phone of the user who uses javascript or something else?     
asked on 23.07.2017 / 02:31
1
answer

How to know which exception can be thrown in C #?

If in Java I invoke the void cadastra() throws SQLException method for example, I will be forced to add a try catch block or to "re-launch" the exception that can be thrown by this method. So, right away I know which exception c...
asked on 29.06.2017 / 02:34