Just a mont ago I copied pdf files from windows mount 'C:\' to linux OS home folder.   But since I was new to Ubuntu.while resolving oerheating problem through installing drivers My Ubuntu turned blank screen. So now I have Installed Ubuntu 13.10-32-bit again with bumblebee project.I have solved over heating problem .But my pdf files are lost. I want good file recovery software for ubuntu which can scan windows mount sda3 and recover those file(2.3GB).  On linux partition 'C:\' drive Is shown with name '2EE8844CE88413ED' .
Are there any tools, methods, incantations to recover recently deleted files on Ubuntu?  If it makes any difference, I want to recover a  2.x database file. But would be better to have a method/tool that works on any kind of file.
How can I change permissions on external drives? I wanted to change permissions on my external drives that are automounted however I have tried by sudo nautilus and then going to gui and permissions and changing it however it does not let me.  I ran the ls -l and get  drwx------ 1 xbmc xbmc   the gui shows below.  owner xbmc folder access create and delete files file access ---  Group xbmc folder access none file access ---  others folder access none file access ---   how can I change it so that everyone has permission to access the drive and ALL folders/files inside of it. I am trying to get plexmedia server running and I cant see my drives via the webpage manage to add it to my source to be able to stream my content.  I want to change the "others" access so that I can access all my drives on the /media path to get read and write for all my folders from anywhere.  you can see my drives that are mounted here (external drives are #18,19,20) How to create an annuity timeline on LaTeX I was wondering, how can I create a timeline exactly like this one:    on LaTeX?  I am a Finance student, and write all of my notes using LaTeX. These timelines, are giving me a headache. Since we use a lot of different timelines because of annuities. I want to learn how to create one basic timeline, so that I can then change anything I want. But basically, I want something like this, with the arrows and everything.  Thank you so much guys! To do a patch manually I must type this command   sudo ./playback_delete_data_patch.sh 09_delete_old_data_p.sql     There is a space just before the 09:   sudo ./playback_delete_data_patch.sh [space] 09_delete_old_data_p.sql   How can I run this inside a script?  There are also several other commands but this one is giving trouble. Prove that $f'(a)=\lim_{n\to\infty}\frac{f(b_n)-f(a_n)}{b_n-a_n}$ under some conditions Prove that $f'(a)=\lim_{n\to\infty}\frac{f(b_n)-f(a_n)}{b_n-a_n}$, with $f: (k_1,k_2)\to\Bbb R$ differentiable at $a\in (k_1,k_2)$, $\lim b_n=\lim a_n=a$, and $a_n&lt;a&lt;b_n$.   My attempt: Im trying to write the above equality as a particular case of this other equality that hold by any interior point $a$  $$f'(a)=\lim_{h\to 0}\frac{f(a+h)-f(a-h)}{2h}$$  Because $a_n&lt;a&lt;b_n$ then I can write  $$f'(a)=\lim_{n\to\infty}\frac{f(b_n)-f(a_n)}{b_n-a_n}=\lim_{n\to\infty}\frac{f(h_n+a)-f(a-j_n)}{h_n+j_n}$$  Where $h_n=b_n-a&gt;0$ and $j_n=a-a_n&gt;0$, where these two new sequences tends monotonically to zero.  Now my problem: my thought is that $h_n$ and $j_n$ are particular sequences then I can build a sequence $k_n$ such that $j_n$ and $h_n$ are subsequences so I can write:  $$\{h_n:n\in\Bbb N\}\subset\{k_n:n\in\Bbb N\}\text{ and }\{j_n:n\in\Bbb N\}\subset\{k_n:n\in\Bbb N\}$$  (I can build this $k_n$ by example doing $k_{2n}=h_n$ and $k_{2n-1}=j_n$) and then I have the desired expression  $$f'(a)=\lim_{n\to\infty}\frac{f(b_n)-f(a_n)}{b_n-a_n}=\lim_{n\to\infty}\frac{f(k_n+a)-f(a-k_n)}{2k_n}$$  My question:   Is this proof right? In particular Im unsure of the implicit statement "if the limit exist for $k_n$ then it must exist too for the particular case with $h_n$ and $j_n$". The use of two sequences, $h_n$ and $j_n$ in the limit make me unsure about the validity of this manipulation and assumption. There is a simpler/different way to prove the same?   Thank you in advance. How is The Wall bypassed? In the first series of the TV show several things apparently bypass  to reach Winterfell:   The Night's Watch member  captured near Winterfell and executed by Ned. The Direwolf &amp; her pups found immediately after the execution  and the other Wildlings travelling with her   If The Wall is approximately the same along its length it would presumably be impassible. Is the only option for them to go around the western end (since it stops at the Shadow Tower)? Is this clarified in the book? Are other methods mentioned in subsequent books? What would be the best approach to get the recordtype id How can I get the list of files in a directory using C or C++? How can I determine the list of files in a directory from inside my C or C++ code?  I'm not allowed to execute the ls command and parse the results from within my program. How does delete[] "know" the size of the operand array? Foo* set = new Foo[100]; // ... delete [] set;   You don't pass the array's boundaries to delete[]. But where is that information stored? Is it standardised? VMware won't work after Ubuntu Upgrade I upgraded to Ubuntu 15.10 and now if I want to open VMware Player it doesn't do anything. I also uninstalled and installed it again, still nothing.  What can I do? Here's an image from another question:    I get what the pull down resistor is there to do, but I don't really understand exactly how it works.  When there is no voltage applied through the base wire, why does any induced current then go through R2, but when a voltage is applied, it goes to the transistor? My understanding is that voltage always follows the path of least resistance, so if applying say, 5v turns the transistor on, that means that the transistor has a lower resistance than R2, so I would also assume any induced current would also flow through the resistor - so why does it then go through R2? This question is about why we have a universal speed limit (the speed of light in vacuum). Is there a more fundamental law that tells us why this is? I'm not asking why the speed limit is equal to $c$ and not something else, but why there is a limit at all. EDIT: Answers like &quot;if it was not..&quot; and answers explaining the consequences of having or not having a speed limit are not--in my opinion-- giving an answer to whether there is a more fundamental way to derive it from a law to explain this limit. Windows Starter Edition, Home and Home Premium do not include gpedit, how do I install it? how to get full path from fileupload using Javascript Database general error: 2006 MySQL server has gone away Recently I started getting an error every time I try and add a content no matter what type.  This is the error that shows up in the browser:     Additional uncaught exception thrown while handling exception.        Original   PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: SELECT COUNT(cid) FROM {comment} WHERE status = :status; Array ( [:status] =&gt; 0 ) in comment_count_unpublished() (line 313 of /Applications/MAMP/htdocs/modules/comment/comment.module).        Additional      PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: INSERT INTO {watchdog} (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6, :db_insert_placeholder_7, :db_insert_placeholder_8, :db_insert_placeholder_9); Array ( [:db_insert_placeholder_0] =&gt; 1 [:db_insert_placeholder_1] =&gt; php [:db_insert_placeholder_2] =&gt; %type: !message in %function (line %line of %file). [:db_insert_placeholder_3] =&gt; a:6:{s:5:&quot;%type&quot;;s:12:&quot;PDOException&quot;;s:8:&quot;!message&quot;;s:154:&quot;SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: SELECT COUNT(cid) FROM {comment} WHERE status = :status; Array ( [:status] =&amp;gt; 0 ) &quot;;s:9:&quot;%function&quot;;s:27:&quot;comment_count_unpublished()&quot;;s:5:&quot;%file&quot;;s:56:&quot;/Applications/MAMP/htdocs/modules/comment/comment.module&quot;;s:5:&quot;%line&quot;;i:313;s:14:&quot;severity_level&quot;;i:3;} [:db_insert_placeholder_4] =&gt; 3 [:db_insert_placeholder_5] =&gt; [:db_insert_placeholder_6] =&gt; ; [:db_insert_placeholder_7] =&gt;  [:db_insert_placeholder_8] =&gt; 127.0.0.1 [:db_insert_placeholder_9] =&gt; 1338336955 ) in dblog_watchdog() (line 154 of /Applications/MAMP/htdocs/modules/dblog/dblog.module).   I also get the following error in my php error file:     PHP Fatal error:  Uncaught exception 'PDOException' with message 'SQLSTATE[HY000]: General error: 2006 MySQL server has gone away' in /Applications/MAMP/htdocs/includes/database/database.inc:2136        Stack trace:   0 /Applications/MAMP/htdocs/includes/database/database.inc(2136): PDOStatement->execute(Array)   1 /Applications/MAMP/htdocs/includes/database/database.inc(664): DatabaseStatementBase->execute(Array, Array)   2 /Applications/MAMP/htdocs/includes/database/database.inc(2315): DatabaseConnection->query('SELECT expire, ...', Array, Array)   3 /Applications/MAMP/htdocs/includes/lock.inc(167): db_query('SELECT expire, ...', Array)   4 /Applications/MAMP/htdocs/includes/lock.inc(146): lock_may_be_available('theme_registry:...')   5 /Applications/MAMP/htdocs/includes/theme.inc(447): lock_acquire('theme_registry:...')   6 /Applications/MAMP/htdocs/includes/bootstrap.inc(427): ThemeRegistry->set(Array)   7 [internal function]: DrupalCacheArray->__destruct()   8 {main}         thrown in /Applications/MAMP/htdocs/includes/database/database.inc on line 2136   I am having a little trouble deciphering these error messages. Could anyone help me understand what's going on here? Will this schematic work as a four-bit shift register? &ndash; Schematic created using   Will this work as a four-bit shift register? (And by extension a shift register of any size?) Each vertical PMOS / NMOS transistor pair acts as a multiplexer, and the PMOS transistor to its left amplifies the voltage back up to close to V_high. I'd be interested in hearing people's feedback on this. Right now I have only three transistors (and a resistor) per bit. Can I really get it that small a ratio, or are there reasons why I need more transistors per bit?  It's probably worth noting that I don't have master/slave here, so I can only assert (Shift) long enough to move one bit toward the right and no more.  Furthermore, I'm not trying to say that I need a resistor with 100 ohms. That appeared to be the only resistor I could use to make this schematic! What I want is a resistor that has significantly less resistance than the PMOS it's next to when it's at high impedance, but enough resistance to prevent a short circuit from V_high to ground when that transistor is conducting.  Okay, now I've changed each of the BJT's to MOSFET's, and reduced the resistance of each resistor from 100 ohms to 10 ohms. I'm still going on the assumption that (shift) will only be asserted long enough for the gate delays of M4 and M5, and then of M6, so the value of (dataIn) will only make it to M6's output, and won't move to M8 until the next time (shift) is asserted. Is this enough to get this circuit behaving like a four-bit shift register? After the latest Ubuntu updates, I have not been able to open virtualbox, on starting it gives me an error saying the kernel driver is either not loaded or set up properly and that I should reinstall virtualbox-dkms package. After removing virtualbox, and trying to reinstall I get the error below: ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/virtualbox-dkms.0.crash' Error! Bad return status for module build on kernel: 5.8.0-34-generic (x86_64) Consult /var/lib/dkms/virtualbox/6.1.10/build/make.log for more information. dpkg: error processing package virtualbox-dkms (--configure):  installed virtualbox-dkms package post-installation script subprocess returned error exit status 10 dpkg: dependency problems prevent configuration of virtualbox:  virtualbox depends on virtualbox-dkms (&gt;= 6.1.10-dfsg-1~ubuntu1.20.04.1) | virtualbox-source (&gt;= 6.1.10-dfsg-1~ubuntu1.20.04.1) | virtualbox-modules; however:   Package virtualbox-dkms is not configured yet.   Package virtualbox-source is not installed.   Package virtualbox-modules is not installed.   Package virtualbox-dkms which provides virtualbox-modules is not configured yet.  dpkg: error processing package virtualbox (--configure):  dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of virtualbox-qt:  virtualbox-qt depends on virtualbox (= 6.1.10-dfsg-1~ubuntu1.20.04.1); however:   Package virtualbox is not configured yet.  dpkg: error processing package virtualbox-qt (--configure):  dependency problems - leaving unconfigured No apport report written because the error message indicates it's a follow-up error from a previous failure.                             No apport report written because the error message indicates it's a follow-up error from a previous failure.                                                         Processing triggers for menu (2.1.47ubuntu4) ... Processing triggers for bamfdaemon (0.5.3+18.04.20180207.2-0ubuntu2) ... Rebuilding /usr/share/applications/bamf-2.index... Processing triggers for desktop-file-utils (0.24-1ubuntu3) ... Processing triggers for mime-support (3.64ubuntu1) ... Processing triggers for hicolor-icon-theme (0.17-2) ... Processing triggers for gnome-menus (3.36.0-1ubuntu1) ... Processing triggers for systemd (245.4-4ubuntu3.3) ... Processing triggers for man-db (2.9.1-1) ... Processing triggers for shared-mime-info (1.15-1) ... Errors were encountered while processing:  virtualbox-dkms  virtualbox  virtualbox-qt E: Sub-process /usr/bin/dpkg returned an error code (1)  This happens even when I boot from the previous kernel using the grub menu, any help would be very appreciated. I have also tried to use aptitude to remove any conflicting versions of virtualbox from other repositories but still the same issue. Case-insensitive attribute-value selector with Jquery I am a kid trying to teach myself Calculus in order to prepare for next year.   I have the expression  $$\lim_{x\to 2}\frac{\cos(\frac \pi x)}{x-2} $$  There is a hint that says to substitute t for $(\frac \pi2 - \frac \pi x)$ and WolframAlpha evaluates this expression as $\frac \pi4$. However, I got the answer of $1$. Can someone clarify the steps to solving this problem. Can I use an Android phone as webcam for an Ubuntu device? What is the correct way to punctuate the end of a sentence before a quote that directly supports the statement? I assume either a colon or a semicolon, but I have no idea which is correct.  For example:     Waldo is a better hide-and-seek player than Clem; "Waldo was   the winner of the past ten annual hiding awards" (Where's Waldo 13).      Waldo is a better hide-and-seek player than Clem:  "Waldo was   the winner of the past ten annual hiding awards" (Where's Waldo 13).   (Excuse the silly example, but I didn't have a better one.)