Installed ubuntu for windows yesterday.Where are its files located in windows?
Where is the Ubuntu file system root directory in Windows Subsystem for Linux and vice versa?
What gifts would be welcome for a Swedish host family? How do I change "Show Applications" button on GNOME 3 dash? I'm using Ubuntu with GNOME desktop.   I was wondering how to change the "Show Applications" button icon on the dash? Transform fancy usage messages in 1D string Print lines between (and including) two patterns I want to start grepping from the lines that has CK at the end of line and stop grepping when the line has D at the end. I tried grep "$CK" "$D" file..txt, but it didn't work.  Input:  kkkkkkkkkkk    jjjjjjjjjjjjjjjjjj   gggggggggggg/CK   JHGHHHHHHHH    HJKHKKLKLLL    JNBHBHJKJJLKKL   JLKKKLLKJLKJ/D   GGGGGGGGGGGGGG   GGGGGGGGGGGGGG   The desired output:  gggggggggggg/CK   JHGHHHHHHHH    HJKHKKLKLLL    JNBHBHJKJJLKKL   JLKKKLLKJLKJ/D Wrongly set chmod / 777. Problems? I was trying to run chmod -R 777 ./ but ended up typing chmod -R 777 / and set 777 on my entire machine. What can go wrong? How can I fix it? I'm quite confused about the following regular expressions I found in a shell script:  ${0##*/} ${0%/*}   How do they work? xslt processing on select attribute on apply-templates Why do some Unicode text messages crash the iPhone OS? I have a select control, and in a javascript variable I have a text string.  Using jQuery I want to set the selected element of the select control to be the item with the text description I have (as opposed to the value, which I don't have).  I know setting it by value is pretty trivial. e.g.  $("#my-select").val(myVal);   But I'm a bit stumped on doing it via the text description. I guess there must be a way of getting the value out from the text description, but my brain is too Friday afternoon-ed to be able to work it out. "A mice problem" vs. "a mouse problem" How to open a folder in Finder by a single mouse click? (using Icon view) Is there a setting, key combination or similar to open a folder/subfolder in Finder with a single mouse click ?  I need a general solution which works on any folder in effort to minimize needless clicking ... that tiny triangle aside the folder icon will work yet its just too small and only appears using list view ... inspired by same behavior on osx inside a browser to hold down command key and single click a web link ... forcing users to double click is so 20th Century  Is there a way to enable this on macOS (High Sierra or higher)?  On ubuntu this single click preference is a simple setting ;-) Study path to Bayesian thinking? I am six years into a business role and have a bachelor's in physics and applied math/stats. Sean Carroll's (Caltech physicist)  opened me to the idea that Bayesian statistics is one useful way of thinking about anything - inevitably you hold a prior and you should update your credence as additional information becomes available.   Is there a path to training your intuition to thinking this way? Critically, it would require repeated practice with verifiable answers through either a course, or self study that includes many problems and solutions. I do not believe simply reading will do.  Possible resources, having read every related question on this site I could find:   "Probability Theory" by Jaynes. Pro: analytic; intuitive explanation of bayesian statistics. Con: prerequisites; missing problems/solutions. "Doing Bayesian Data Analysis" by Kruschke. Pro: includes problems &amp; solutions; requires only "algebra and rusty calculus". Con: works in R, which I think provides for less intuitive learning than the analytical (I may be wrong).   If it is a multi-year path I need to take, starting elsewhere, I am happy to do so! Ideally, I would avoid the frequentist methods, as I have no use for them.  My goal is not to be a scientist, but to leverage insight into how reality works to go above and beyond the established thinking in business.  Many thanks for any suggestions! Used the internet and deleted history (Internet Explorer). Can anyone find out still that I used it? What can they still find out? As the question states: I used the internet on a shared machine and deleted history (Internet Explorer), which deletes all of the following:     I do not want anyone to know that I used the internet or the Internet Explorer application. Can anyone with access to the computer find out still that I used the internet? Could they even find out what sites I visited? Or what could they find out, and how?  As to the "anyone" I'm talking about, I mean I used a university computer, that are not suspicious but just in case they decided to take the computer and check to see if I used the internet, I want to make sure they can't find anything out. How can I cover my tracks to minimize the chances that they find out I used the internet on the machine? And by use, I mean even cover up the tracks that I opened the Internet Explorer application. Give an example of three positive integers m, n, and r If $X^n$ is a diagonal matrix with distinct eigenvalues, then is $X$ also a diagonal matrix with distinct eigenvalues? How to use pagenumbering in the document? In my Master thesis, I would like to have the title page without any page number and an acknowledgments section and the table of contents with roman numbers. The rest of the document should be numbered arabic.  I have tried this, to have roman numbers for the Table of contents and normal numbers for the rest.  \documentclass[12pt,ngerman,openany]{report} \usepackage{titlesec} \usepackage{titletoc} \usepackage{cite} \usepackage[a4paper]{geometry} %\usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[ngerman]{babel} %\usepackage{ngerman}{babel} \usepackage[T1]{fontenc} \usepackage{graphicx} \usepackage{float} \selectlanguage{ngerman} \usepackage{amssymb} \usepackage{amsmath} \usepackage{url} \usepackage{epstopdf} \usepackage{scrhack} \usepackage{listings} \usepackage{caption} \titleformat{\chapter}{\rmfamily\huge}{\textbf\thechapter.}{25pt}{\huge\textbf} \defcaptionname{ngerman}{\lstlistingname}{Code} \defcaptionname{ngerman}{\lstlistlistingname }{Codeverzeichnis}  \lstloadlanguages{R}  \lstset{% general command to set parameter(s)    basicstyle=\sffamily\footnotesize, % print whole listing small    keywordstyle=\sffamily\footnotesize\bfseries, % ubold black keywords    identifierstyle=, % nothing happens    commentstyle=\sffamily\footnotesize\slshape, % green comments    stringstyle=\sffamily\footnotesize, % typewriter type for strings    showstringspaces=false, % no special string spaces    numbers=left,    numberstyle=\sffamily\footnotesize,    stepnumber=1,    numbersep=10pt,    showspaces=false,    showtabs=false,    frame=lines,    morecomment=[l]{\%},    float=htbp,    numberbychapter=true  }   \begin{document} \let\cleardoublepage\clearpage   \pagenumbering{roman}  \tableofcontents  \clearpage  \vspace*{75mm} \chapter{Einleitung} \section{Motivation} bla bla bla \section{Ziel}  bla bla \chapter{Stand der Technik zur Mustererkennung} \section{Die Zeitreihen} bla bla \subsection{Beschreibung} bla bla \subsection{Erklärung}  bla bla  \subsection{Vorhersage} bla bla \subsection{Kontrolle} bla bla \section{Feature Extraktion} bla bla \subsection{Autokorrelation} \subsection{Was ist Autokorrelation?} bla bla   \subsection{Autokorrelation und Zeitreihen} bla bla  \subsubsection{Zeitreihe-Diagramm}  bla bla \subsubsection{Lagged Streudiagramm} bla bla  \subsubsection{Autocorrelation-Function (Korrelogramm)} bla bla \subsection{Spektralanalyse} \subsection{Was ist Spektral-Analyse} bla bla \end{document} Squares in arithmetic progression It is easy to find 3 squares (of integers) in arithmetic progression. For example, $1^2,5^2,7^2$.  I've been told Fermat proved that there are no progressions of length 4 in the squares. Do you know of a proof of this result?   (Additionally, are there similar results for cubes, 4th powers, etc? If so, what would be a good reference for this type of material?)    Edit, March 30, 2012: The following  in MO is related and may be useful to people interested in the question I posted here. Group theory proof of existence of a solution to $x^2\equiv -1\pmod p$ iff $p\equiv 1 \pmod 4$ I've read through the elementary proof of why there exists a solution $x$ to $x^2\equiv -1\pmod p$ iff $p\equiv 1 \pmod 4$ for $p$ an odd prime. Is there a group theory generalization for this fact as well? Friendly error page to replace WSOD This should be the easiest thing to do, but for some reason I just can't get it done.  I'm trying to get a friendly static error page to replace nasty 500 scenarios. For now I'm just trying to replicate a 500 situation on my local machine (Drupal 7 running on MAMP) by throwing in some crap characters on the top of my template.php in my theme, which does trigger a 500 situation, but for some reason the ErrorDocument directive in my .htaccess or Apache config file has no effect.  What I'm doing is quite simply this:  ErrorDocument 500 /500.html   And I have the simplest ever static html-page in the root of my site with the name of 500.html.  Still, when I intentionally break template.php, I get the dreaded White Screen Of Death instead of my nice friendly error page.  What am I doing wrong here? I've done this a billion times in non-Drupal setups but just can't get my head around this one. Printing an SE page in Firefox shows only the first page I used to print Q&amp;A pages to keep a base of PDFs. I used either the 'print edit' addon or simply the print function of Firefox, which both allow to print a webpage in a file.  Usually the printed file for a webpage extends on 2 or 3 pages. But I'm not able to print more than one page on this site expressly anymore. No matter the method. I just get the top of each discussion.