PHP regular expression match any character with space tab carriage return and new lines
How to make dot match newline characters using regular expressions
I have a statement,     Either p or q   and I have to write it in terms of logical connectives but I don't get which logical connector should I be using? Here is what I did (I think there could have been a better way to do this)     $(p \lor q ) \land (\neg((p \Rightarrow q) \land (q \Rightarrow p)))$ How to sort a Google Sheets Query by a custom ordering I have a table of choir members with a “name” and a “voice type” column. How can I write a query that orders them by decreasing pitch level of the voice type (i.e. soprano > contralto > tenor > bass)?  Is there in the  something similar to ?  I also tried the , but it does not seem to have an option for custom ordering, either. How can I convert byte size into a human-readable format in Java? Nginx installation error in Ubuntu 16.04 :~$ sudo apt-get remove nginx* && sudo apt-get install nginx-full*  Reading package lists... Done Building dependency tree        Reading state information... Done  After this operation, 5,579 kB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://in.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 nginx-full-dbg amd64 1.10.0-0ubuntu0.16.04.1 [3,789 kB] Fetched 3,789 kB in 33s (112 kB/s)                                              Selecting previously unselected package nginx-common. (Reading database ... 189767 files and directories currently installed.) Preparing to unpack .../nginx-common_1.10.0-0ubuntu0.16.04.1_all.deb ... Unpacking nginx-common (1.10.0-0ubuntu0.16.04.1) ... Selecting previously unselected package nginx-full. Preparing to unpack .../nginx-full_1.10.0-0ubuntu0.16.04.1_amd64.deb ... Unpacking nginx-full (1.10.0-0ubuntu0.16.04.1) ... Selecting previously unselected package nginx-full-dbg. Preparing to unpack .../nginx-full-dbg_1.10.0-0ubuntu0.16.04.1_amd64.deb ... Unpacking nginx-full-dbg (1.10.0-0ubuntu0.16.04.1) ... Processing triggers for ufw (0.35-0ubuntu1) ... Rules updated for profile 'Apache Full' Rules updated for profile 'Nginx HTTP'  Processing triggers for systemd (229-4ubuntu4) ... Processing triggers for ureadahead (0.100.0-19) ... Processing triggers for man-db (2.7.5-1) ... Setting up nginx-common (1.10.0-0ubuntu0.16.04.1) ... Setting up nginx-full (1.10.0-0ubuntu0.16.04.1) ... Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details.  invoke-rc.d: initscript nginx, action "start" failed.  dpkg: error processing package nginx-full (--configure):  subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of nginx-full-dbg:  nginx-full-dbg depends on nginx-full (= 1.10.0-0ubuntu0.16.04.1); however:   Package nginx-full is not configured yet.  dpkg: error processing package nginx-full-dbg (--configure):   dependency problems - leaving unconfigured No apport report written because the error message indicates its a followup error from a previous failure.                            Errors were encountered while processing:  nginx-full   nginx-full-dbg  E: Sub-process /usr/bin/dpkg returned an error code (1) Let $\mu$ be a general measure, suppose $f,g$ has compact support on $\mathbb{R}$, when does the integration by parts formula hold $$\int f'g d\mu = - \int g'fd\mu?$$ I know in general this is false, we can take $\mu$ to be supported on a point, say $0$, then it is not necessarily true that  $$f'(0)g(0) = -g'(0)f(0).$$  If $\mu$ is absolute continuous w.r.t. Lebesgue measure, we have $\frac{d\mu}{dx} = h$ $$\int f'gd\mu = \int f'gh dx = -\int f(gh)'dx$$ where $(gh)'dx$ might be a measure. but we can not recover the form $\int g'fh dx$.  Thank you very much! Use worksheet name as a variable in a lookup Static posts page with home.php For my website, I am using a static home page page Home (template front-page.php) and for posts- page News (template home.php)  I need to show all the post titles and exceprts on that page News (templ. home.php), but also show the original title and the_content from that page News itself.  This code below while statement shows all the posts, which is good, but the top the_title also shows the title from the first post, not from the News page itself.  How to achieve what I need?  &lt;?php get_header(); ?&gt;      &lt;?php     the_title();           the_content();     ?&gt;  &lt;?php if(have_posts()) while(have_posts()) : the_post(); ?&gt;          &lt;?php         the_title();         ?&gt;          &lt;?php         the_content();         ?&gt;      &lt;?php     endwhile;     ?&gt;    &lt;?php get_footer(); ?&gt; Enumerate in multicols how to move the last element upwards Code: \documentclass{article} \usepackage[a5paper]{geometry} \usepackage{multicol} \setlength{\parindent}{0cm} \begin{document} \begin{multicols}{2}   \begin{enumerate}   \item text 1   \item text 2   \item text 3   \item text 4   \item text 5   \end{enumerate} \end{multicols} \end{document}  Gives this:  How to move &quot;text 5&quot; upwards adjacent to &quot;text 4&quot;? "They're going gorilla watching" - is there a verb at the end of the sentence? In this sentence:     They're going gorilla watching.   what's the function of the verb watching?   Is it a verb? a noun? ... maybe gorilla watching means "mirador de gorilas", in spanish?  In English, I have not seen a verb at the end of a sentece. Selected references without hyperlink When using the hyperref package, is it possible to tell LaTeX not to create a link for some references?  In my case the page number is displayed in the footer in  \fancyhf[FC]{\thepage\ of \pageref{pg:end}}   which is what I want. Unfortunately every single page in the document then has a link to the final page, which is a bit silly.  Any ideas on how to fix that? For a polynomial $p(z)$, prove there exist $R>0$, such that if $|z|=R$, then $|p(z)|\geq |a_n|R^n/2$ resizable serial console window? When using the serial console of my system I always end up with $COLUMNS=80 and $LINES=24.  While I can change these variables manually it is somewhat annoying to do this any time when the client side terminal window has been resized.  Usually I'm connecting to the console using screen /dev/mytty baudrate.  Changing the $TERM environment variable to "screen" or "xterm" does not help.  Will I need to call getty with some of those instead of vt100?  Needless to say that all of this works fine, when I connect to the same machine using ssh. Does Android keep the .apk files? if so where? I'm trying to decide on a higher-end digital SLR, and I'm down to choosing between an APS-C model and a full-frame model.  I understand that the sensors are of different sizes, and as such have an effect on the perceived magnification of the lens, with the smaller APS-C sensor having an effective focal length greater than what it otherwise would be with a full frame sensor. But why does this matter?     What things should drive my choice between one or the other?   In which situations is one better than the other, and why? Could give some examples of nonnegative measurable function $f:\mathbb{R}\to[0,\infty)$, such that its integral over any bounded interval is infinite? How to fix AppArmor `could not open` error when installing php+mysql? 'Some index files failed to download' while updating MathJax does not work on question title on Android app Although, the question is displayed correctly with MathJax when opened.   App Version: 1.0.85 Device Manufacturer: Spreadtrum Device Model: Celkon A35K   OS Version: 4.4.2 (eng.root.20140613.225402) I saw a dog.       I have seen a dog.   What are the differences between them? Did these events happen on the same day? Availability of MXD file for OpenStreetMap data in Esri Geodatabase? From what I understand, an ArcGIS mxd file contains the "styling" information on how to show data.  I downloaded and imported OpenStreetMap data into my geodatabase. Now I need to show them.  Is there any available mxd file match the OpenStreetMap fields/values that I can use?  I check this question(), but the links are all dead.  ps: right now the all the highway/roads/trail display as a single line in my map. I want to use mxd to show them in a better way, like Mapnik or google.