get Gedit Theme ?
i need some good gedit theme, where did you get one ? Thanks Adam Ramadhan ...
i need some good gedit theme, where did you get one ? Thanks Adam Ramadhan ...
At present the QCalendarWidget only supports SingleSelection or NoSelection. I'd like to be able to write a widget that inherits from QCalendarWidget in Qt 4.6.2 and adds the ability for the user to select any day in a week and have that custom week selected. e.g. Click on Thu 5 August 2010 and all days from Saturday 31 July to Friday ...
Hi I have the following shell script and want to change the filename db_backup.sql to be change so the current date is prepended to it e.g. yyyy-mm-dd-db_backup.sql #!/bin/sh mysqldump ... /_sql/db_backup.sql gzip -f _sql/db_backup.sql Simple question, hopefully quick and simple answer! ...
[Edit] I have reedited the previous question - since I had misunderstood what was causing the problem - and therefore the ample snippet I had before was a red herring. Thanks to wimdvx, I have a clearer idea as to what is going on. First of all, I am using code that is base on this one, to handle IPN notifications from Paypal. I was u...
When in the Linux 2.6 kernel and in NFSv3 did open("fname", O_CREAT|O_EXCL) became valid? The current canonical open(2) system call documentation (http://www.kernel.org/doc/man-pages/online/pages/man2/open.2.html) says everything is fine: O_EXCL ... On NFS, O_EXCL is only supported when using NFSv3 or later on kernel 2.6 or later. I...
I am trying to do something a little weird here. I need to start a process, logcat, from a deamon that will run in the background and print to the terminal without taking control of stdin. It is for logging so ideally logcat will print log messages while still allowing the user to input standard commands and initialize programs from th...
String messageFile = ... // Assume messageFile SHOULD have the string "MESSAGE" System.out.println("The messageFile is: " + messageFile + "!!"); Normally, one would expect the above command to output: The messageFile is: MESSAGE!!!! However, I am receiving this instead: !!e messageFile is: MESSAGE See how the above statement, the...
I am trying to use plink as an ssh alternative on windows, but I am finding that when plink connects to a remote linux machine, it does not source .bash_profile or .bashrc. Is there a different dot file I should create? Or is there another option? For example, my bashrc file adds a directory to my path. This directory contains extra p...
Hi, We are observing unusual delays in one of our Java apps on a Linux red hat machine while trying to publish to an external MQ queue (It never happened before). Did a quick health check on the box and the CPU/memory usage seems quite alrite. The MQ boxes are quite fine as well. Restarted my java process, no luck! We grabebd a quick str...
Some time ago, i wrote some bash scripts for my school. I thought it would be very clever to 'protect' them, so i compiled them with shc into a binary file. Some weeks later, i lost the uncompiled scripts and now i have only my binarys left. Is there a way to retrieve the scripts back from the shc generated binarys? I looked into the so...
I'd like to build a SOAP server on Linux to serve a scalable number of users with database dependenet requests (read/write). Can you recommend a server stack this? ...
On Linux I have some generated C++ code from a static library that defines a global variable. A single instance of this global variable is shared between two shared libraries that refer to its symbol. When the process shuts down and the static termination phase is run, I see that the destructor on this shared instance is run twice! Pr...
hi! i have a proxy config file which has the following line: Allow 212.21.3.44 i'd like to replace that ip address portion with my new ip address when it changes. it would probably be easier to just use the line number when searching for it - i don't think that config file will change at all other than that particular setting. how c...
What would be the easiest way to add a new field to a list of potential fields on an existing ldap schema? How would this affect existing records? The field would be added at the deepest level of the dn (each user account). ...
I'm trying to read a config file, and then place the "section" of configs into an array in a bash script, and then run a command off that, and then reitterate through the configs again, and continue to do this until the end of the config file. Here's a sample config file: PORT="5000" USER="nobody" PATH="1" OPTIONS="" PORT="5001" US...
I am developing a Ruby On Rails application and would like to deploy in a production environment. I have multiple identically configured Ubuntu web servers I can use but I don't know how to scale the RoR app and db data across multiple hosts. I'd like to put both a web server and a db server on each host. On the web server/ruby middle...
I have a Linux process developed by a third-party that communicates with a terminal. For debugging I want to see the communication going back in forth. One might think cat would do the trick (to see one direction): ./third-party-app & cat /dev/tty ...but it does not. Rather, cat will steal half of the data intended for the ...
Hi , how could I run a ruby script as a command in linux. I have this script which access the lib but i have to run it as teraData.rb i want to run it as teradata (or some meaningful command ) with args on linux from any command promt. Where should i place the script and what should I do? I am kinda new to linux so please help ...
My code: #!/bin/sh #filename:choose.sh read choose [ "$choose" == "y" -o "$choose" == "Y" ] && echo "Yes" && exit 0 [ "$choose" == "n" -o "$choose" == "N" ] && echo "No" && exit 0 echo "Wrong Input" && exit 0 But when I execute sh ./choose.sh terminal prompt me that [: 4: n: :Unexpected operator ...
Hi all, There have been a few questions like this around the place but none have really answered my question specifically.(for example http://stackoverflow.com/questions/2529941/connecting-to-device-behind-firewall ) What I want is a central server, that receives a heartbeat from multiple ( say 100's) embedded devices behind personal f...