Comments in Markdown

I believe that all the previously proposed solutions (apart from those that require specific implementations) result in the comments being included in the output HTML, even if they are not displayed. If you want a comment that is strictly for yourself (readers of the converted document should not be able to see it, even with … Read more

What Does This Mean in PHP -> or =>

The double arrow operator, =>, is used as an access mechanism for arrays. This means that what is on the left side of it will have a corresponding value of what is on the right side of it in array context. This can be used to set values of any acceptable type into a corresponding index of … Read more

What does ** (double star/asterisk) and * (star/asterisk) do for parameters?

The *args and **kwargs is a common idiom to allow arbitrary number of arguments to functions as described in the section more on defining functions in the Python documentation. The *args will give you all function parameters as a tuple: The **kwargs will give you all keyword arguments except for those corresponding to a formal parameter as a dictionary. Both idioms can be mixed with normal arguments to … Read more

How to make “if not true condition”?

try grep returns true if it finds the search target, and false if it doesn’t. So NOT false == true. if evaluation in shells are designed to be very flexible, and many times doesn’t require chains of commands (as you have written). Also, looking at your code as is, your use of the $( … ) form of cmd-substitution is to be commended, but think about … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)