Java NoClassDefFoundError using maven
Including all the jars in a directory within the Java classpath
Parsing domain from a URL Why do my shortcut icons get broken on Windows 7? I have a strange problem. My icons seem to disappear randomly on my Windows 7. They were there a while back, now they ain't.  It happens often and quite randomly. Anyone know a fix? Why is it OK to jump into the scope of an object of scalar type w/o an initializer? Is it possible to make a simple query to count how many records I have in a determined period of time like a year, month, or day, having a TIMESTAMP field, like:   SELECT COUNT(id) FROM stats WHERE record_date.YEAR = 2009 GROUP BY record_date.YEAR   Or even:  SELECT COUNT(id) FROM stats GROUP BY record_date.YEAR, record_date.MONTH   To have a monthly statistic.   Thanks! How to install software or upgrade from an old unsupported release? Changing sides in tennis This  says:      A player has to win six games, and at least two more than the foe, to claim a tennis match. Players switch sides after every odd game, as in the first, third and fifth games, and so on. Players also switch sides at the end of a set if they're playing an odd number of games.   So, you start, 1-0, and change sides. If the game ends 6-0, 6-2 or 6-4 (or an even number of games), you play the first game of the new set, change sides, and you are back to the previous rule.  But what if a player wins 6-1 or 6-3? You win the set, then change sides. Now, you play a new set, do you change again at 1-0 (therefore after having played just one game), or wait until the 1-1 or 2-0, therefore now changing after an even number of games in the second set? Syntax to transfer from remote to local scp by leapfrogging onto another host? scanf() misbehaving How to create the matrix attached that has 2x2 blocks in its diagonal and a square outlining them? How to disable command-Q for Quit? Is there any way to disable command+Q for quitting apps?  I tried adding this menuitem to the "Keyboard Shortcuts" preference pane (as ), and remapping it to command+option+Q (slightly harder to hit), and the menu item changed to show this, but command+Q still causes the app to quit.  I'm using OS X 10.7, but I'd happily upgrade to 10.8 if it fixed this.  The app I really want this for is Firefox, but if there was a solution that disabled command+Q for every app, that would be fine, too. Determining the structure of the quotient ring $\mathbb{Z}[x]/(x^2+3,p)$ Prove that for all integers $ a $ and $ b $, if $ a $ divides $ b $, then $ a^{2} $ divides $ b^{2} $. I am given that $V$ is n-dimensional vector space over $\mathbb{C}$ and $T \in L(V)$. And $T$ has least $m$ distinct nonzero eigenvalues. How do I show that $\text{null}(T^{n-m}) = \text{null}(T^{n-m+1})$?  I'm really not sure how to start here so just the first couple steps would be very helpful. Thanks!! Updating my appointment without cancelling the previous date Overriding !important style Title pretty much sums it up.  The external style sheet has the following code:  td.EvenRow a {   display: none !important; }   I have tried using:  element.style.display = "inline";   and  element.style.display = "inline !important";   but neither works. Is it possible to override an !important style using javascript.  This is for a greasemonkey extension, if that makes a difference. How do I resolve unmet dependencies after adding a PPA? Occasionally, when I'm installing stuff, I get an error like the following:  Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:  The following packages have unmet dependencies:  package1 : Depends: package2 (&gt;= 1.8) but 1.7.5-1ubuntu1 is to be installed E: Unable to correct problems, you have held broken packages.   How can I resolve this? What is the best introductory Bayesian statistics textbook? Which is the best introductory textbook for Bayesian statistics?  One book per answer, please. Value of Vandermonde type determinant Let $x_1,...,x_n $ are distinct real numbers.  Is it a formula for the Vandermonde type determinant $V(x_1, \cdots,x_n)$  whose last column is $x_1^k,\ \cdots,\ x_n^k$, where $k \geq n$, instead of $x_1^{n-1},\ \cdots,\ x_n^{n-1}$?  Thanks From time to time certain chat rooms (JavaScript and probably PHP, too) attract the attention of a fellow help vampire who thinks he can start sucking from the people in there.  Often their message end up being flagged as offensive (and those flags are likely to be validated, too, because people are annoyed by such behaviour) but it's kind of an inappropriate use of those flags.  I'm proposing a new chat flag type, which is especially meant for help vampires. Flagging it would present the flag to 10k users and owners of the room where the flag originated (no matter how much rep they have). When the flag is validated it would cause messages from this user to be shown with a low opacity for maybe three hours. It could also notify the user that help vampirism is a bad thing and that he needs to improve his behaviour.  Repeated flags of this type - obviously with some time in between in case multiple message which are really part of the same conversation are flagged - should then result in a temporary ban from the room where the messages got flagged. If that doesn't help the next step would probably be a temporary ban from all chat rooms.    For clarification, I'm not talking about the quick "this line doesn't work, why?" stuff but the kind of help vampires who get cocky even though they just got e.g. a link to a SO question which has a perfectly fine and fitting answer. Because hey, you didn't give them teh codez! CASESAFEID() apex equivalent Is there any function in Apex which could emulate functionality of the  formula function? I'm trying to get 18-char Id variant from the standard one.