password recovery while os is running
How do I reset a lost administrative password?
How to install h.264 decoder? I tried playing videos in movie player but only the audio could be heard. I tried playing the video with dragon player but here also only the audio could be heard.  A message box appeared showing the following message:     Python (v2.7) requires to install plugins to play media files of the following type: H.264 decoder   I tried installing the plugin but it couldn't be installed. It isn't available in the software center too. How can I get this plugin? Discrete and compact subset must be finite How to automate entry of external column data in BCS? I have a document library, Resumes, that has a large number of resumes in it. There is a regular column on that library, called EmployeeID, that is already populated.  I have an external content type ( ECT ) that is mapped to a table that lists EmployeeID and several other columns of information. I added this ECT to the library as an External Column.    I am looking for a good way to automatically go through all items in the document library, and copy the value from the "regular" EmployeeID column into the External EmployeeID column and have it update the other columns from the ECT. Any techniques are useful (PowerShell, Object Model, Workflow?) When we have tried this in the past with workflows the setting of the External Column did not report failure, but didn't actually trigger a lookup of the other data and the value didn't seem to actually get saved.  [Update] I have been working on this and am getting closer. I am using PowerShell to access the list and set the external column ID field to the value I want it to be.  The problem is that it doesn't seem to be triggering a lookup of the external data when that field is set.  my "list" (a document library) has a few normal fields and a set of external columns mapped to an ECT "EmplData".  When you use the GUI to add or edit the properties of an item, it works. When I use PowerShell to do the following:  $spList = $spWeb.Lists["Resumes"] $spListItem = $spList.GetItemById(1) $spListItem["EmplData_ID"] = "00300"    $spListItem.Update()   Sometime the external ID field gets updated when I the refresh the web page, other times it says "(blank)". In all cases it does not load in the other fields.  Is there some Update method that updates the rest of the elements?  I gather from research that these are called "secondary fields", is the method to update the secondary fields based on the external item ID available in PowerShell cmdlets someplace?  [Update] I am finding that if I use:  $spListItem["EmplData"] = "000300"   instead of $spListItem["EmplData_ID"] = "00300" it gets around the problem of the column showing "(blank)".   I still need to figure how to make it update the other external columns (also known as "secondary columns" I think) How to unit test an object with database queries I've heard that unit testing is "totally awesome", "really cool" and "all manner of good things" but 70% or more of my files involve database access (some read and some write) and I'm not sure how to write a unit test for these files.  I'm using PHP and Python but I think it's a question that applies to most/all languages that use database access. Evaluate $\mathop {\lim }\limits_{x \to 0} \left( {{1 \over {{{\sin }^2}x}} - {1 \over {{x^2}}}} \right)$ I tried l'Hospital but that will require a lot (and I mean A LOT!!!) of differentiating  Is there a shortcut? $$\mathop {\lim }\limits_{x \to 0} \left( {{1 \over {{{\sin }^2}x}} - {1 \over {{x^2}}}} \right)$$  Thanks in advance How to create 2D shadows I'd like to create lights and shadows in a 2D environment, like in the image below:    I did several searches but got no results. Do you have any hint? How do I efficiently filter computed values within a Python list comprehension? The Python list comprehension syntax makes it easy to filter values within a comprehension.  For example:  result = [x**2 for x in mylist if type(x) is int]   Will return a list of the squares of integers in mylist.  However, what if the test involves some (costly) computation and you want to filter on the result?  One option is:  result = [expensive(x) for x in mylist if expensive(x)]   This will result in a list of non-"false" expensive(x) values, however expensive() is called twice for each x.  Is there a comprehension syntax that allows you to do this test while only calling expensive once per x? View referrals from one part of my site to another in Google Analytics I have an online shop with a blog structured this way:   Shop: example.com Blog: example.com/blog   Both index have the same Google Analytic Code (UA). In the blog I write articles about some products with a link to the product page.  Now the problem is, I want to see stat on visits whose referral links have this pattern example.com/blog/*. Show that G is a group, if G is finite, the operation is associative, and cancellation law holds Let $G$ be a non-empty finite set with an associative binary operation so that cancellation law holds, i.e. $ab=ac$ or $ba=ca$ implies $b=c$, for any choices of $a,b,c$ in $G$. Assume that there is an identity element $e$ in $G$. Show that $G$ is a group.  Proof: To show $G$ is a group, conditions must hold. Suppose that $ab=ac$, then $b=eb=(a^{-1}a)b =a^{-1}(ab)=a^{-1}(ac) =(a^{-1}a)c=ec=c$. So left cancellation holds in $G$.  2) Suppose $ba=ca$, then $b=be=b(aa^{-1}) =(ba)a^{-1}=(ca)a^{-1} =c(aa^{-1})=ce=c$. So right cancellation holds in $G$.  3) If $a$ exists in $G$ then $aa^{-1}=a^{-1}a=e$, where $a$ is an inverse of $a^{-1}$. Since inverses are unique, $(a^{-1})^{-1}=a$.  4) Let $x$ be the inverse of $ab$. Then $(ab)x=e$. By associativity we have $a(bx)=aa^{-1}$. Through left cancellation we have  $bx=a^{-1}bx=ea^{-1}=b(b^{-1}a^{-1})$ and $x=b^{-1}a^{-1}$.  Thus $(ab)^{-1}=b^{-1}a^{-1}$. So all conditions hold, $G$ is a group.  Is this proof correct? I know to show $G$ is a group these conditions have to be met. This is all I have to show right? Using OR comparisons with IF statements When using IF statements in Python, you have to do the following to make the "cascade" work correctly.  if job == "mechanic" or job == "tech":         print "awesome" elif job == "tool" or job == "rock":         print "dolt"   Is there a way to make Python accept multiple values when checking for "equals to"? For example,  if job == "mechanic" or "tech":     print "awesome" elif job == "tool" or "rock":     print "dolt" How do I remove repeated elements from ArrayList? Is it correct to say "I write children books" (not possessive case)? Although Children's books is what everybody says, I would like to understand why the genitive case is applied in such case.  If I write books for children, children is an adjective here; not the owners of my book! The word "children" just defines or characterizes the type of books I write. Therefore, it's an adjective.   So, I understand that genitive/possessive case ("I write children's book")  is incorrect grammar.  My question is: is the genitive case here really accepted as right? If I use "I write children books" (following the grammar principle) as as I say "I write pets books" (books about pets, and not possessions of pets) - would I be incorrect? Why? "This computer currently has no detected operating systems" when installing Show that $\ker \hat{T} = \text{ann}(\text{range } T)$ Is history expansion disabled in scripts? I understand the following error is due to ! used for history expansion:  $ echo "Hello!Tim" bash: !Tim: event not found   However if I put the command into a script and run the script, there is no problem:  $ cat myscript echo "Hello!Tim" $ bash myscript  Hello!Tim   Why is that? Does the bash manual mention the reason? Calculate a running total in MySQL I have this MySQL query:  SELECT DAYOFYEAR(`date`)  AS d, COUNT(*)  FROM  `orders`  WHERE  `hasPaid` &gt; 0 GROUP  BY d ORDER  BY d   Which returns something like this:  d  | COUNT(*) | 20 |  5       | 21 |  7       | 22 | 12       | 23 |  4       |   What I'd really like is another column on the end to show the running total:  d  | COUNT(*) | ??? | 20 |  5       |   5 | 21 |  7       |  12 | 22 | 12       |  24 | 23 |  4       |  28 |   Is this possible? What's the fastest way to make money online? Everything in the online world is expensive, well the best things are. We all want the luxurious apartment with 10 cars garage and the best weapons but to achieve that, we need money. Which missions or activities give the most cash ? I am trying to understand how complex numbers made their way into QM. Can we have a theory of the same physics without complex numbers? If so, is the theory using complex numbers easier? How to prove this statement: $\binom{r}{r}+\binom{r+1}{r}+\cdots+\binom{n}{r}=\binom{n+1}{r+1}$ Let $n$ and $r$ be positive integers with $n \ge r$. Prove that   Still a beginner here. Need to learn formatting.  I am guessing by induction? Not sure what or how to go forward with this.  Need help with the proof. Why are my fields initialized to null or to the default value of zero when I've declared and initialized them in my class' constructor?