I suddenly got a problem with my bash history. When I type history, it only shows:  1  history  I tried following commands: set -o | grep history  echo $HISTFILE echo $HISTSIZE echo $HISTFILESIZE  and I got, respectively, the following results: history         on /home/mary/.bash_history 1000 2000  I added also to my bashrc, the following lines: # Avoid duplicates HISTCONTROL=ignoredups:erasedups # When the shell exits, append to the history file instead of overwriting it shopt -s histappend  # After each command, append to the history file and reread it PROMPT_COMMAND=&quot;${PROMPT_COMMAND:+$PROMPT_COMMAND$'\n'}history -a; history -c; history -r&quot;  Everything seems OK but I can't scroll back to retrieve commands and the reason seems the fact that nothing has saved in history and that is why the command history does not contain anything. Could you please help me to solve this issue ?
The command history between sessions is not getting saved. I'm using guake and the history for the session is working fine. I noticed that .bash_history had some commands I executed in sudo -s mode and tried the same again and all the commands while in the session got saved so I tried: chmod 777 .bash_history  Now the old commands appear at the start of a session but no new commands are getting saved.
How do I change my login provider(s)? I no longer use the service that I originally used to register, and would like to change the service I use to log in, or at least add a second account.  Is this possible? How do I change my login provider or associate a backup method to log in?     For more information, see "" in the . I am attempting to search jobs by tag on StackOverflow Careers. On SO, this is done using square brackets, but that is simply doing a keyword search, and I still get results that don't have the tag I am looking for.  For example, when I search for the keyword "android", I get this:        which is the same as when I search for the keyword "[android]":        Is there a format I can use to search jobs by tag? If not, I believe this would be a nice feature (seems intuitive for the Stack Exchange invite-only job site). When doing a clean re-installation of El Capitan (highest supported version) from a bootable USB on an older Mac (MBP, 15-inch, Late 2008), I get this error:  An unexpected error occured while signing in. AMD-Action:authenticate:SP  The error shows up, while logging in with the Apple ID into the App Store in the installer.  I tried with different Apple IDs,  Also tried running these commands in the Recovery Terminal and restarting: csrutil clear csrutil enable How to Convert Persian Digits in variable to English Digits Using Culture? Pokemon Go Supported Devices Show that $A \setminus ( B \setminus C ) \equiv ( A \setminus B) \cup ( A \cap C )$ Show that  $A \setminus ( B \setminus C ) \equiv ( A \setminus B) \cup ( A \cap C )$  This is an exercise I was trying to do ( not homework ) and I got stuck as follows:  Working from $A \setminus ( B \setminus C )$:  $x \in A \wedge x \notin ( B \setminus C )$ $x \in A \wedge ((x \in B \wedge x \in C) \vee (x \notin B \wedge x \in C) \vee (x \notin B \wedge x \notin C) )$  At this point I'm not sure how to proceed.  Working from the other side $ ( A \setminus B) \cup ( A \cap C ) $:  $ x \in ( A \setminus B) \cup ( A \cap C ) $  $ x \in ( A \setminus B) \vee x \in ( A \cap C ) $  $ ( x \in A \wedge x \notin B ) \vee ( x \in A \wedge x \notin C ) $  $ x \in A \wedge (x \notin B \vee x \notin C ) $  $ x \in A \wedge x \notin ( B \cap C ) $  $ A \setminus ( B \cap C ) $  I could also use some formating tips like how display logical not and how to get the lines to display properly without blank lines inbetween. :-) How to customize my titlepage? The standard titlepage is quite simple. I am looking for a very  and need help customizing my title page.  It should match the  classicthesis doctoral thesis template  Below a minimal working example:   \documentclass[12pt,a4paper,footinclude=true,twoside,headinclude=true]{scrbook} \XeTeXinputencoding iso-8859-1 \usepackage[marginparsep=8pt,left=3.5cm,right=3.5cm,top=3cm,bottom=3cm]{geometry}  \usepackage[parts,pdfspacing,dottedtoc]{classicthesis}    \frontmatter  \begin{document}     \pagestyle{scrheadings}        %this is the place to set up my cover sheet.       %*******************************************************      % Abstract     %*******************************************************    %\renewcommand{\abstractname}{Abstract}    \pdfbookmark[1]{Résumé}{Résumé}   \begingroup    \let\clearpage\relax    \let\cleardoublepage\relax    \let\cleardoublepage\relax       \chapter{Résumé}     Résumé de la thèse en français\dots      \vfill      \chapter*{Summary}   Résumé de la thèse en anglais\dots    \endgroup             \vfill     \end{document} I am trying to add jQuery to my page (it is not being added by default). The file is adding to the page but after drupal.js causing the error:  SCRIPT5009: 'jQuery' is undefined  drupal.js, line 5 character 1    The code that adds drupal.js to the page in common.inc  ... 'misc/drupal.js' =&gt; array(           'data' =&gt; 'misc/drupal.js',           'type' =&gt; 'file',           'scope' =&gt; 'header',           'group' =&gt; JS_LIBRARY,           'every_page' =&gt; TRUE,           'weight' =&gt; -1,           'preprocess' =&gt; TRUE,           'cache' =&gt; TRUE,           'defer' =&gt; FALSE,         ), ...   In my module hook_init I have:    drupal_add_js('misc/jquery.js', array(     'group' =&gt; JS_LIBRARY,     'weight' =&gt; -20,     'cache' =&gt; TRUE,   ));   I would think with a lower weight it would load before drupal.js?  The header of the page contains the following scripts:  &lt;script type="text/javascript" src="http://mysite.com/misc/drupal.js?mqdxrf"&gt;&lt;/script&gt; &lt;script type="text/javascript" src="http://mysite.com/misc/jquery.js?mqdxrf"&gt;&lt;/script&gt; &lt;script type="text/javascript" src="http://mysite.com/misc/jquery.once.js?mqdxrf"&gt;&lt;/script&gt; &lt;script type="text/javascript" src="http://mysite.com/sites/default/files/languages/nl_c9aC92_wtuULa79-hTFcGPM53oqk1yKwciOa_Q3yO28.js?mqdxrf"&gt;&lt;/script&gt; &lt;script type="text/javascript" src="http://mysite.com/sites/all/modules/lang_dropdown/msdropdown/jquery.dd.js?mqdxrf"&gt;&lt;/script&gt; &lt;script type="text/javascript" src="http://mysite.com/sites/all/modules/lang_dropdown/lang_dropdown.js?mqdxrf"&gt;&lt;/script&gt; &lt;script type="text/javascript" src="http://mysite.com/sites/all/modules/devel/devel_krumo_path.js?mqdxrf"&gt;&lt;/script&gt; Which arena do free and crown chests use when determining the cards you will get? If I am in arena X when I collect my tenth crown for the crown chest, or a free chest becomes unlocked, then proceed to climb to arena X+1 before opening the chests, which arena will be used to determine the cards I get? Will it use the arena I was in when I unlocked the chests in, or the arena I opened them in? Let $f: \mathbb N \rightarrow \mathbb N$ are increasing function such that $f\left(f(n)\right)=3n$. Find $f(2017)$ I have been thinking a bit about Morita equivalence   and I would like to know whether it also applies to subrings such as right or left ideals.  And, if so, how specifically? Could you illustrate if with the example of 2x2 matrices with zero entries in the bottom row? Since Morita equivalence concerns non-commutative rings, I am assuming it should apply, but I am just guessing.  Thanks in advance. Difference between administrative and user mode of MiKTeX Resume a process via a PID number I wanted a daemon to start on boot so I added a line to /etc/rc.local that ended in "&amp;"  I did that so it would run in the background.  The daemon is loaded and working fine but when the daemon is running you can press keys that do other important things.  When I am finally logged in I wanted to resume process or send it a terminal (tty2) so I can do a couple of things.  I'm new to linux and not sure how to do this.  I do a ps -aux |grep uox to work out which PID it is. But not sure how to resume. What IDE to use for Python? I'm using JUnit 4.4 and Maven and I have a large number of long-running integration tests.  When it comes to parallelizing test suites there are a few solutions that allow me to run each test method in a single test-class in parallel. But all of these require that I change the tests in one way or another.  I really think it would be a much cleaner solution to run X different test classes in X threads in parallel. I have hundreds of tests so I don't really care about threading individual test-classes.  Is there any way to do this? Crick’s Central Dogma — Counter Cases In sketchup you can move an object based on two points. This makes it very easy to align a vertex in one object to vertex in another object. Here is an example:    I want to know how to do this in Blender. It seems that Translate can't align vertexs I cannot mount Windows 8 partition disk on Ubuntu 12.10.  My Windows 8 is installed on "C" partition, and I have another "D" partition.  I can easily mount "D" partition, see files and make changes on them. Actually I also have a problem with this: when I copy a file from ubuntu to "D", I cannot see this file on Windows 8.  My main problem is when I try to mount "C" partition I get this:     Unable to mount 121 GB Volume   Error mounting /dev/sda3 at /media/furkan/06DEC78FDEC77589: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177" "/dev/sda3" "/media/furkan/06DEC78FDEC77589"' exited with non-zero exit status 14: Windows is hibernated, refused to mount.   Failed to mount '/dev/sda3': Operation not permitted   The NTFS partition is hibernated. Please resume and shutdown Windows   properly, or mount the volume read-only with the 'ro' mount option, or   mount the volume read-write with the 'remove_hiberfile' mount option.   For example type on the command line:           mount -t ntfs-3g -o remove_hiberfile /dev/sda3 /media/furkan/06DEC78FDEC77589 I can show that for $x &gt; 0$ and $r_{i} &gt; 0$ we have $$ \left(\, x + r_{1}\,\right)\ldots\left(\, x + r_{n}\,\right)\ \geq\ \left[\, x + \left(\, r_{1}\ldots r_{n}\,\right)^{1/n}\,\right]^{n}.$$ However, I can't do this using straight up induction, strong or weak. Can someone do this?   You can show the inequality holds for $n$ if it holds for $n+1$ using $r_{n+1} = (r_1 \cdots r_n)^{1/n}$, so going down isn't a problem, but going up has eluded me. Additionally, you can show that if it holds for $n=a$ and $n=b$ then it holds for $n=ab$. Using powers of two and the above is sort of a way to prove the above by induction but it certainly isn't "normal".  You can also prove the above using Lagrange multipliers (which isn't surprising). The last proof I know is where you compare coefficients of $x^k$ and use the AM-GM inequality. X and Y are not correlated, but X is significant predictor of Y in multiple regression. What does it mean? X and Y are not correlated (-.01); however, when I place X in a multiple regression predicting Y, alongside three (A, B, C) other (related) variables, X and two other variables (A, B) are significant predictors of Y. Note that the two other (A, B) variables are significantly correlated with Y outside of the regression.   How should I interpret these findings? X predicts unique variance in Y, but since these are not correlated (Pearson), it is somehow difficult to interpret.  I know of opposite cases (i.e., two variables are correlated but regression is not significant) and those are relatively simpler to understand from a theoretical and statistical perspective. Note that some of the predictors are quite correlated (e.g., .70) but not to the extent that I would expect substantial multicollinearity. Maybe I am mistaken, though.    NOTE: I asked this question previously and it was closed. The rational was that this question is redundant with the question "". Perhaps I do not understand the other question, but I believe these are entirely separate questions, both mathematically and theoretically. My question is entirely independent from if "a regression is significant". Furthermore, several predictors are significant, while the other question entails variables not being significant, so I don't see the overlap. If these questions are redundant for reasons I do not understand, please insert a comment prior to closing this question. Also, I was hoping to message the moderator who closed the other question to avoid identical questions, but I couldn't find an option to do so.