What is the difference between a “line feed” and a “carriage return”?

A line feed means moving one line forward. The code is \n.A carriage return means moving the cursor to the beginning of the line. The code is \r. Windows editors often still use the combination of both as \r\n in text files. Unix uses mostly only the \n. The separation comes from typewriter times, when … Read more

What are carriage return, linefeed, and form feed?

Carriage return means to return to the beginning of the current line without advancing downward. The name comes from a printer’s carriage, as monitors were rare when the name was coined. This is commonly escaped as “\r”, abbreviated CR, and has ASCII value 13 or 0xD. Linefeed means to advance downward to the next line; … Read more

Git replacing LF with CRLF

These messages are due to an incorrect default value of core.autocrlf on Windows. The concept of autocrlf is to handle line endings conversions transparently. And it does! Bad news: the value needs to be configured manually. Good news: it should only be done one time per Git installation (per project setting is also possible). How … Read more

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