NSIS support for Linux and Solaris
Does NSIS support Linux and Solaris? I read somewhere that we can compile nsis script on Linux but cant execute the .exe generated on any other platforms but Windows. Can somebody put more light in this? ...
Does NSIS support Linux and Solaris? I read somewhere that we can compile nsis script on Linux but cant execute the .exe generated on any other platforms but Windows. Can somebody put more light in this? ...
Hello, I have been reading about creating an RPM for Python 2.6.4. In this page: http://docs.python.org/distutils/builtdist.html it says you can create an RPM of the current Python using python setup.py bdist_rpm. The question's I have are: Do you have to type this command in your Python installation directory? Does this command, pack...
How can I run this from PHP? sudo /etc/init.d/apache2 restart ...
What files can be safely removed from CDT project and workspace before archiving or saving in a source control system? Having MSVC experience, I tried to remove Debug and Release directories, this was really bad idea :( ...
How do I pipe standard output from linux pipe in two inpdendent files? I use a tool called openRTSP and which to standard output in two independent files i.e. openRTSP > /tmp/file1 > /tmp/file2 ...
I am using a dev system where I have to specify the lib name when accessing a function inside it. I've used functions like open() before, and somehow found out that they're in libc.so. Now I want to use lstat(), but it appears that this one is not in libc. Sadly, the man pages I looked at do not document the location of the functions. ...
Hello, I'm using google chrome 5.0.307.9 beta under ubuntu 9.10 and it seems not properly render css opacity. Using "opacity: 0.5;" under both windows chrome or windows/linux firefox make my element half transparent, but this attribute seems ignored on linux chrome. This was working on previous versions. Any ideas about what's going o...
There is a simlar question in Preserve ls colouring after grep’ing but it annoys me that if you pipe colored grep output into another grep that the coloring is not preserved. As an example grep --color WORD * | grep -v AVOID does not keep the color of the first output. But for me ls | grep FILE do keep the color, why the difference ? ...
On Linux, I have a c shared library that depends on other libs. LD_LIBRARY_PATH is properly set to allow the linker to load all the libraries. When I do: libgidcwf = ctypes.cdll.LoadLibrary(libidcwf_path) I get the following error: Traceback (most recent call last): File "libwfm_test.py", line 12, in <module> libgidcwf = ...
I have an embedded system running on a Linux platform. What we want to do now is to test all applications running on a minimal Linux distro in a vmware environment. I try to find a very small footprint distribution which can be ran in VMWare. The requirements are really only to have the Linux distro without pretty much any servers since...
I'm trying to find a solution that offers either a Java api for writing .mobi files for sending to a Kindle, or something that's scriptable given a Linux environment. I have text data in a MySQL database that I want to offer as Kindle-friendly content. I'd like to hear what tools people have used for this that work reasonably well. ...
Hi Guys, I'm having some rather unusual problems using grep in a bash script. Below is an example of the bash script code that I'm using that exhibits the behaviour: UNIQ_SCAN_INIT_POINT=1 cat "$FILE_BASENAME_LIST" | uniq -d >> $UNIQ_LIST sed '/^$/d' $UNIQ_LIST >> $UNIQ_LIST_FINAL UNIQ_LINE_COUNT=`wc -l $UNIQ_LIST_FINAL | cut -d \ -f...
When compiling a cpp program with g++ -O0 I noticed that my binary does not contain the symbol for the empty string (basic_string): _S_empty_rep_storage When I do compile this same program with -O2 I notice that the aforementioned symbol is indeed contained within the binary as follows (using nm on the bin): 00000000006029a0 V _ZNSs4_R...
Hi, I have to log into Linux servers from different customers and use there essential tools like SVN, etc. Most of the times I get no root access, and usually the administrator is on holidays :) so I have to get the way to use this tools there. Sometimes this is very straightforward process, just compile the code. But in some of the cas...
Hi all, Im working on a program to access files from remote hosts. Basically what i want to do is logging in remote Windows/Linux host with valid credentials, check what files exist in a specific folder, read those files. Is there a library I can use to fulfill the above purpose in Linux? Thanks. Additional info: I'm using C. The remo...
select() is a great system call. You can pack any number of file descriptors, socket descriptors, pipes, etc. and get notified in a synchronous fashion when input becomes available. Is there a way to create an interval/oneshot timer and use it with select()? That would save me from having multiple threads for IO and timing. ...
I am using the Boost library in Linux, GCC. After installing and building the Boost, I found that programs using Regex and Thread use shared Boost libraries. For my purposes, I need static linking. How can I change linking type? Should I rebuild the Boost, or maybe I can set linking type by defining some constant in my own projects or B...
Old server db = MySQL v4.0.21 New server db = MySQL v5.0.45 I am moving an app to a new server, and I copied over the database. The app sends an agenda for the day and whenever there are double & single quotes " ', they show up as question marks ? Comes up like this on the server it was moved to ?The Horror of Race: HBO?s True Blood? ...
I have added the new token RATIONAL that recognises rational numbers on my javacc parser. How can I update the output part of the program to print the numeric value of the rational number? For example ('2/5') value =0.4, (8/2') value = 4.0, (4/0') value = infinity, I will be gratefull if anyone could help me thanks. ...
#include <libnotify/notify.h> #include <glib.h> #include <unistd.h> int main(int argc, char** argv) { if(argc == 3) { NotifyNotification *n; notify_init("Test"); n = notify_notification_new (argv[1],argv[2], NULL, NULL); notify_notification_set_timeout (n, 3000); //3 seconds if (!notify_not...