UNIX
Unix is a computer operating system originally developed in 1969 by a group of AT&T employees at Bell Labs including Ken Thompson, Dennis Ritchie and Douglas McIlroy.
Forum Post

Re: BASH: SED/AWK A Variable

something like this, I mean echo 20191012 | awk '{a=substr($0,1,4); c=substr($0,7,2);b=substr($0,5,2); print(c "." b "." a )}'
Forum Post

terminal commands

There are a lot of difference between commands ./script.sh and . ./script.sh ? My teacher sad, that it's two different commands. I'm surprised ...
Forum Post

I want my daemon to launch any graphics app(eg xeyes) on login srceen

Hello everyone, I have a daemon that writes log of current time five time at location "/opt/NetSupport/NetSupportManager/file.log". I want my daemon to launch a window at ubuntu login screen(this...
Forum Post

Memorymap issue in powerpc:can't allocate more than 256MB for DRAM

Hi all I have an mpc8360e processor (has e300 core and QE) for our networking application. I have to use 1GB DRAM module in my board, but u-boot for powerpc is not supporting that. It is...
Forum Post

daemon restart itself on SIGHUP signal in C

I have a C daemon that needs to restart itself after any configuration file changes on receiving a SIGHUP signal. Can anybody post some example code on how to do it? The daemon is started by a...
Forum Post

add user to router

Dear friends, i decide to develop an ISP billing system. i have a linux server that communicate with a cisco router. how can i add user and config them with programming? in advanced thank you...
Forum Post

RS232 on PIC and Linux

Hello, I have a PIC 18F4620.I add on the pic setup the serial port. I have this module, who are connect on RS232 : http://www.tigal.com/1365 My problem concerned the card : I need help to know...
Forum Post

Re: implementing software raid 5 in c

My guess is; you'd need to write a virtual device driver that makes the OS think you have a normal disk attached. The virtual driver would act like a bridge between the OS and a RAID layer. This RAID...
Forum Post

Solution

I find solution. I should compare each char with decimal number that peer to unicode. For example 0008 should be compare with 8 for detecting it or 007f should be compare with 127.
Forum Post

Detect chars such as 007f,...

I want to read a file and process its content in a C99 program. The file have special chars such as 007f and some of them is controller chars. This is a part of the file: %'%'''SFUTLNTVER...
Forum Post

from bash to C

Hi, I unfortunately do not have time to put myself in C or browse all the forums dedicated to this programming ... I need to translate this little bash function in C: myfunc() { if...
Forum Post

Gtk Socket, Plug, embeding one program into another.

app = glade_app_new (); vbox = gtk_vbox_new (FALSE, 0); gtk_container_add (GTK_CONTAINER (window), vbox); ..................... ..................... } So from the...
Forum Post

Re: best programming books

The c programming language by ritchie and kernighan. As far as C goes I don't think I've come across anything more helpful. Another cool book i'd recommend are the "hacking : the art of...
Forum Post

implementing software raid 5 in c

hi, i was wondering if anyone can help me implement software raid 5 in c. i have this project to do and i don't know how to do this?can anyone just tell me the steps involved in this?Do we need to...
Forum Post

Re: BASH: SED/AWK A Variable

here is an example of BASH Substring Extraction dateString=YYYYMMDD # 0-based indexing. year=${dateString:0:4} # YYYY month=${dateString:4:2}...
Forum Post

Re: best programming books

http://publications.gbdirect.co.uk/c_book/ http://www.acm.uiuc.edu/webmonkeys/book/c_guide/ http://www.cppreference.com/wiki/c/start
Forum Post

Re: shared ipc_semaphores: who destroys?

what i need is a kind of "nattach" info for semaphores, like there is for shared memory when calling "ipcs" on console.
Forum Post

Re: Create a Signature or checksum

but a hash makes sense only if you want to compare several times. if you only need to compare to the last packet, you should use memcmp(). or make the server stop sending multiple packets of the same...
Forum Post

Re: Create a Signature or checksum

any hash function will do. examples: a fast one (32bit): djb2(xor) from http://www.cse.yorku.ca/~oz/hash.html a strong one (64bit, less collisions): http://www.larc.usp.br/~pbarreto/WhirlpoolPage...
 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.