Working with Centos 7  In the rsyslog.conf file there are some rules that place logs in directories that start with a -/ (Dash slash) before stating which directory to place the logs, while others have the usual / followed by the directory.  I know the slash before the directory says to start from the root directory, but what does the dash do?  Does the dash mean something specific as I cannot find the meaning behind it anywhere.  Thank you! TDR
I'm trying to understand the /etc/rsyslog.conf file, but I'm missing something. For example, this is a part of the file:  auth,authpriv.*         /var/log/auth.log *.*;auth,authpriv.none      -/var/log/syslog cron.*              /var/log/cron.log daemon.*            -/var/log/daemon.log kern.*              -/var/log/kern.log lpr.*               -/var/log/lpr.log mail.*              -/var/log/mail.log user.*              -/var/log/user.log   According to  page:     The facility is one of the following keywords: auth, authpriv, cron,   daemon, kern, lpr, mail, mark, news, security (same as auth), syslog,   user, uucp and local0 through local7.      The priority is one of the following keywords, in ascending order:   debug,info, notice, warning, warn (same as warning), err, error (same   as err) crit, alert, emerg, panic (same as emerg). The keywords error,   warn and panic are deprecated and should not be used anymore. The   priority defines the severity of the message.      An asterisk ("*") stands for all facilities or all priorities,   depending on where it is used (before or after the period). The   keyword none stands for no priority of the given facility.      You can specify multiple facilities with the same priority pattern in   one statement using the comma (",") operator. You may specify as much   facilities as you want. Remember that only the facility part from such   a statement is taken, a priority part would be skipped.      Multiple selectors may be specified for a single action using the   semicolon (";") separator. Remember that each selector in the   selector field is capable to overwrite the preceding ones. Using this   behavior you can exclude some priorities from the pattern.   So, this is pretty understandable but what about the file path on the right. It can be just a path, or path with | or - before it (or maybe even something else). What is the difference between the three?
PDO's FETCH_INTO $this class does not work Order of products of elements in a finite Abelian group I found several plugins (like  and ) to get the ability to attach a picture to a WP user. But these plugins are not maintained any more.  Since there's apparently no plugin that does it today, is there an easy way to do it manually? What is a mixin, and why are they useful? I use dd in its simplest form to clone a hard drive:  dd if=INPUT of=OUTPUT   However, I read in the manpage that dd knows a blocksize parameter. Is there an optimal value for the blocksize parameter that will speed up the cloning procedure? Styling border to match fill in QGIS? In the past I have just manually matched the color of the border to the color of the fill, but this can be time consuming.   I am wondering, is there any way to have the program automatically match the border color to that of the fill?   The fill color is being assigned through the styling tab in layer properties.  Using QGIS 2.8.6 Scale Space Between Multiple Objects If I have multiple objects selected can I use scaling to make the objects closer together (without rescaling the objects)? What happens when a black hole dies? Does it just vanish into space leaving nothing behind or does it expel some material?    Also, talking more about black holes, as far as I understand the term "temperature", it is defined by the amount of kinetic energy of the particles of a body and from what I have read, there are no particles inside a black hole, I know that you can find the temperature of a black hole by analyzing its Hawking radiation but I cant really understand how the term "temperature" can be applied to a black hole. Does it mean that whatever is that it is inside a black hole has kinetic energy? Have physicist already experienced the death of any regular black hole (by regular I mean space-sized black holes not micro ones created in labs)? Also, where is the Hawking radiation form? Because if it is released by the black hole I bet it must have formed outside the event horizon, but how exactly? Is there a way to find comments you made on YouTube? How do I remove all sub-directories from within a directory? This question is kind of a phase II to the first question I posted at   I have a directory that contains a bunch of sub-directories, .zip files, and other random files not contained within a sub-directory.  I'd like a command line script to remove all sub-directories from within the parent directory, but keep all zip files and loose files that don't belong to any sub-directories. All of the sub-directories have content, so I believe I'd need to force their deletion with the -f command.  So basically, a command that looks inside the parent directory (or the current directory), deletes all folders from within it, but keeps all other content and files that are not a folder or contained within a folder.  I understand that deleting items from the command line requires special care, but I have already taken all necessary precautions to back up remotely. I use a Full HD 24" external display besides my 15" MacBook Pro Retina, on which I use the option for most screen estate regarding the Retina display. In the display arrangement screen, the MacBook Pro is therefore a bigger rectangle than the external display. Is there a way to size these rectangles regarding their "real world size" instead of resolution? I'm annoyed by my cursor teleporting vertically whenever I move from one display to another. Difference between >>> and >> Why avoid increment ("++") and decrement ("--") operators in JavaScript? Disable automatic activation of Gnome Shell activities on mouse over Today, when you accept an answer you did not provide, you get a +2 reputation, however, if you accept your own answer, you get +0.  I expect the reason for this is to stop people gaming the system by asking and answering their own questions repeatedly.  However, this has the downside of providing a disincentive of accepting your own answer when it seems the best and instead accepting an inferior one in order to get the reputation bonus.  Therefore, I propose that the accept your own answer is only worth zero when there are no answers provided by anyone other than yourself.  I feel this keeps the intent of preventing gaming the system for reputation, while removing disincentive from picking the best answer, even if it is your own. Is there a way so that I make make it when I left click/right click with a certain item it applies an effect? I know that you can apply attributes to wearing armor and things but I want it so when you use the item it applies an effect on your player.  For example, let's say I want something so that when I right click with a certain item (let's say an iron ingot that was given to me) I'll then have a jump boost for 10 seconds. So kinda like a potion in a way.  Is this possible with command blocks/commands/any mods? Is there a way to search the latest version of every file in TFS for a specific string or regex? This is probably the only thing I miss from Visual Source Safe...    Currently I perform a Get Latest on the entire codebase and use Windows Search, but this gets quite painful with over 1GB of code in 75,000 files.    EDIT: Tried the powertools mentioned, but the "Wildcard Search" option appears to only search filenames and not contents.  UPDATE: We have implemented a customised search option in an existing MOSS (Search Server) installation. Relation between confidence interval and testing statistical hypothesis for t-test It is well known that confidence intervals and testing statistical hypothesis are strongly related. My questions is focused on comparison of means for two groups based on a numerical variable. Let's assume that such hypothesis is tested using t-test. On the other side, one can compute confidence intervals for means of both groups. Is there any relation between overlapping of confidence intervals and the rejection of the null hypothesis that means are equal (in favor of the alternative that means differ - two-sided test)? For example, a test could reject the null hypothesis iff the confidence intervals do not overlap. How can I set the drawableRight resource via code? Eeeek! Something stole the protection! (Why is this protected question unprotected?) asked me to report this (apparent) bug.  When he tried to protect  question someone (or something) stole the question's protection, which has since been missing:          The question shows no sign of having the protection removed, thus I believe it was abducted. I am sure justice will be done, and this poor question will receive the protection it deserves.     I recommend interrogating the  that was said to have announced this question to the world, I bet it would have some useful information.