Writing bullets and number text GTKTextView
Hi All, How can i add bullets and number using GTKTextView in Linux working environment. ...
Hi All, How can i add bullets and number using GTKTextView in Linux working environment. ...
Question: How to (where to find additional information i.e., examples) programatically create a pseudo device-node under /dev from a kernel module? ...
I have some problem with replace command. Input file i have this {a[$1]=a[$1]FS$2}END{for(i in a) print i,a[i]} I want to replace with single quotes '{a[$1]=a[$1]FS$2}END{for(i in a) print i,a[i]}' Using the below mentioned command find input.txt -exec sed 's/{a[$1]=a[$1]FS$2}END{for(i in a) print i,a[i]}/'{a[$1]=a[$1]FS$2}END{f...
I am learning how to network program using c/c++ and I have created a server(TCP) that is suppose to respond in specific ways to messages from a client in order to do this I created a class that the server class passes the message to and returns a string to report back to the client. Here is my problem sometimes it reports the correct s...
I would like to start a new project that consists of multiple tiers, the web tier, event-driven business logic, data processing, etc. I had worked on PHP and Java-based projects for the past few years and speaking from experience, Java (and given the open source libraries to achieve scheduling, ORM, AOP, etc.) is usually a good choice - ...
I've tried the following, but the resulting file is still an ELF and not purely the section content. $ objcopy --only-section=<name> <infile> <outfile> I just want the contents of the section. Is there any utility that can do this? Any ideas? ...
I am a web developer and as you know for web developing both client and server side software are needed. Up to now, my platform has been OSX on my MacBookPro. But for some reasons I want to work by a PC at my workplace instead of my laptop. But I can't stand windows and I insist to work by Linux and the problem is here. I can not find Ad...
I've got a case in linux where gcc and ld build things cleanly, but at runtime I get an undefined symbol (for something in libxerces-c.so.28), reported by one of my own shared libraries, when running my program. First assumption was cache was broken, xerces recently installed, or something similar, so I ran ldconfig. Didn't fix it. But...
Hi there, I have a subversion repository(running svn 1.6.6) on ubuntu linux server and I'm trying to create a branch using tortoise svn GUI; However, I get the error back COPY c:\work\repositoryWorkingcopy\ to http://svnserver/svn/repository/Oct13, Revision HEAD Error '/svn/repository/!svn/bc/234/branches' path not found I ...
Tried installing Linux(red hat 5) along with windows7. I created a new partition(10 GB in size) and used it for Linux installation. After installation, I was getting 'GRUB geom error' and my system wasn't booting. Few tries, and I had to format my entire hard disk and had to run fixmbr which came up with a warning msg "a new MBR will...
I'm looking for where Nautilus stores the icon positions on a Ubuntu 10.10 system. I would like to back-up this information in case it's lost somehow, and possibly programatically manipulate this information. All information I've found seems to indicate that the information has been migrated to gvfs's metadata stores. Is there a way to ...
Series 2 and later Tivos have a "Music on [computername]" option under "Music, Photos & Showcases" which lets you play music that's hosted on some other machine. This option seems to appear for each computer on the local network with a compatible server running. For example, a Windows PC running Tivo Desktop can show up if configured cor...
I would like to keep a custom configuration file for my app and JSON seems like an appropriate format*. I know that there are JSON libraries for .NET, but I couldn't find a good comparative review of them. Also, my app needs to run on mono, so it's even harder to find out which library to use. Here's what I've found: JSON.NET JSONSh...
Hello. I'm just starting to learn Ruby on Rails and I'm developing on a Mac. I'm new to both Mac and Linux and I find myself already struggling to use the commands I need to get things done. For example, I started the rails sever using the :> rails server -d command and I couldn't figure out how to stop it. Ctrl-c, as mentioned in the...
I use gnome-terminal (Ubuntu 10.10). I like it, though I'd be willing to switch to another for this feature. Can anyone tell me how I can broadcast keystrokes to multiple windows? The closest thing I've found is the "Terminator" program, which allows for broadcasting to multiple tabs, but not to multiple windows. Apparently a similar...
My process runs multiple instances (processes) and multiple threads and all of them write to the same database. As soon as the request is placed, a unique req id is generated for the record to be added to the proprietary db. Here are our limitations: It cannot be more than 9 char length, needs to have hhmmss as the first 6 chars. We deci...
I have a multi-threaded app which is running under linux 2.6.30 on an 8 core PPC processor. I want to determine which CPU is being used when a thread is launched. The obvious answer is to print the PID - processor ID special purpose register. The PID register is accessed using the mfspr instruction. I try to access it using the followi...
Hello, I am having a problem in Red Hat Enterprise Linux, I'm a newb to Linux so this is probably something very simple. I installed a new 64-bit JDK (1.6.0_18) on RHEL 5 (64-bit), and now i need to set the path so that linux will go for the 1.6.0_18 instead of the old JRE 1.4.2. But everytime i set the path variable, its like the chang...
Hi guys, I am working on a project where I am required to create a page fault handler that uses memory from a different computer connected via a network as opposed to redirecting page faults to the local hard disk. Our idea parts from the assumption that, with the speed of the networks nowadays, it would be advantageous to use remote mem...
I use some magic in $PROMPT_COMMAND to automatically save every command I run to a database: PROMPT_COMMAND='save_command "$(history 1)"' where save_command is a more complicated function. It would be nice to save also the head/tail of the output of each command, but I can't think of a reasonable way to do this, other than manually p...