I'm currently making a terminal just for fun and to learn some python :)
I'm half way through making this terminal which sends commands to the OS by using commands.getcommand("...")
only problem is there doesnt really seem to be any environment there.. eg. environment variables, changing...
I'm having problems trying to access properties within an element...
when the element is set up like this:
<span id="bla" style="color: white; border: 1px solid black">blablabla</span>
I am able to access the style properties no problem at all e.g...
Valgrind & ccmalloc are reporting that there is a memory leak with this:
#include <iostream>
using namespace std;
int main(int argc, char** argv) {
cout << "Hello World\n";
return 0;
}
Valgrind says:
==26081==
==26081== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)...
Hi, I havent had much experience with doing random access with fwrite so I'm getting this problem with it. When I write some information to a specific point within the file, it seems to end the file straight after the data I've just written and I lose the rest of the file??..
Heres the code...
I've been running apache for years and had no problem with it until recently..
whenever i try to access a local virtual host i can never get to it
eg.
i type in: development
and i get a not found page and the URL changes to this:
http:///?%20development
anyone else come across this? maybe...
I've got WinXP on hda1, Red Hat 9 on hdd6 & Slackware 9.0 on hdd7.. Slackware 9 was the last one I installed but I cant get it up and running - I tried using Lilo but it didnt seem to work.. basicly Lilo has never worked on my machine - not sure why so thats why I'm using GRUB. I can boot to XP...
hmmm ok well /var/lib/mysql/mysql.sock must be the proper socket to use as that is the default setting that is in the my.cnf file, but how do I go about changing the /tmp location for my C program ?
I've written a few programs in C that access the local MySQL database on my linux system, the problem is this when I run one of my C programs it comes up with this error:
Error on connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
Then if I edit the socket entry...
sorry the body tag should be:
<body onload="test()">
also i dont want the DIV tag to be hard coded within the body of the HTML, i want it to be pure javascript driven..
thanks
i wrote this script to test out the createElement and removeChild functions, it works fine in Mozilla, but in IE, it creates the DIV layer, but when i hit a key to activate the removeChild function it says that the DIV layer does not exist?
<html>
<head>
</head>
<script...
hmm ok - well its starting to look like it cant be done...
i cant see any point in the casting cause as you were saying if you know what you are casting it as then you may as well assign the proper type in the first place.. i think for the time being i'll just add in a switch statement and...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.