1,446 Topics
![]() | |
I'm working on a struct array and I need to dynamically delete elements from the struct. I have the added dynamically but I've run into some issues with deleting. I've researched different methods and tried a few. I found that one from here works, in that it will delete the … | |
Hello, I am creating some sort of cPanel, and I want people to be able to log in using their Linux user. I installed the PAM extension, but it's functions aren't recognized/return nothing. Installing it using the `pecl` command does not work (some ./configure errors, I am not really in … | |
Hello, I am sharing my webserver with a few people and I am trying to create some sort of an admin panel for them. It has to be able to change Apache VirtualHosts and reload Apache. Now I can make the config-changing PHP code, but there are 2 Apache-related problems. … | |
C program that extends my.c to take file names as command line arguments. It will read each named file and write the first 10 lines to standard output. If there are no command line arguments, it will read from standard input. If "-" is given as a file name, it … | |
Lab Assignment 1 - A Simple UNIX Shell Objectives: The objective of this assignment is to understand the workings of a command-line interface (CLI) and to obtain a working knowledge of process forking and signalling. Assignment: In this assignment we will build a command shell in stages. Our command shell … | |
I have migrated my Oracle Developer 6i Forms and Reports to Oracle Developer 11g. Everything works fine except three of my batch report applications. They generate 300 to 400 reports each, which in 6i were stored (in pdf format) in a Windows network folder. From the folder they were emailed … | |
Hey there everyone! So, I am trying to implement a home network and would like it to run on either a Debian or Ubuntu server possibly virtualized with both on a XenServer. Anyways, my question is, would there be a way to create a domain like AD without having to … | |
I have a .htaccess plus PHP question and I am trying to find the answer my own over last months. Of course I have asked friends programmers but they have no clue about it. Because I have this question for many months I am not sure that I haven’t posted … | |
I am trying this example from Byte of Python, Chapter 10. I can't seem to get this zip to work. I am not sure if the syntax for windows is written correctly or not. I have tried running from interpreter and as a script and both return Backup FAILED. Anyone … | |
I am having trouble having redirection working with the ability to hit enter and remain in the same shell. My problem is if user types: ./a.out < foo.txt (where foo.txt contains a command like date) I want to execute that command and exit the shell.However,if the user compiles the code … | |
Group, The SQL Server (I'm using the edition that comes with Visual Studio 2010 Express) is different in every aspect form the database(s) that existed in the UNIX based program I work with over the last 15 years. There is much to learn and understand. With that said, I've connected … | |
I know there are plenty of other places to get info or code snippets for **microcontroller programming** (especially **arduino**). Out of all the boards/sites I visit, I like the **DaniWeb** format the most. I was wondering if a **microcontroller** or **arduino** section could have a home here. Or would that … | |
Ok so here is my problem, i have to write a simple computr system consisting of the processor and the memory, The project will simulate a simple computer system consisting of a CPU and Memory. The CPU and Memory will be simulated by separate processes that communicate I have to … | |
Hey I am a new unix student, please help me in this Exercise " Write a C code to represent a file system tree into an XML file. The XML is an exact representation of the file system nested files and directories that starts with the root directory “/”. The … | |
![]() | While checking last_post timestamp in the returned json, I noticed a discrepancy of around 5 hours of the 'now' time and a 'just posted' time. AFAIK unix timestamp is UTC - so constant and timezone independent. Are DW timestamps modified to EST or have I messed up **again** with my … ![]() |
I need to convert the `UNIX_TIMESTAMP()` output into a readable date and time for output in a table. Anyone know how to do this? or am I in the wrong area again? | |
i want to compare dates stored in database in the format yyyy-mm-dd by changing it in unixtimestamp in the mysql query.for this my query is $bquery="SELECT * FROM rt_booking WHERE rt_unit_id='".$_POST['unit_id']."' AND (SELECT UNIX_TIMESTAMP(str_to_date(rt_start_date,'%Y-%m-%d'))>=".$my11." OR SELECT UNIX_TIMESTAMP(str_to_date(rt_end_date,'%Y-%m-%d'))<=".$my22.")"; but it is giving syntax error. | |
Is TCP/IP protocol set of all the devices like Windows,Mobiles,Linux,Unix,MAC OS same?identical? I mean is the TCP/IP protocol's source code in each OS same?no changes at all? 2. If we connect different types of PC running different OSs like, Linux,Mac,Windows or mobiles that run Symbina,Andorid,Java OS etc..(let's assume phones can … | |
Hi, I have a Python script that calls a program that only prints to the terminal [yes I tried to force it to print to file ... no luck]. However, I need to save the output of the terminal to file in order to perform further analysis. In the code … | |
I have been trying to install Fedora on my laptop which came pre-installed with Windows 8.I need fedora coz i have a course on Unix shell programming dis semester.But i haven't succeeded coz the bios is kind of different from the earlier ones.can u guys suggest me some way i'd … | |
Hi, I'm just settign up boost on my desktop (ubuntu) after a reinstall and am having some problems. I set it up last w/e on my laptop (knoppix) and did exactly the same thing and it works fine. I'm sure its something increadably simple I'm missing. I'm following http://www.boost.org/doc/libs/1_53_0/more/getting_started/unix-variants.html I'm … | |
Hi , Can anyone tell how I will send the local time zone to the server and so that I can convert the unix time(coming from the database) to the local time and display it on the clients side using php (In short I dont want to use javascript when … ![]() | |
Basically I'm supposed to make a program that copies the Unix -wc command. Flags -l, -w, -c, and -L are supposed to display # of lines, # of words, # of characters, and # of characters in line, respectively. I am having trouble reading in a text file (first time … | |
I have got around 10 <div>'s and in every <div> there is a different datetime. I want to call a java-script function when the clients local time matches the time in that <div>'s. //sample scenario <div id="a" class ="help">2/3/2013 6:39:14 PM</div> <div id="b" class ="help">2/3/2013 2:39:14 PM</div> <div id="c" class … ![]() | |
Hi guys. I would like to ask several questions about this. Im on my final phase of the proj, will appreciate some information. Qn 1: How do i make the user continually input till he types 'exit' to exit? Qn 2: If he types wrongly, or database couldnt find the … | |
I have just tried to access http://blog.seorevolution.com/2013/01/24/5133/ and get the following: Forbidden You don't have permission to access /2013/01/24/5133/ on this server. Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request. Apache/2.2.19 (Unix) mod_ssl/2.2.19 OpenSSL/0.9.7a mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 mod_perl/2.0.5 Perl/v5.8.8 Server at … | |
Firstly, i'm really new to all this bash/unix/c stuff so i will probably get some words meanings wrong here, but anyway: Im trying to make a client pass simple shell commands to the server, which executes them. They communicate locally on the same machine through a socket. I can make … | |
Hi I have the following script to upload an image to the server. Instead of the script producing a unique name for the image, I actually want to just replace one image with another..ie. overwrite an image which is already there, with another of the same name. I'm getting a … | |
Is there a simple way of running Apple Mountain lion on a PC laptop. I know this seems like a ridiculous question but I have a client who for some reason thinks it should be possible. I think the next thing he wants to do is switch to UNIX. I … | |
I was thinking of throwing out windows from a little laptop with an i386 processor and putting linux on, to make better use of the hardware. I'm not sure how the process works, seeing as there is no disk drive, and I'm not sure which distribution of linux would be … | |
Hie all l have an Hp Proliant ML110 G5 and l have installed Unix ScoServer 6 but it is not giving the GUI when i press CTL+ALT+f2, so l can l in the command line configure that so that l can get the GUI for either a standard crt monitor … | |
Hello all, recently got a piece of coursework I completely know nothing of. It is shown below: Your task is to write a file archive utility similar to that of the Unix tar program. This program will be a command line program (i.e. there will be no graphical user interface). … | |
How can i get result between two date from database where date is in unix timestamp.How can i use WHERE clause to get result.I required in a project. ![]() | |
Hi everyone . I'm studying network engineering and security , its my forth year . I have taken a network programming cousre , and I will take Unix system programming course soon . I love programming , and I love networks . I have taken network course , network protocols … | |
Task Your task is to write a file archive utility similar to that of the Unix tar program. This program will be a command line program (i.e. there will be no graphical user interface). The purpose of this file archive utility is to allow users and system administrators alike to … | |
Hi, I am trying to create a way where Javascript can do a loop between two Unix Timestamps to print out the dates and some html. I have created a way for this method to work in PHP. However, I need this same method to work in Javascript. Working PHP: … | |
I'm creating a password protected Volunteer Database and everything is going well. I have created a 'password protected' form before entering the hidden database(seperate form). How though am I able to prevent a 'user' to find out the password by going through "Build Event" in Access? | |
So Im using our university servers through an ssh connection. I have a bunch of files in a directory which I would like to run through a perl script. So I thought this simple script I concocted should do the trick. I have used similar script on my home computer … | |
Hi,I am using following code for FTP in shell script file and it is working.Now I want to migrate from FTP to SFTP.What code changes/steps I have to perform for SFTP ? ftp -in <<FIN open $SAP_UP_SERVER user $SAP_UP_USER $SAP_UP_PASSWORD asc put $PM00_OUTPUTS_DIRECTORY/$SAP_UP_FILE_CSV /$SAP_UP_FILE_CSV put $PM00_OUTPUTS_DIRECTORY/$SAP_UP_FILE_CTL /$SAP_UP_FILE_CTL prompt ... End … | |
Hi, I've been learning c++ for a few months on a windows os. (Not using the API) And im building a new computer soon. I will install Backtrack at first, then win if I need it. My goal is to become a professional developer (I will most likely write code … | |
Hi again everyone.. Hope you're all having a nice Christmas. I have a question which I think could sound dumb. Can anyone tell me if Automake and Autoconf can be used on Windows. I seem to be able to find reference to it being used with Unix everywhere but nothing … | |
OK so I am basically brand new to shell scripts and new to Unix in general. I have a server that has two profiles, one is a shared account for a few friends and I and the other is one that I use to run video game servers off of. … | |
Hi everyone, When I type http://clontarf.girlsacademy.com.au/News-2012-Academy-Awards-53.html into my web browser I get the following error message: "Not Found The requested URL /News-2012-Academy-Awards-53.html was not found on this server. Apache/2.2.22 (Unix) mod_fastcgi/2.4.6 mod_ssl/2.2.22 OpenSSL/0.9.8r DAV/2 PHP/5.3.13 with Suhosin-Patch mod_wsgi/3.3 Python/2.7.2 Server at clontarf.girlsacademy.com.au Port 80." How can I fix this? Cheers … | |
Are you a freelancer or programmer for hire? Join, post & bid for projects free. Thousands of skilled programmers, skilled freelancers to choose from. Ultracoder is a developer oriented outsourcing site. Skilled programmers will bid to complete your project right now. Computer Based programs, Training, Web Services, Language Specific programs, … ![]() | |
This is the code do look at it. I just want change it in switch statement. will stuck in it. it is unix code. commands[0] = (char *)"ls"; params[0] = (char*)0; commands[1] = (char *)"who"; params[1] = (char*)0; commands[2] = (char *)"date"; params[2] = (char*)"+%d/%m/%y"; commands[3] = (char *)"ps"; params[3] … | |
Okay I am trying to write a program where a parent process creates three child processes. Also waits for each of them to finish. Here is my code: [code] #include <stdio.h> #include <unistd.h> main() { int i; // create 3 child processes for (i = 0; i < 3; i++) … | |
So this is basically what's supposed to be the outcome of my code: > 69:hw/05/src> javac WordOccurrenceCounter.java 70:hw/05/src> java WordOccurrenceCounter Reading the book... Getting counts from a TreeMap... Enter a string ('q' to quit): wealth wealth occurred 7 times. Enter a string ('q' to quit): poverty poverty occurred 10 times. … | |
hi all i want to write unix shell script but my operating system is windows 7 so do you have or know a program that provide unix environment on windows??? thanks in advance |
The End.