How to highlight and color gdb output during interactive debugging?

.gdbinit You can tweak your ~/.gdbinit to have colors. You can use mammon’s .gdbinit which is available here: https://github.com/gdbinit/gdbinit You can tweak it as much as you want too. I found this thanks to this SO answer. Here’s the kind of output that you can obtain: A GitHub repository is also available: https://github.com/gdbinit/Gdbinit On a … Read more

Why is the apt-get function not working in the terminal on Mac OS X v10.9 (Mavericks)?

Mac OS X doesn’t have apt-get. There is a package manager called Homebrew that is used instead. This command would be: brew install python Use Homebrew to install packages that you would otherwise use apt-get for. The page I linked to has an up-to-date way of installing homebrew, but at present, you can install Homebrew … Read more

How to call VS Code Editor from terminal / command line

To open a file or directory use the command: code /path/to/file/or/directory/you/want/to/open For macOS users, it needs to be installed manually: Launch VS Code. Command + Shift + P to open the Command Palette. Type shell command, to find the Shell Command: Install ‘code’ command in PATH and select to install it. Restart your terminal.

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