Skip to content

Can’t run PHP exec() on command line

Hoping someone can help me out here. Trying to run any command using exec() returns 126 and displays the same error message. I’ve narrowed it down to this pretty minimal test case. SELinux and PHP safe mode are not enabled permissions are fine on /, /bin/, and /bin/ls asterisk is a system user created w…

Covariance matrix with opencl and opencv

I recently start to learn opencl and how to create kernel for OpenCV as well. I am still working with the basics. I need to implement an opencl kernel for calculate the covariance matrix. This function don’t have any opencl kernel already implemented by opencv’s fundation. Technically what I want …

Extracting type info from printf format string

I’d like to extract c++ type information from a printf format string. For example, I’ve attempted this using parse_printf_format() from printf.h, but the returned argtypes don’t appear to include information about signed/unsigned. Is there some way to get signed/unsigned info as well? Answer…

Confusion about how linux and ntpd deal with time

I am running an NTP-Server on my lubuntu 15.04 box. The server uses the local system clock as its only time source. /etc/ntp.conf Timezone of the server is GMT+1 (due to summertime it results in UTC+2 at the moment). When I set the clock using date I see the time is 00:00:00 which is fine. If a ntp-client que…

Application Development for Windows and Linux [closed]

Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 7 years ago. Improve this question Is it possible to create programs in Java and run on both Linux and Window…

Change all non-ascii chars to ascii Bash Scripting

I am trying to write a script that take people names as an arguments and create a folder with their names. But in folder names, the non-ascii chars and whitespaces can sometimes make problem so I want to remove or change them to ascii chars. I can remove the whitespace between name and surname but I can not f…