Implement SSL in java without certificates
In java SSL over https without certificate
How to detect if any specific drive is a hard drive? In C# how do you detect is a specific drive is a Hard Drive, Network Drive, CDRom, or floppy? Trouble trying to use Windows Search to search for file with a question mark in the content It seems that Windows Search is having trouble when I specify a question mark character as the content that I'm searching for within my files.  I've tried:   content:? content:"?" content:"\?" content:\? content:%3f content:"%3f" content:\3f content:"\3f" content:\00\00\00\3F   but each of these yield no results when I do indeed have files that contain ? within the scope of the search. If I instead search for something like content:happy it will indeed find all files with the phrase "happy" within those same files.  My assumption is that Windows Search is treating some characters such as the question mark as a special character likely for the purpose of wild card expressions. To test this theory I've also searched for files containing an asterisk * and indeed I have the same issue as when searching for content of question mark. What I'm wondering is whether there is any way to get a search to work where I can search for a literal expression without any type of wildcard matching or at least a way to escape the special characters within the expression.  By the way I'm using Windows 7 Enterprise. How do you switch from Wayland back to Xorg in Ubuntu 17.10? Some of my applications don't work on Ubuntu 17.10 Wayland. How can I switch back to Xorg? Can I use Class.newInstance() with constructor arguments? Remove specific duplicates (all but latest) When removing duplicate rows, using the below query from  tutorial, how would I go about forcing which of the found duplicates to remove?  DELETE FROM dbo.ATTENDANCE      WHERE AUTOID NOT IN (SELECT MIN(AUTOID) _ FROM dbo.ATTENDANCE      GROUP BY EMPLOYEE_ID,ATTENDANCE_DATE)    And this works great. The reason why I am using this one is because the only unique id available is one in the IDENTITY column. And to determine if there are duplicate rows I have to look at a combination of multiple columns.    But if I have a set of duplicate rows how do I / how does SQL Server decide which to remove? And how would I force it to remove all but the one with the highest IDENTITY value?  EMPLOYEE_ID     ATTENDANCE_DATE     AUTOID A001            2011-01-01          1 A001            2011-01-01          2   If I would run the query now it happens to remove the second one, with AUTOID 2. But I am trying to remove all but this one (because this is the one latest added). I have an accompanied visa with my grandparents but because of some reason they cannot travel with me. I am above 17 years. Can I travel alone and will I be allowed to enter UK as my real aunt puts up there? Possible Duplicate:          I've added myself back into the admin's group I think, by following   But I still can't do commands like:  sudo aptitude update   I get the message  oshirowanen is not in the sudoers file.  This incident will be reported.   How do I add myself into the sudoers group now that I am in the admin group? Short brandable domain vs. long keyword domain One-sided Fisher's exact test and its complement How do I prompt for Yes/No/Cancel input in a Linux shell script? I want to pause input in a shell script, and prompt the user for choices. The standard Yes, No, or Cancel type question. How do I accomplish this in a typical bash prompt? What is the equivalent of Persian idiom "When the reed blooms"? In Persian, we say "When the  blooms" when we want to  express that an event:   Never happens. (This is only the opinion of the speaker so it's not a fact) It's very unlikely to happen. It's going to take so long to actually happen. (It's so long that you'd be better off giving up expecting it)  3.1. We also use it when someone is always postponing something they have to do so you never actually see it happen.   For example:      Kyle: When are you going to pay my money back?      Cartman: When the  blooms.   Now I don't know if I got the plant's name right because there are some other versions like:        In any event, they have mentioned this plant in the idiom because apparently some versions of it actually never bloom. Others believe it's because farmers harvest them before they get the chance to bloom (e.g to make music instruments), so it never happens. I'd love to know the equivalent idioms or expressions for this.  PS: I only know "When pigs fly" but I'm not a fan of it because the word pig sounds a bit rude to me and partly because it implies a strong impossibility which doesn't work for the #3 use. React on global hotkey in a Java program on Windows/Linux/Mac? A Java6 application sits in the system tray. It needs to be activated using a hotkey (e.g. Super-G or Ctrl-Shift-L etc) and do something (e.g. showing an input box).  How do I do that on:   Windows (XP or Vista) OS/X Linux (Gnome or KDE) I need to define a new command to create a squiggle arrow with some text on it. Something similar to what \xrightarrow command produces but with wiggly arrows as in \rightsquigarrow. The length of the arrow should automatically be adjusted to fit the text above it and I do not know how to handle this part in TikZ. Any ideas would be much appreciated. What can a soldier requisition and for how long? In the military rank feature it says the soldier can "requisition simple equipment or a horse for temporary use". What qualifies as simple equipment, any simple weapon or something less complex than a catapult?  Additionally, which part of the sentence is the "for temporary use referring to, the simple equipment and the horse or just the simple equipment? How many group structures make $S^1$ a topological group? Let $S^1$ be the subspace of $R^2$ given the usual topology. How many group structures make $S^1$ a topological group? I have a layout similar to this:  &lt;div id="..."&gt;&lt;img src="..."&gt;&lt;/div&gt;   and would like to use a jQuery selector to select the child img inside the div on click.  To get the div, I've got this selector:  $(this)   How can I get the child img using a selector? How to get permanent token? I really need to get permanent token or dynamic generator. We set job in the server and this service will come to salesforce and get the data. To provide this, I created connected app, got the token from postman by myself and gave it. After a while (approximately 1 day), we faced with session id problem.   What can I do? I have a directory full of images:  image0001.png image0002.png image0003.png ...   And I would like a one-liner to rename them to (say).  0001.png 0002.png 0003.png ...   How do I do this? Is an option missing in the new off-topic reasons? My sisters and I all have iPhones under the same account. I also have an iPad under the same account. I am trying to get the iMessage on my iPad compatible with my phone number, not email address.   The only phone number choice to choose from is my sister's iPhone number. How can I choose my phone number for iMessage on my iPad?