My files in usb is not recovered after using diskpart and recovery tools what should I do to recover all my important files(Word, Excel, pictures) in a usb that has been previously cleaned using diskpart.  In fear of losing all my important files, I copied 2 files from my email to my cleaned usb before using a tool to recover all my files.. I am not well versed of this things.  I downloaded Minitool and Wondershare Photo Recovery to recover my files but to no avail. Can anyone please help me.. the photos are my memories way back 10 years and I have no back up for it.. my files are important because it is my personal files used in my job..
How do I recover files from an USB flash drive? Possible Duplicate:          I have a USB flash drive that claims it needs to be formatted every time I put it into my computer (Windows).  Yesterday the drive was healthy and had data on it.  The data is probalby still there.  Are there any free tools to restore the drive?  If not free, what tools are known to work in this situation?
I understand when we say current, we mean charge (protons/electrons) passing past a point per second. And the charges have energy due to the e.m.f. of the power supply.  Now tell me, if a lamp has resistance and you hook it in the circuit, how will the current stay the same? The charges obviously lose energy in the lamp and so become SLOWER, which should mean current decreases, right?  [Edit] All answers explained a bit of everything, so it was hard to choose one. If YOU are looking for an answer, please check the others too, in case the accepted one doesn't answer your question. LWC: Difference between "window" and "this" I am trying to understand what exactly is the difference between window and this in the context of a LWC component.  According to this  the Locker intercepts calls to the Window and uses Secured Window instead which acts as:     Secure wrapper for the window object, which represents a window containing a DOM document.   As for this what I  was:     To add an event listener to an element that a template doesn’t own,   call addEventListener directly: this.addEventListener()   What does salesforce mean by an element that a template doesn't own? Isn't window an element that the template doesn't own? Why can't I change directories using "cd" in a script? An example for a homomorphism that is not an automorphism Proving that any permutation in $S_n$ can be written as a product of disjoint cycles I have attempted a proof of this, but upon looking at my notes, I feel it might be incorrect: it is noticeably simpler than the one in my notes.  Proposition: any permutation in $S_n$ can be written as a product of disjoint cycles.  Proof (attempt): $s\in S_n$. Let $\langle s\rangle$ act on $X=\{1,\cdots,n\}$. Define $x\sim x'\iff x'\in\text{Orb}(x)$ for $x,x'\in X:$ this is clearly an equivalent relation, hence the orbits partition $X$. Each orbit corresponds a cycle in $s$, so we are done.  Does this hold, or have I missed something vital? Let $f:X \to Y$ be a homeomorphism between topological spaces $X$ and $Y$. Let $A \subseteq X$ and $B = f(A) \subseteq Y$ (given the subspace topology) and let $g: A \to B$ be the restriction of $f$ given by $g(a) = f(a)$ for $a \in A$.  Showing that $g$ is a homeomorphism.   $g$ injective   Let $g(a_1) = g(a_2)$, $a_1, a_2 \in A$.  $\implies f(a_1) = f(a_2)$  $\implies a_1 = a_2$ as $f$ homeomorphic.   g surjective   Let $y \in B$  $\implies y = f(a)$ for some $a \in A$.  $\implies y = g(a)$ for some $a \in A$.   $g$ continuous   Let $U \subseteq B$ be an open set in $B$.  $f(a) = g(a)$ for all $a \in A =&gt; f^{-1}(b) = g^{-1}(b)$ for all $b \in B$.  So $g^{-1}(U) = f^{-1}(U)$ which is open in $A$ as $f$ homeomorphic.   $g^{-1}$ continuous   Let $U \subseteq A$ be an open set in $A$.  $g(U) = f(U)$ which is open in $B$ as $f$ homeomorphic.  So $g$ is homeomorphic.  Is my understanding correct, this seems almost too straightforward so I was wondering have I overlooked something? I have a requirement where a certain field can be edited without the validations firing for a particular user. Now I tried to write rule like LastModifiedId != '005000000000000AAA' but the validation was still firing. Then I realized that until the record saves, the LastModifiedId does not change and the validations still fire, as the LastModifiedId would not be updated to the exempted User.   Is there any workaround or a way to check the Id of the User who is currently editing the record? I'm trying to simulate a media key press using a custom shortcut.  So far, I've been able to achieve the simulation I need using the command:  xdotool key XF86AudioPlay   It works perfectly, it pauses or starts the music player every time it is run.  The problem comes when trying to run it as a shortcut.  First I tried to run an alias with a custom shortcut, but it did not work.  As explained on :     The commands run by keyboard bindings are not parsed via a shell. Your best bet is to create a directory bin in your homedir.   Next I created the suggested script and named it simplay:  #!/bin/sh xdotool key XF86AudioPlay   It is located inside a bin folder which is part of the PATH, this works fine and can be run from any location.  When trying to create the Custom Shortcut, I was unable to get it to execute, the configuration is the following:  Name: test Command: simplay  Shortcut: Ctrl+Alt+R   After searching a bit more I found another way to execute the shortcut:  gnome-terminal -e simplay   I tried it on a terminal and noticed that when executing it it would rapidly open a new terminal window, execute the child process, pausing the music and immediately close the window.  I changed the command on the shortcut and when hitting it I noticed the same behavior opening a terminal and immediately being closed but this time the child process did not pause the music, which makes me think that the script has been called on all my previous attempts but it is somehow not being able to execute.  How can I solve this problem according to your knowledge? "On/at/for/over the weekend" in American English Some sources say that "at the weekend" is wrong, while other ones say it's correct. Which form is acceptable in American English?        On Saturdays her sister Ann usually comes to stay with Mary on/at/for/over the weekend/s.   What are you going to do at/on/for/over the weekend/s?    We are going to Paris on/at/for/over the weekend/s.   Are you going to stay here for/at/on/over the weekend/s?      Which preposition do American English speakers use — at, on, for, over? Find $\sum\limits_{k\, \text{ odd}} \frac{2(k^2-1)}{k^4+k^2+1}$ Creating lots of random cuts on a surface Here's an image of a cube with lots of edges added. It was created using knife tool and lots of clicking:    What would be the best way to randomly generate such cuts with less effort...? Why does the p-value double when using two-tailed test compared to one-tailed one? Since this has been marked as a duplicate, I want to clarify that it's not about critical values of one- vs two-tailed tests, but the calculation of the p-Value in this case.  I get that in a two-tailed test, you look at both sides of the distribution and therefore you split alpha in half and you need a more extreme test statistic to get a significant result (at the same alpha level).   In my understanding, the p-value is the probability to get this or a more extreme test statistics if the H0 is true. This is easily calculated for a one-tailed test: I just calculate the integral right of the empirical test statistic    For a normal distribution, a z-Value of 1.645 gives me a p-Value of ~0.05. But if I do the same procedure with a two-tailed test, SPSS/Excel doubles the p-value. I get that you now look on the other side of the distribution as well, and therefore I think it's the integral of z(test statistic) + z(-test statistic), but why? I did not get the result -1.645, so I don't understand why I should add the 2.5% of the other side. Discount for Roles I am using Drupal Commerce and I would like to know if it is possible to have discounted prices for registered users and much better for roles.  For example, the nomral price is $100 but when a user logs in that belongs to Role1 for example, he will see different prices with the percentage discount that I will have assigned to that role.  How can I accomplish such a feature? Does anyone know a proof from the first principles that a nilpotent matrix has zero trace. No eigenvalues, no characteristic polynomials, just definition and basic facts about bases and matrices. What does the 'static' keyword do in a class? To be specific, I was trying this code:  package hello;  public class Hello {      Clock clock = new Clock();      public static void main(String args[]) {         clock.sayTime();     } }   But it gave the error      Cannot access non-static field in static method main   So I changed the declaration of clock to this:  static Clock clock = new Clock();   And it worked. What does it mean to put that keyword before the declaration? What exactly will it do and/or restrict in terms of what can be done to that object? Salesforce - Maximum simultaneous requests callout limit Salesforce says      Maximum simultaneous requests to URLs with the same host for a callout   request is 20   Statement is very simple to read but it is not very clear as to what it means. Can anyone explain what this statement means and how can i reproduce this exception in my Sandbox?     Once more thing what is the difference between simultaneous and   concurrent? Are both same or different? Parenthesis works in bash shell itself, but not in bash script Solving multiple congruences by CRT = Chinese Remainder Theorem How can I repair grub? (How to get Ubuntu back after installing Windows?) I installed Windows 7, which ate Ubuntu's boot file. When starting up the computer, it now goes straight to Windows, without giving me the option of booting Ubuntu.   How can I get Ubuntu back? Does Java have buffer overflows? Does Java have buffer overflows? If yes can you give me scenarios?