I am using Codeigniter: simple mail() function in cron job, but in mail its showing via crystal url name server in from section?
How to change envelope from address using PHP mail?
Access parent's parent from javascript object Move partition data with dd to the right How to connect to device via SSH over direct ethernet connection Then what is the probability that out of $n$ men $A_1,A_2,....,A_n$ each aged $x$ years,$A_1$ will die and will be the first to die Let $p$ be the probability that a man aged $x$ years will die in a year time.Then what is the probability that out of $n$ men $A_1,A_2,....,A_n$ each aged $x$ years,$A_1$ will die and will be the first to die?  The probability that a man aged $x$ years will die in a year time$=p$  The probability that a man aged $x$ years will not die in a year time$=1-p$  But from here on,i got stuck.Some hints and suggestions are welcome. Moment of inertia: why $\mathrm{dI}=r^2\mathrm{dm}$ instead of $\mathrm{dI}=m\mathrm{dr^2}$? As human beings, we observe the world in which we live in three dimensions. However, it is certainly theoretically possible that more dimensions exist.  Is there any direct or indirect evidence supporting a fourth dimension? AppleScript to read all notifications in the Notification Center OSX 10.10 Yosemite It seems like the following AppleScript is no longer working in the latest version of the OS X 10.10 (Yosemite): on run     tell application &quot;System Events&quot;         tell process &quot;Notification Center&quot;             set theseWindows to every window             display notification (count of theseWindows)         end tell     end tell end run  This were supposed to get all notifications listed in the Notification Center. However, the count attribute always returns 0. Does anyone know how to retrieve all notifications in the Notification Center different than the script above? Looking for an appropriate English name to replace my Chinese name Background: I am Chinese, and after living abroad from China for several years, I realize that I need an English name anyway. I’ve seen too many confused faces looking at my Chinese name. My Chinese Name: I am male, my Chinese first name is (IPA): /ʃəʊ/-/dəʊ/, and my family name is: /dʒi/. (Check ipa-reader.xyz if not clear.) Any advice about what could be a good idea of a first name, if the last name sounds like &quot;G&quot;? Something about myself: I'm a introvert, nerdy person. I don't like social, small talk, public area. I enjoy programming, writing, arguing. Physically I am short, slim, with a huge glasses. I have the following configuration, but I have not able to find any documentation on how to set a maximum backup files on date rolling style.  I know that you can do this with size rolling style by using the maxSizeRollBackups.  &lt;appender name="AppLogFileAppender" type="log4net.Appender.RollingFileAppender"&gt;     &lt;file value="mylog.log" /&gt;     &lt;appendToFile value="true" /&gt;     &lt;lockingModel type="log4net.Appender.FileAppender+MinimalLock" /&gt;     &lt;rollingStyle value="Date" /&gt;     &lt;datePattern value=".yyMMdd.'log'" /&gt;     &lt;layout type="log4net.Layout.PatternLayout"&gt;       &lt;conversionPattern value="%d %-5p %c - %m%n"  /&gt;     &lt;/layout&gt; &lt;/appender&gt; Non-root login on EC2 instance Probability of people attending same and different places $5$ tourists plan to attend Octoberfest. Each attends a location at random from the choices: Alpine, Bingeman, Concordia, Kitchener, Queens, Schwaben, Transylvania. Q What is the probability that two attend one location and three attend another same location?  I get that there are $\binom{5}{2}$ possibilities to create 2 groups. There are $\binom{7}{2}$ ways to choose 2 places so shouldn't it be $\frac{\binom{7}{2}\binom{5}{2}}{7^5}$? How to draw a return arrow from node-3 to node-1 Test Class Apex Page Parameters Intersection of the $p$-sylow and $q$-sylow subgroups of group $G$ SQL query that concatenates values from duplicate rows in a single table Let's say I have a table of employees, like this:  Name     Sex     Role  Bob      M       Developer Joe      M       QA   Now, I have a problem with duplicated rows in this table. I will fix it sometime but it's not the issue. What I currently need is something that queries such a table:  Name     Sex     Role  Bob      M       Developer Bob      M       Janitor Joe      M       QA Joe      M       CEO   And will output the following rows:  Name     Role  Bob      Developer, Janitor Joe      QA, CEO   It doesn't matter to me if the "Role" will be split to separate columns or be a single column with multiple values.  Using SQL Server 2008 if it matters. I note that the installation of qgis completed successfully. However, the log procedure returns this message:     "...... Estrazione: wvhpgn.gsb Estrazione: wyhpgn.gsb Cartella di   destinazione: C:\Programmi\Quantum GIS Lisboa Creato il programma di   disinstallazione: C:\Programmi\Quantum GIS Lisboa\Uninstall-QGIS.exe   Crea cartella: C:\Documents and Settings\All Users\Menu   Avvio\Programmi\Quantum GIS Lisboa   Impossibile accedere al file. Il file Š utilizzato da un altro processo. Running postinstall grass64.bat... Running postinstall   msvcrt.bat... ......"      System parameters: Quantum GIS Lisboa 1.8.0  Microsoft Windows   Professional, Versione 2002, Service Pack 3   The message:      Impossibile accedere al file. Il file Š utilizzato da un altro   processo   translates as      Unable to access the file. The file used by another process   I then get the following error:     "Impossibile trovare il punto di ingresso locale_charset della   procedura nella libreria di collegamento dinamico iconv.dll"   which translates as:     Can not find the entry point of locale_charset procedure in the   dynamic link library iconv.dll Are beamer, hhline, and [table]{xcolor} incompatible? The following example works as expected:  \documentclass{article} \usepackage[table]{xcolor} \usepackage{makecell, multirow}     \renewcommand\theadfont{\normalsize\bfseries\color{white}}     \renewcommand{\theadgape}{} \usepackage{hhline}  \begin{document} \centering     \setlength\arrayrulewidth{2pt}     \arrayrulecolor{yellow}     \def\clinecolor{\hhline{&gt;{\arrayrulecolor{yellow}}--%                             &gt;{\arrayrulecolor{gray}}-}}     \setlength\extrarowheight{2pt} \begin{tabular}{ c | c | c }%     \rowcolor{gray} \multicolumn{2}{c|}{\thead{AAA -- BBBB}}    &amp;                                   \\     \clinecolor     \rowcolor{gray} \color{white} AAA   &amp;   \color{white} BBB   &amp;   \multirow{-2}{*}{\thead{CCC}}   \\     \hhline{&gt;{\arrayrulecolor{yellow}}-|-|-}     \rowcolor{gray!25} aaa                 &amp;   bbb                 &amp;   ccc                             \\     \hline     \rowcolor{gray!25} ddd             &amp;   eee                 &amp;   fff     \end{tabular} \end{document}     But the following not:  \documentclass[xcolor=table]{beamer} \usepackage{makecell, multirow}     \renewcommand\theadfont{\normalsize\bfseries\color{white}}     \renewcommand{\theadgape}{} \usepackage{hhline}  \begin{document} \begin{frame} \frametitle{test} \centering     \setlength\arrayrulewidth{2pt}     \arrayrulecolor{yellow}     \def\clinecolor{\hhline{&gt;{\arrayrulecolor{yellow}}--%                             &gt;{\arrayrulecolor{gray}}-}}     \setlength\extrarowheight{2pt} \begin{tabular}{ c | c | c }%     \rowcolor{gray} \multicolumn{2}{c|}{\thead{AAA -- BBBB}}    &amp;                                   \\     \clinecolor     \rowcolor{gray} \color{white} AAA   &amp;   \color{white} BBB   &amp;   \multirow{-2}{*}{\thead{CCC}}   \\     \hhline{&gt;{\arrayrulecolor{yellow}}-|-|-}     \rowcolor{gray!25} aaa                 &amp;   bbb                 &amp;   ccc                             \\     \hline     \rowcolor{gray!25} ddd             &amp;   eee                 &amp;   fff                             \\     \hhline{|-|-|-|}     \end{tabular} \end{frame} \end{document}     Why are the in beamer rules so strangely misplaced? Is there some workaround? Find each line matching a pattern but print only the line above it I need to find a string and need to print the line above it.   case1: The same line won't have the more than one matching pattern   ie)  consider a file containing  $cat &gt; para returns between the paragaraphs italic or bold     quotes by placing italic   Here i need to find for italic, and i need to get the output as below   returns between the paragaraphs quotes by placing   How can i get the output like this? Is symmetric group on natural numbers countable? I want to prove that the distance between incentre and orthocentre is $$\sqrt{2r^2-4R^2\cos A\cos B\cos C} $$here $r$ is inradius and $R$ is circumradius. I considered $\triangle API$ ($P$ is orthocentre and $I$ is incentre). I could find  $AP=2R\cos A$, $AI=4R\sin\frac{B}{2}\sin\frac{C}{2} $ and $\angle PAI=\angle \frac{B-C}{2}$. So applying cosine rule I got $$PI^2=4R^2+16R^2\sin^2\frac{B}{2}\sin^2\frac{C}{2} -16R^2\cos A\sin\frac{B}{2}\sin\frac{C}{2}\Bigg(\cos\frac{B}{2}\cos\frac{C}{2}+\sin\frac{B}{2}\sin\frac{C}{2}\Bigg)$$ How to proceed form here ?