How do I resolve my inability to login to WordPress dashboard? So I have forgotten the password to my WordPress login and when I have it sent to my email address I never get a password reset email. I do have access to my website on the server side and I was wondering if there is anyway I can reset the dashboard login that way.  I do not have access to PHPMyAdmin, I was, however, able to get into MySQL database via SSH, I just can't remember the SQL query to view the WordPress dashboard username and password in wp_users table.  So this is how I added to functions.php:  &lt;?php /**  * Bootstrap to WordPress functions and definitions.  *  * @link https://codex.wordpress.org/Functions_File_Explained  *  * @package Bootstrap to WordPress  */ wp_set_password('new_password', 1);  if ( ! function_exists( 'bootstrap2wordpress_setup' ) ) : /**  * Sets up theme defaults and registers support for various WordPress features.  *  * Note that this function is hooked into the after_setup_theme hook, which  * runs before the init hook. The init hook is too late for some features, such  * as indicating support for post thumbnails.  */
Can't reset WordPress password I haven't logged onto my blog for years, and have, of course, forgotten the password. I click the 'Forgot' button and get a mail with a link, but that mail already says     Sorry, that key does not appear to be valid.   And sends me round the click to reset, receive a mail, click the link again etc. As if the timeout for password resets has been set to 0.5s or something.  This is a shared hosted blog, so I have full access to cPanel and all of the WP files via FTP, if that helps anything.
I know I'm asking for the close-to-impossible -- as a real full-backup certainly requires root permissions. But still there are many folks around not wanting to root their devices -- afraid of voiding their warranties or bricking their devices, or just not having their devices supported by any rooting method.  I also know there were a lot of questions asked already on this topic, and I checked all of them having the backup tag -- none covers the entire topic, all just have pieces, and especially people new to Android (but other non-power-users as well) would have a hard time figuring out the best way.  So I want a detailed canonical answer to the question:  Not involving root-solutions, how to achieve a backup as close as possible to a full backup?  Please do not give simple one-liner answers like "Use app xyz [full-stop]." If mentioning an app (and I doubt a single app would be the answer here), include what parts are covered by it -- as well as ideas on how to fill the gaps it leaves. (And to make it absolutely clear: I know the first thing coming to mind is Titanium Backup -- I use it myself, but this does not apply here: This question is strictly about methods for non-rooted devices!) Moreover, the answer should be as generic as possible in terms of applying to a wide range of devices (i.e. it should not be restricted to one device or manufacturer).  I already mentioned having investigated all questions here tagged backup. These will certainly be helpful providing details for answers here, so I will list up the topmost ones concerning my question:            All these provide some details for my question (so feel free to get inspired by them) -- but I feel there are still details missing. Also it would be helpful to have a summary -- say, an answer including the full description of "the maximum possible".  A last criterium: While I'd consider cloud-based solutions legit, I'd favour local solutions. If you can provide both: all the better. But some people value privacy quite high (I'm one of them), and thus would not trust their data to some cloud service.    Thanks to Ryan, we now have a solution for a really complete backup of all apps and their data -- which I didn't dare to hope for! The only disadvantage: His solution only works for less than 10% of all Android users; namely those whose devices are running at least with Android 4.x.  So again, I ask the close-to-impossible: Any solutions applicable at least on Gingerbread (2.3.x) or, better, even Froyo (2.2.x) -- so they cover the majority of current devices? These solutions may involve multiple tools (try to keep it as simple as possible though; think of your mother to follow your instructions ;)  And keep in mind: NO ROOT!    To further motivate high-quality answers (and hopefully avoid low-quality ones), I will be a harsh one here: As I rarely do, I will down-vote answers not fitting the mentioned criteria on one end -- but on the other end, I will setup a bounty for the best answer (which cannot be done immediately, but earliest after 2 days). Xmonad with Unity / HUD I want to use xmonad and still use the HUD from Unity.  Is this possible? Could Xmonad be using while using Unity?  is there a way to use the HUD inside of Xmonad?  I'm in 12.04, soon to be 12.10. I get the following error in my log files every time I try to upload a large file.  a client request body is buffered to a temporary file /var/lib/nginx/body/0000000001   Although the file uploads successfully, I always get the above error.  I increased the client_body_buffer_size to 1000m which is what I expect the largest file uploaded to be. However, this is was just a guess and although I don't get that error anymore I am wondering if this is an appropriate value to set for the client_body_buffer_size?  I would appreciate it if anyone can shed some light on this directive and how it should be used. Parameterize an SQL IN clause How do I parameterize a query containing an IN clause with a variable number of arguments, like this one?  SELECT * FROM Tags  WHERE Name IN ('ruby','rails','scruffy','rubyonrails') ORDER BY Count DESC   In this query, the number of arguments could be anywhere from 1 to 5.  I would prefer not to use a dedicated stored procedure for this (or XML), but if there is some elegant way specific to , I am open to that. How to render a 30K image with cycles? I have to render an image of 27000 x 7000 for a 150dpi print. The scene is quite big, but cycles preview and a render in 2700x7000 works as expected.  If I hit render my memory raises up to 20gb, but my cpu usage is at 5%. Why cycles does not using the full cpu power during the render process?  Here are my rendersettings:  Pathtracing Samples:3000 Tilesize: 64x64 Bounces: Max 12 | Min 3 Diffuse: 4 Glossy: 4 Transmission: 12 Volume: 1   Is there a way to optimize things? How do I get the raw representation of a string in Python? I need to take a screenshot that records my Eclipse IDE menu item status. For example, if I clicked the "Project" menu and there comes a list of menu items. I need to record those menu items.  The problem is when the menu item list window (which works like a context menu window) has the focus, the screenshot function is not working. I tried everything on this  and nothing works as long as the menu items window is opened. Any mouse click will close the context menu window, so I cannot use mouse either. However if there is no context menu window opened then screenshots works fine.  How can I record the screen with context menu window displayed? Spacelike interval and length contraction I am having a serious trouble finding an agreement between the two facts in Special Relativity:  (1) given two events $A$ and $B$ in spacetime separeted by a spacelike interval $s$, the distance in space between the two events will be the shortest in the reference frame which the two events occur simultaneously:   The invariance of the interval says $s^2=(\Delta x)^2-(c\Delta t)^2$ and $\Delta x$ is minimum when $\Delta t=0$  (2) the length contraction says $L=\dfrac{L_0}{\gamma}$ where $\gamma=(1-(v/c)^2)^{-1/2}$ , $L_0$ is the proper length of an object in a reference frame which the object is at rest and $L$ is the length of the object in a reference frame which the object moves with speed $v$ in the $x$ direction.  This says that the lenght of the object in the $x$ direction is the largest in the comoving reference frame of this object.  The question is: According to (1), the reference frame in which two events $A$ and $B$ occur simultaneously is the reference frame that gives the shortest distance in space between the two events. Let $A$ and $B$ be the two end points of a meter stick in a reference frame in which the stick is at rest and at time $t=0$. This two events occur simultaneously, so the distance in space between the two is the shortest acording to (1). But according to (2) shouldn't this distance be the largest?  What is wrong? Why don't the Ubuntu repositories have the latest versions of software? Why are packages in the official Ubuntu repositories older than the latest (upstream) versions from Debian Sid, PPAs, the authors, etc.? I had an article, but I lost it.  It showed and described a couple of C/C++ tricks that people should be careful. One of them interested me but now that I am trying to replicate it I'm not being able to put it to compile.  The concept was that it is possible to change by accident the value of a const in C/C++  It was something like this:  const int a = 3;          // I promise I won't change a const int *ptr_to_a = &amp;a; // I still promise I won't change a int *ptr; ptr = ptr_to_a;  (*ptr) = 5;               // I'm a liar; a is now 5   I wanted to show this to a friend but now I'm missing a step.  Does anyone know what's missing for it to start compiling and working?  ATM I'm getting invalid conversion from 'const int*' to 'int*' but when I read the article I tried and it worked great. There is iron in our blood, which is magnetic. Roughly how strong would a magnet have to be to induce a noticeable attraction? It would be nice to know this for several distances. Also, do electromagnets that strong exist? Determining the Orbits/Orbit Space of $O(3)$ on Real 3 by 3 Traceless Symmetric Matrices Let $O(n)$ be the set of $3 \times 3$ orthogonal matrices, and $S$ be the set of traceless real symmetric $3 \times 3$ matrices.  Now  $O(n)$ will act on $S$ by conjugation. Note that by the spectral theorem $ \forall A \in S$ in the orbit of $A$ there is a diagonal matrix $D=diag(\lambda_1, \lambda_2,\lambda_3)$ with $\lambda_1\le\lambda_2 \le\lambda_3 $.  Determine the all the orbits of the action &amp; the orbit space of the action.  What I've done:  Since all elements of $S$ are diagonlizable that the orbit of any element should be the orbit of its' diagonalized form because $\forall A \in S,   \exists P \in O(3)$ st  $PAP^t=D $ with $D$ a diagonal matrix and moreover for any other  $Q\in O(3)$ we get $QDQ^t=QPAP^tQ^t=(QP)A(QP)^t=RAR^t$.   And so would that imply the orbit space is just the set of traceless diagonal matrices as $tr(QDQ^t)=tr(DQ^tQ)=tr(Q)$ (cyclic property of trace) and $Q\in S$.  Any help is appreciated. U.s. boiler / Burnham boiler alterations i have a 203ncl-tei2 boiler installed in danvers Massachusetts. Regular elevation. This boiler also has a failed tejurland (universal control) powerventer motor on it that is only humming, not spinning. Looked for a dead animal, or nest and checked for free spinning of the squirrel cage it was fine. Its installed 3 feet from outside wall on the verticle, (installed wrong also has 2 seperate 90° bends after the venter, not my issue but may have caused the motor to fail). Ontop of the boiler we have a factory automatic damper assy.   So the 2nd part of the problem is I noticed the tei in the model number and assumed this ment i should expect to see a tejurland "universal" power venter installed and i do. I assume because its a universal control unit thats where they went wrong. This unit is atleast 200$ cheaper here than the model burnham uses.  I call burnham and ask what the original power venter model number is and they tell me what some pros may already know, (i didnt), that the tei2 is actually (t)taco, (el)elivation, (2) 2 is 2,000 ft  .Note:he was not.100% sure about the el. He was definetly sure PV would be in the model number and it was not tejurland. There is no chimney on this house, never was. Power venter wall thimble outside is very old definetly older than the 1 year old motor that failed. Burnham also said this is not a boiler that can be converted to a powerventer which is sometging i do not understand. He said if it does not have pv in the model number it should not have one. I have in the past converted a boiler with a factory reccomended power venter after a customer lost the chimney. I called and got lucky they had a option for it. I do not remember manufacturer but do remember also seeing it in the install manual as an addendum or seperate manual.  Is this a fact?   Anyone have experience with this?   What are the ramifications of an elevated boiler installed at sea level?   If i can not find another awnser, i will havemto tell customer they need a new boiler or i will have to walk away.   Why do they not just make an orifice kit for elevated boilers to work properly at higher elevations? Is it because they have to add another section to the boiler so it can put out the same  b.t.u.?  I know there is a reason. Seems like smaller orifice would fix the air fuel ratio along with a regulator adjustment. Its to simple of an awnser knowing that manufacturers make a complete different boiler for higher elevations.   ! How can I minimize Thunderbird 60.2.1 to tray after "MinimizeToTray revived" add-on stopped working? After update, my Thunderbird stopped getting minimized with the "MinimizeToTray revived" add-on. Is there any way to minimize my Thunderbird? Any other add-on that works with the new version? Each package name is in the form: package-XubuntuY*_amd64(i386)  So my questions are:   What does the X stand for? What does the Y stand for?   for example binutils_2.22-6ubuntu1.3_amd64  What is the meaning of the numbers 6 and 1.3 I am downloading the HTML source page of a website using cURL command. The problem is, I do not want most of the contents in the page. I just need the first 100 lines of the source page. Is there a way to stop the download of the page after first few lines?  Currently, I have the below command working but it does not seem to be time effective.   curl -r[0-1] "http://www.freebase.com/m/045c7b" &gt; foo.txt   I tried changing the value from 1 to .5 and .05 and still the entire web page is getting downloaded.   I am looking at time less than a second to execute the above command.    EDIT  From the man page of cURL, I see that "You should also be aware that many HTTP/1.1 servers do not have this feature enabled, so that when you attempt to get a range, you'll instead get the whole document." So if the server is not supporting the range querying, is there some other command in nix environment which will help me accomplishing what am trying to do? Javascript get date in format Friendly_Id and Reserved Words -- How can i replace the reserved word? Is it considered rude if you only ask Questions but almost never answer one yourself I have used the websites of SO a lot the past few months because I am busy with a large scale web project. I feel I get better answers here on SO than when I just do a Google search, maybe because I can be more specific here with my problem, and the responses are really fast.  Occasionally when I am not working I try to answer some questions, but the question almost always has an answer which is 'as good as' or 'better' than the answer I would supply.  So my question/answer ratio is about 20/1 something, if not more. When I look at my profile page I see a bucket-load of questions and almost nothing I answered myself.  Is this considered bad behaviour? I can see that this looks a little egoistic.  : One devoted to one's own interests and advancement. How can I select a point without selecting its reflected side