All Questions

2
answers

How to rename a local branch in Git?

How do I rename my local Git branch? I do not want to rename a remote branch, I want a simple way to rename my local branch.     
asked on 19.08.2014 / 17:18
3
answers

What really is an N-tier application?

I've always heard a lot about N-tier applications, but thinking about it lately I've been a bit confused by what this really means. Searching on google found the wikipedia article on the subject and saw that this has to do with a physical separa...
asked on 27.07.2014 / 02:15
4
answers

How to execute .jar with the prompt?

I have already generated the jar file through Netbeans, but I am not able to run the program through the command prompt. What command to run it in the Windows environment?     
asked on 09.02.2014 / 20:03
1
answer

EaselJS isometric map, problem in code, can identify

window.onload = function() { var stage = new createjs.Stage("canvas"); var bmp; var board; var img; var data; var tileClone; var x,y; var mapWidth; var mapHeight; img = new createjs.SpriteSheet({ "images": ["images/tiles.png"], "frames...
asked on 01.05.2014 / 22:06
1
answer

Portuguese material for beginners in programming [pending]

Are there good sites or introduction books to Portuguese programming? What would you indicate as first reading for an absolute layman in programming?     
asked on 28.08.2014 / 22:32
4
answers

How can I optimize a recursive method to find ancestors?

I have a Pessoa class that has relationships for your parent (these can be null at any time). In a certain part of my code I need to find out if one person is ancestor of the other. I was able to get a recursive solution of the foll...
asked on 13.12.2013 / 14:09
2
answers

What are the benefits of using HTTPS?

Where I work, people often say that they have to put HTTPS on their systems to make it more secure. I'd like to know: What does SSL make a site safer? What types of attacks do they avoid? In the implementation of SSL...
asked on 05.02.2015 / 15:44
3
answers

java.util.Map, best implementation considering just get (Object key)

I would like to know which class that implements java.util.Map contains get(Object key) faster. The purpose is to make a mini data cache, the volume of information will be approximately 2 to 10 thousand records. Map<Int...
asked on 18.08.2015 / 22:38
2
answers

CSS: color opacity through hexadecimal?

I accidentally put a hexadecimal color with two more digits and I noticed that in Google Chrome this affects the opacity of the color, as well as the rgba() function. More or less like this: body { background-color: #ff0000;...
asked on 22.11.2018 / 20:02
2
answers

Handle large files with GIT

Scenario Some time ago, I tried to use GIT to version some backups, mostly small files, git behaved very well versioning them when they were not big changes from one commit to another, but on a specific server, there were large binary files,...
asked on 22.01.2014 / 13:46