Qt Creator, ptrace: Operation not permitted. What is the permanent solution?

If running Ubuntu, The recommended way to enable the needed ptrace kernel setting (hinted by qtcreator) is to edit /etc/sysctl.d/10-ptrace.conf sudo vim /etc/sysctl.d/10-ptrace.conf Then change kernel.yama.ptrace_scope = 1 to kernel.yama.ptrace_scope = 0 Save, then apply: $ sudo sysctl –system -a -p|grep yama kernel.yama.ptrace_scope = 0 run man sysctl for more info.

How does one add keyboard languages and switch between them in Linux Mint 16?

This assumes you have other languages already added in Language Support. (To check this, Menu > Language Support) Now to make the keyboard language appear in the Panel: Menu > Keyboard > Layouts > Add (+) The icon ‘en’ or your language should now appear in the right panel tray. Click it to switch language. … Read more

Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)

The SIGSEGV signal indicates a “segmentation violation” or a “segfault”. More or less, this equates to a read or write of a memory address that’s not mapped in the process. This indicates a bug in your program. In a Python program, this is either a bug in the interpreter or in an extension module being … Read more

How to restart Postgresql

Try this as root (maybe you can use sudo or su): /etc/init.d/postgresql restart Without any argument the script also gives you a hint on how to restart a specific version [Uqbar@Feynman ~] /etc/init.d/postgresql Usage: /etc/init.d/postgresql {start|stop|restart|reload|force-reload|status} [version …] Similarly, in case you have it, you can also use the service tool: [Uqbar@Feynman ~] service postgresql … Read more

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