how to prevent html email from spam
How do you make sure email you send programmatically is not automatically marked as spam?
Running tcpdump starts ssh flood I have runtime Linux running in a PLC. My development machine is running Ubuntu 14.04. The PLC and the development machine are connected through a five port switch. I ssh to PLC from my development machine to transfer executable of a networking application that I develop on my development machine.   I run tcpdump on PLC to debug the kind of packets my network application is receiving BUT as soon as I start tcpdump, there starts a flood of ssh sync and acks back and forth from my ubuntu machine to the PLC. The LED lights of ethernet controller of PLC as well on the switch start blinking rapidly. The flood overwhelms the PLC and it almost dies down while all other packets get dropped. It feels like a DOS attack whenever I run tcpdump but as soon as I stop tcpdump, everything calms down and gets back to the normal.   I would like know remedy on this problem and why it happens?     Any help would be appreciated. I'm new to Ubuntu, it looks like it is better than Windows. Last day I tried to install Kget (the download manager) but during the process my computer suddenly stopped working. So I had to switch it off. After I logged into Ubuntu again I can't install any program. The Ubuntu Software Center says:  Items cannot be installed or removed until package catalog is repaired. Do you want to repair it now?   After I clicked repair it says (after few seconds):  Package operation fails - The installation or removal of a software package failed   I've tried several times, but the same problem occurred. Can anyone tell me a solution for this problem? I am looking for easy(!) counterexamples that the product of two quotient maps is not necessarily a quotient map and that the quotient space of a Hausdorff space is not necessarily Hausdorff. How to stop creating .DS_Store on Mac? What are bitwise shift (bit-shift) operators and how do they work? Show that $\textbf{ZF}$ shows $\phi$ is $\Delta_1$ Why do harmonics occur when you pluck a string? What are Extension Tubes? What are Extension Tubes? If $(Tx \mathbin{|} x) = 0$ for all $x$ then $T = 0$ Let $T$ be a linear operator on an inner product vector space $V$. I'd like to prove that if $$(Tx|x)=0 \quad \forall x \in V$$ then $T$ is the null operator. I can't figure out this proof using contradiction, do I have to choose an appropriate vector? I have a seven hour layover at Brussels airport, and I'd like to know whether there is enough time to leave the airport and go into the Brussels city center for a beer or a meal?  If so, what transportation is available, how does it work, how long does it take, and how much does it cost?  Are there convenient luggage lockers in the airport so that I can avoid taking my carry-on luggage into the city?  This layover is from 8:30 in the morning to 15:30 in the afternoon on a Monday, and the flight is arriving from the United States.  The outgoing flight is within Western Europe. Has a free neutron ever been shown to absorb/emit/interact with a photon? Protons only 'interact with' very high-energy photons, whether inside a nucleus or free, right?  I'm assuming the same about neutrons....  Neutrons have a small magnetic moment and a slight electric 'moment' (dipole?), correct?  They are sometimes considered to consist of a negative charge surrounding a positive charge?  I would assume that neutrons, in a nucleus or free, interact with photons even less often than protons, and that the gamma photon has to have an even higher energy than one interacting with a proton....  Lastly, I have read about 'photodisintegration', in which a nucleon is kicked out of a nucleus by a gamma ray.  It seems to happen to neutrons sometimes...  But, I am mostly curious about experimental evidence of free neutrons interacting with photons, how often it happens compared to free protons, and whether the interacting photon's energy has to be extremely high, higher even than a photon interacting with a proton... Pass shell variable as a /pattern/ to awk Having the following in one of my shell functions:  function _process () {   awk -v l="$line" '   BEGIN {p=0}   /'"$1"'/ {p=1}   END{ if(p) print l &gt;&gt; "outfile.txt" }   ' }   , so when called as _process $arg, $arg gets passed as $1, and used as a search pattern. It works this way, because shell expands $1 in place of awk pattern! Also l can be used inside awk program, being declared with -v l="$line". All fine.  Is it possible in same manner give pattern to search as a variable?  Following will not work,  awk -v l="$line" -v search="$pattern" '   BEGIN {p=0}   /search/ {p=1}   END{ if(p) print l &gt;&gt; "outfile.txt" }   '   ,as awk will not interpret /search/ as a variable, but instead literally. How can I find $\lim_{n\to \infty} a_n$ Let $$a_n=\left(1-\dfrac{1}{\sqrt2}\right)\dots \left(1-\dfrac{1}{\sqrt{n+1}}\right),n\ge1$$ Then find $\lim_{n\to \infty} a_n$.   How can I proceed? I am stuck at the first step. Please help. $dx$ appears in differential equations, such us derivatives and integrals.  For example, a function $f(x)$ its first derivative is $\dfrac{d}{dx}f(x)$ and its integral $\displaystyle\int f(x)dx$. But I don't really understand what $dx$ is. There is a line in the middle of my stroke. How do I fix that? Print total free memory from `free -m` How to put small numbers outside the pie slices without making a mess I'm new to LaTeX and need some help with my figures. I would like to to put small numbers outside the pie slices without making a mess. Having found this thread , I tried it out, but didn't get all the way through with it. Right now, my pie looks like this:    I used the following code:  \usepackage{tikz,stackengine} \makeatletter  \tikzstyle{chart}= [legend label/.style={font={\scriptsize},anchor=west,align=left}, legend box/.style={rectangle, draw, minimum size=5pt}, axis/.style={black,thin,-&gt;}, axis label/.style={anchor=east,font={\tiny}}]  \tikzstyle{bar chart}=[ chart, bar width/.code={     \pgfmathparse{##1/2}     \global\let\bar@w\pgfmathresult}, bar/.style={thin, draw=black}, bar label/.style={font={\bf\small},anchor=north}, bar value/.style={font={\footnotesize}}, bar width=.75,]  \tikzstyle{pie chart}= [chart, slice/.style={line cap=round, line join=round, thin, draw=black}, pie title/.style={font={}}, slice type/.style 2 args={     ##1/.style={fill=##2},     values of ##1/.style={}}]  \pgfdeclarelayer{background} \pgfdeclarelayer{foreground} \pgfsetlayers{background,main,foreground}  \newcommand{\pye}[3][]{     \begin{scope}[#1]         \pgfmathsetmacro{\curA}{90}         \pgfmathsetmacro{\r}{1}         \def\c{(0,0)}         \node[pie title] at (270:1.3) {#2};         \foreach \v/\s in{#3}{             \pgfmathsetmacro{\deltaA}{\v/100*360}             \pgfmathsetmacro{\nextA}{\curA + \deltaA}             \pgfmathsetmacro{\midA}{(\curA+\nextA)/2}             \path[slice,\s] \c             -- +(\curA:\r)             arc (\curA:\nextA:\r)             -- cycle;             \pgfmathsetmacro{\d}{max((\deltaA * -(.5/50) + 1) , .5)} %%%              %\pgfmathprintnumberto{#3}{\fnum}  %\ifthenelse{\lengthtest{#3 pt &lt; 10pt}} %{\path (O) -- ++ (\midangle:\radius) %node[inner sep=0,align=left,anchor=west,rotate=\midangle](nums#3)    {~~\fnum};} %{\path (O) -- ++(\midangle:\innerpos)  %node {\scalefont{#3}\beforenumber\fnum\afternumber};}           %%%                         \begin{pgfonlayer}{foreground}                 \path \c -- node[pos=\d,pie values,values of \s]{$\v\%$} +    (\midA:\r);             \end{pgfonlayer}             \global\let\curA\nextA}     \end{scope}}  \newcommand{\legend}[2][]{     \begin{scope}[#1]         \path         \foreach \n/\s in {#2}         {++(0,-5pt) node[\s,legend box] {} +(2pt,0) node[legend label]     {\n}};     \end{scope}}      \begin{document}         \begin{center}      \begin{figure}[H]     \centering \begin{tikzpicture} [pie chart, slice type={A}{black!0}, slice type={B}{black!10}, slice type={C}{black!20}, slice type={D}{black!30}, slice type={E}{black!40}, slice type={F}{black!50}, slice type={G}{black!60}, slice type={H}{black!70}, pie values/.style={font={\small}}, scale=2]  \pye{1994}{6.1/A, 2.9/B, 0.2/C, 54.3/D, 25.2/E, 1.4/F, 6.7/G, 3.2/H} \pye[xshift=2.2cm,values of coltello/.style={pos=1.1}]% {2005}{6.8/A, 3.0/B, 0.5/C, 52.3/D, 25.6/E, 1.8/F, 7.1/G, 2.8/H} \pye[xshift=4.4cm,values of caffe/.style={pos=1.1}]% {2015}{7.2/A, 3.1/B, 0.6/C, 50.6/D, 26.5/E, 2.3/F, 7.5/G, 2.2/H}  \legend[shift={(0cm,-1.5cm)}]{{A}/A, {B}/B}  \legend[shift={(1.4cm,-1.5cm)}]{{C}/C, {D}/D}  \legend[shift={(2.8cm,-1.5cm)}]{{E}/E, {F}/F} \legend[shift={(4.2cm,-1.5cm)}]{{G}/G, {H}/H} \end{tikzpicture} \end{figure}  \end{document}   This looks quite the way I want it to, only the small numbers should be placed outside the pies.  Thanks in advance :) How to revert uncommitted changes including files and folders? The Unix environment has some excellent tools for parsing text in various forms. However, of late, the data is not in the traditional (historical) formats (CSV, TSV, record-based or some other delimiter-based) it used to be before. Data these days is exchanged in structured formats like XML/JSON.  I know there are some good tools like sed, awk and Perl which can chew down nearly any form of data out there. However, to work with this sort of structured data, often one has to write a complete program, and, given the little time available to extract information, one has to sit down and figure out the whole logic of what one wants to query and put it down programmatically. Sometimes this is not OK – basically because the information extracted from those files acts as inputs for further work; also because of the time it takes to search for the appropriate solution and code it up. A command line tool is needed with sufficient switches to find, query and dump data.  I'm looking for tools that take a XML/JSON or other forms of structured data and dump it into other formats like csv, etc., so that from there one could use other commands to get any information out of it.  Are there any command line utilities you know of which do this kind of a job? Are there already awk/Perl scripts available to this? What is the difference between "thee" and "thou"?