I got a problem. Here is my bash script to merge videos with subs:  #!/bin/bash   cd /media/ptrknvk/'TOSHIBA EXT'/Shows/My/'Doctor Who'/  url0='DW s11e0' url1='DW\ s11e'  for(( i=1; i&lt;11; i++ )) do     if ! [ $i -gt 9 ];      then         mkvmerge -o $url0$i.mkv $url0$i.mkv $url0$i.srt         rm $url0$i.srt     else         mkvmerge -o $url1$i.mkv $url1$i.mkv $url1$i.srt         rm $url1$i.srt     fi done   File have names like for example "DW s11e05.mkv" and they actually exist in the directory.  And here is a result:  mkvmerge v8.8.0 ('Wind at my back') 64bit Error: The file 's11e09.mkv' could not be opened for reading: open file error. rm: cannot remove 'DW': No such file or directory rm: cannot remove 's11e09.srt': No such file or directory mkvmerge v8.8.0 ('Wind at my back') 64bit Error: The file 's11e10.mkv' could not be opened for reading: open file error. rm: cannot remove 'DW\': No such file or directory rm: cannot remove 's11e10.srt': No such file or directory   As you can see '\' before a space doesn't work here. I also tried to use echo, but nothing changed (mb I've used it in a wrong way).   Sorry for my little bit nooby style.
I want to enter the following folder in the terminal:  Milano, Torino (Jan)-Compressed   How should I write the command cd to enter this directory?  Spaces and several other special characters like \, *, ), ( and ? cause problems when I try to use them in the command line or scripts, e.g.:    $ cd space dir bash: cd: space: No such file or directory  $ cat space file cat: space: No such file or directory cat: file: No such file or directory  $ cat ( bash: syntax error near unexpected token `newline'  $ echo content &gt;\ &gt; ^C  $ ls ? (  )  *  ?  \   How do I enter file or directory names that contain special characters in the terminal in general?
I'm supposed to calculate: $$\lim_{n\to\infty} e^{-n} \sum_{k=0}^{n} \frac{n^k}{k!}$$ By using WolframAlpha, I might guess that the limit is $\frac{1}{2}$, which is a pretty interesting and nice result. I wonder in which ways we may approach it. Basically, I want the header fonts to use a different (smaller) font size than the size I set using \documentclass. What should be the option I'd be using ?  \documentclass[12pt]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[margin=1in, headsep=10pt]{geometry} \usepackage{fancyhdr} \pagestyle{fancy}  \fancyhead[L]{Personal Statement} % What other option should I use to get a custom font size ? Fibonacci Recurrence Relations Solve the recurrence relation $f(n) = f(n − 1) + f(n − 2)$ with initial conditions $f(0)=1$, $f(1)=2.$   So I understand that it grows exponentially so $f(n) = r^n$ for some fixed $r$.  This means substituting this $r^n = r^n-1 + r^n-2$ which gives the characteristic equation of $r ^ 2 - r - 1 = 0$. I'm not 100% sure where to move on from here. Proving that any permutation in $S_n$ can be written as a product of disjoint cycles I have attempted a proof of this, but upon looking at my notes, I feel it might be incorrect: it is noticeably simpler than the one in my notes.  Proposition: any permutation in $S_n$ can be written as a product of disjoint cycles.  Proof (attempt): $s\in S_n$. Let $\langle s\rangle$ act on $X=\{1,\cdots,n\}$. Define $x\sim x'\iff x'\in\text{Orb}(x)$ for $x,x'\in X:$ this is clearly an equivalent relation, hence the orbits partition $X$. Each orbit corresponds a cycle in $s$, so we are done.  Does this hold, or have I missed something vital? I do as follows  $(1+x)^n= \binom{n}{0}+\binom{n}{1}x+\binom{n}{2}x^2+...+\binom{n}{n}x^n$   differentiating in both sides  $n(1+x)^{n-1}= \binom{n}{1}+2\binom{n}{2}x+3\binom{n}{3}x^2...+n\binom{n}{n}x^{n-1}$  then, for $x=1$  $n \cdot2^{n-1} = \sum_{k=1}^{n}k\binom{n}{k}$  From here, I don't know how to proceed, I have tried to multiply both sides for $(1+x)$ to make $n \cdot2^{n}$ but then the summatory changes, I don't know how to prove the equality. Stack Overflow duplicated layer bug Originally posted on Stack Overflow:   Requirements to reproduce:  Windows 7 x64  Firefox 71.0 x64  Steps to reproduce:   Go to the ask question section Write something to the title field Start scrolling similar questions Change the title field Start scrolling the similar questions again How exactly does one “control for other variables”? Here is the article that motivated this question:   I liked this article, and it nicely demonstrates the concept of “controlling for other variables” (IQ, career, income, age, etc) in order to best isolate the true relationship between just the 2 variables in question.    Can you explain to me how you actually control for variables on a typical data set?      E.g., if you have 2 people with the same impatience level and BMI, but different incomes, how do you treat these data?  Do you categorize them into different subgroups that do have similar income, patience, and BMI?  But, eventually there are dozens of variables to control for (IQ, career, income, age, etc)  How do you then aggregate these (potentially) 100’s of subgroups?  In fact, I have a feeling this approach is barking up the wrong tree, now that I’ve verbalized it.  Thanks for shedding any light on something I've meant to get to the bottom of for a few years now...! Convert file contents to lower case I have temp file with some lower-case and upper-case contents.  Input  Contents of my temp file:  hi Jigar GANDHI jiga   I want to convert all upper to lower.  Command  I tried the following command:  sed -e "s/[A-Z]/[a-z]/g" temp   but got wrong output.  Output  I want it as:  hi jigar gandhi jiga   What needs to be in the substitute part of argument for sed? How to trigger a check for updates in Firefox programatically or from a command line? Is there a command line switch for firefox.exe or an "about:" URL that will either force an update check or at least display the Help/About dialog, which checks for updates and tells if you're running the latest version?    One site claimed that the "about:" URL was the same as menu Help -> About, but it's not.  I built a program to automate the updating of various programs on my machine, and most programs have command line tools for checking for updates. Windows update has wuauclt.exe, Java has jucheck.exe. For some applications, I can even automate the interface, but it's difficult in Firefox, because the main window title is unpredictable (it depends on which web page is active), and all Firefox windows seem to use the exact same window class name. Unexpected output of xargs The statement below should print afc abc but it prints abc abc instead. I tried many times but every time same result Don't know why this happens could anyone explain and help me?  echo abc|xargs -i{} echo $(echo {}|sed 's/b/f/g') {} How can I translate CMYK to Pantone colors? In particular, how do I translate CMYK 90C 85M 80Y 63K to a Pantone color? Randomly populating procedural shape (or Image Texture) in Cycles From my , I learned that all tag related info on profile will be updated daily at UTC 03:00.  However, something is wrong here. It's now UTC 05:00+, but my tag number, say 93 (c++) is not updated against yesterday. I am pretty sure about this and I did earn some more points throughout the day. Sorry for not be able to capture the screenshot yesterday, but I did check this number 10 hours ago (which belongs to yesterday, also 93).  Is there a bug happening here? Or updating time different?    UPDATE: As of 24 Jan, the tags are still not updated with the proper values.  UPDATE2: Fixed around 25 Jan, UTC 03:00, at least for me. LibreOffice Calc - Disable rounding There are a  on this topic, but no simple and definitive answers.    Can someone please tell me how to permanently disable cell rounding on the .csv file which is created by script?  Basically, '377635637222436751' is being converted to '377635637222437000' automatically and that isn't really acceptable for my needs.  I've tried this: Tools->Options->Calc->Calculate "Precision as shown"   and this: Format > Cells > Numbers > Category > (scroll down for) Text. (but considering my script creates the .csv -- this option isn't very good since it must be done after the file is created)  And neither is working.  The number stays rounded -- even after formatting the column after the file is created.  Does anyone have any suggestions? how to get a picklist all values in apex controller We want to have a plain empty sandbox - one without any configuration metadata or data from Production.  Is it possible to have such a sandbox?  Please advise. Let $H$, $K$ be subgroups of $G$. Prove that $o(HK) = \frac{o(H)o(K)}{o(H \cap K)}$.  I need this theorem to prove something. A user has asked  which did not receive much attention, and thus the user deleted the post. After some time, the user asked the  (with just slight changes to the title and a tag change), so that it could receive a bit more attention. The strange thing is that the question was not downvoted or poorly written, and yet the user deleted the original post. Now, since the original question was deleted, I could not mark the new one as a duplicate (it threw an error). My question is, how do we handle such questions? Just let them be as such or let the user know about it or is there another way to handle such situations? How "submitted", "to appear", "accepted" papers are evaluated in a CV? Assume a search committee is reading my CV and in the publication section they notice some of my papers are only submitted or claimed to appear in a journal (or accepted for publication in a journal). Sometimes the journal which has accepted the paper for publication lists the title of accepted articles before actually publishing them, but in the rest of cases there is no evidence to prove that the referee process of the paper is over and the journal has accepted the paper for publication. Also assume preprints of my papers are available in ArXiv. So, my questions are:   How a search committee interprets and evaluates those papers which are just submitted or are claimed to appear?  Does a search committee consider these types of publications less valuable than the published ones (assuming the same quality)?  Does a search committee refer to my preprints in ArXiv to evaluate my submitted or accepted papers? Finding net magnetic and electric force on charged particle This is from my textbook, it is not an assigned problem, but I want to understand.   It says:      Consider the situation in the figure, in which there is a uniform electric field in the x direction and a uniform magnetic field in the y direction. For each example of a proton at rest or moving in the x, y, or z direction, what is the direction of the net electric and magnetic force on the proton at this instant?   I believe I need to use the equation   $$ F_{net}=(q\overrightarrow{E})+q(\overrightarrow{v} \times \overrightarrow{B}) $$  But I'm not sure exactly how. We've just started to learn about this, and I want to get a head start. Could anyone put me on the right track?