Git: Where exactly is the “working directory”?

I am going through some Git tutorials. The concept of a “working directory” keeps being mentioned, however, none of the tutorials or documents I read points out where or what this “working directory” is. I have thought that it was actually the .git‘s parent directory, a.k.a the directory I run git init in. But the … Read more

Difference between Chrome Apps and Extensions

Quoting from https://developer.chrome.com/webstore/apps_vs_extensions: We’ve already had the concept of “web apps” in the browser for a few years, as something more rich and interactive than a website, but less cumbersome and monolithic than a desktop application. Examples include games, photo editors, and video players; all of these categories are viable as tightly focused apps running … Read more

Dynamically replace image source with jQuery

I’m trying to replace the default Yelp star rating image for businesses with one of my own. To do so I need to find the corresponding image source for each of the possible 5 images that could have loaded. And then, based on that I need to load in the proper image I’ve created. So, … Read more

java -version and javac -version showing different versions

I have java 7 and java 8 both installed on my windows system under C:\Program Files\Java In the environment’s path I specified the path of java 7 like this. %JAVA_HOME%/bin where JAVA_HOME = C:\Program Files\Java\jdk1.7.0_17 But when I type javac -version it shows javac 1.7.0_17 which makes sense but when I do java -version it … Read more