How can I make a hard drive copy its contents to another hard drive in real time?
Automatically make or update a copy real-time on another hard drive volume whenever files are saved to a particular folder
Change the selected value of a drop-down list with jQuery I have a drop-down list with known values. What I'm trying to do is set the drop down list to a particular value that I know exists using jQuery.  Using regular JavaScript, I would do something like:  ddl = document.getElementById("ID of element goes here"); ddl.value = 2; // 2 being the value I want to set it too.   However, I need to do this with jQuery, because I'm using a CSS class for my selector (stupid  client ids...).  Here are a few things I've tried:  $("._statusDDL").val(2); // Doesn't find 2 as a value. $("._statusDDL").children("option").val(2) // Also failed.      How can I do it with jQuery?     Update  So as it turns out, I had it right the first time with:  $("._statusDDL").val(2);   When I put an alert just above it works fine, but when I remove the alert and let it run at full speed, I get the error     Could not set the selected property. Invalid Index   I'm not sure if it's a bug with jQuery or Internet Explorer 6 (I'm guessing Internet Explorer 6), but it's terribly annoying. macOS app for showing external HDD usage statistics? I'm planning on selling a used external HDD on eBay.  Are there any applications for Mac out there (preferably free) that can show me statistics about the usage history for the drive so that I can let potential buyers know the condition more precisely? Show that if $f(z)$ is an entire function such that it takes real values on the lines $Im(z)=0$ and $Im(z)=a$ (for some $a \in \mathbb{R}_{\neq 0})$, then $f$ is periodic with period $2 i a$.    So here is my thought process: First of all by reflection principle $f(\bar{z})=\overline{f(z)}$ so if our function $f$ is given in the strip $0 \leq Im(z) \leq a$, then its values on $-a \leq Im(z) \leq a$ follow by reflection principle. Then by imposing $f(z)=f(z+2 ia)$ we can intuitively see that this will define an entire function by looking at how the strips $na \leq Im(z) \leq 2na$ seamlessly stack on top of each other. Is this logical? And how would one prove this analytically? Mixing tenses in past tense fiction I have a MySQL database that I "inherited" and I was not given the admin credentials.  I do however have access to the box that it runs on.  Is there a way to either recover the admin credentials or create new ones? Seeking point cloud (LiDAR) data? Is there any freely available pointcloud data?   I'm especially interested in dense clouds of small areas(5m to 100m radius) but anything else would be fine too.   I've found that these pages have very nice and easy to access point cloud data. Let's say I have a document that has many pages and some pages have different formats. For example, most of the pages are fine with \documentclass{article} but there may be pages in the middle that I want to be \documentclass{letter}. I want my letter pages to be numbered inline with the other pages and have them show up in the Table of Contents.   Is it possible to change the class used for an individual or range of pages while still keeping things like page numbering consistent across them?   EDIT I'm trying to create a "welcome to the company" sort of document that has a cover page, table of contents, welcome letter, then various sections of information. I've never tried this in anything other than a word processor where it's easy to set "master pages" or "template pages" for individual pages in the document. So I could use a letterhead template page for the welcome letter part and a standard article-type template for the rest and still have the letter numbered/referenced in the ToC.   So the idea was to take advantage of the classes written, if possible, rather than have to format a single page by hand differently from the rest. Splitting lines by polygons in QGIS I have a river network (lines) and a .shp with states (polygon). I would like to split the lines at the state boundaries i.e. split lines by polygon boundaries. Is there a geoprocessing tool to do this in QGIS? I can't merge the lines by the way, since they are meaningfully split into tributaries/main river. How can friction do no work in case of pure rolling? I have read various answers , on PSE and elsewhere , and most of them explain that the point of contact of the rolling object undergoes 0 instantaneous displacement in the direction of friction, I agree , but then there is a feeling that the friction does provide a torque , so how can it do 0 work . ( The pure rolling here is under a constant external force on the object so friction does act ). Set keyboard caret position in html textbox Does anybody know how to move the keyboard caret in a textbox to a particular position?  For example, if a text-box (e.g. input element, not text-area) has 50 characters in it and I want to position the caret before character 20, how would I go about it?  This is in differentiation from this question:  , which requires jQuery. Set value of textarea in jQuery I am attempting to set a value in a textarea field using jquery with the following code:  $("textarea#ExampleMessage").attr("value", result.exampleMessage);   The issue is, once this code executes, it is not altering the text in the textarea?  However when performing an alert($("textarea#ExampleMessage").attr("value")) the newly set value is returned? Callback functions in Java I have some lines. I want to draw perpendicular lines at the start and end of the lines, on both sides of the lines.  Can somebody help me in Python?  I am using ArcGIS. Is the git storage model wasteful? How to add USB 3.0 port to your laptop Is it a good practice to always scale/normalize data for machine learning? Can I create script tag by jQuery? Usage of the word "meet" in the context of a phone call/video conference If I've got a file (or files) selected in Windows Explorer, the only way I've found to "unselect" them is click with the mouse on some empty space.  I thought Esc would do this, but it doesn't. Also changing focus with Tab or Shift + Tab doesn't work; the file(s) are still selected even if focus goes to the address bar for instance.  Does anyone know of a keyboard shortcut to do this? Is there always an equivalent metric which is not complete?