i want to declare a global link list for a name space in c# i tried to extern the link list but not know the correct syntax can any one tell me how to extren the variables.
Hi.
sscanf(text, "%s %s", name, company);
parses 'ian mceknis' but it also parses 'ian mceknis' and so on. How can i make this to parse only the first one? It must contain only one space not more.
Thank you.
Hi, There!
I need to get the free space of a Network drive, without "map drive"
DriveInfo drvInfo = new DriveInfo("\\NetworkDrive");
I try to do this but it dose not work
Please HELP
Thanks in Advanced
Hi,
I'm trying to get a report done and I have a small problem with the twocolums and the line numbering in listings.
The text is on two columns, the listings can be on the two columns as well.
If I put the number=left, the space between the columns is not sufficient and the text from the first column is written over.
Is there any way to ask the listings to put the line numbers "outside" ?
Thanks
I need a regular expression to validate string with one or more of these characters:
a-z
A-Z
'
àòèéùì
simple white space
FOR EXAMPLE these string are valide:
D' argon calabrò
maryòn l' Ancol
these string are NOT valide:
hello38239
my_house
work [tab] with me
I tryed this:
re.match(r"^[a-zA-Z 'òàèéìù]+$", self.cleaned_data['title'].strip())
It seems to work in my python shell but in Django I get this error:
SyntaxError at /home/
("Non-ASCII character '\\xc3' ...
Why ?
Recently, I've been exploring Java space, and came across Spring Framework.
Is this a web app framework like CodeIgniter or Rails ?
If so, is Springs used for developing enterprise web applications that runs on Java EE technology ?
I am curious, why Spring is getting lot of attention. Isn't it a lot cheaper to simply use LAMP + CI or Rails to develop web application ?
Can Spring be used to develop desktop applications ?
mov dl,00h
mov ah,08h
int 13h
this is code showing normal parameters of floppy disk.
mov dl,80h
mov ah,08h
int 13h
this is code, showing not valid parameters of hard disk(may be, my hard disk space is big (LBA)),
And I've written this code:
mov dl,80h
mov ah,48h
int 13h
it is code doing cf = 1(error). How fix it? I want learn parameters of my hard disk.
(http://lrs.uni-passau.de/support/doc/interrupt-57/RB-0677.HTM)
I have a server and a client written in C. I try to load a shared library in the server and then pass library function pointers to the client. This way I can change the library without have to compile the client.
Because of every process has its own separate memory space, I wonder if it is possible to load a shared library on a shared memory, pass the function pointers and map the shared memory on the client and then make the client execute the code of the library loaded by the server.
how to differenciate the 480X800 and 480X854 screens. we have an option to put the one image at the hdpi folder.in my case 480X800 image is does not support for the 480X854 image. it shows a blank space at the bottom.Any Idea?
I have a bunch of strings which may of may not have random symbols and numbers in them. Some examples are:
contains(reserved[j])){
close();
i++){
letters[20]=word
I want to find any character that is NOT a letter, and replace it with a white space, so the above examples look like:
contains reserved j
close
i
letters word
What is the best way to do this?
Inserting (pasting from clipboard) of text constants in the Delphi code editor requires some manual "postprocessing" ...
split up long text into multiple lines (and insert the string concatenation symbol)
escape quotes (replace single quotes with double quotes)
enclose the string with quotes
keep original white space (leadinng blanks, line feeds)
Is there a IDE plugin available which helps to reduce these manual steps?
I've been working in Delphi 7 for the last 6 years now and have learnt to merely submit to the instablity of the IDE. For example, there are particular projects I've inherited which, when working on, I cannot use the CTRL+SPACE dropdown symbol list in the Delphi editor without getting an Access Violation error, this would easily top my list but there are many more. I'd like to know which bugs frustrate you the most.
I have set linebreak and wrap.
The document looks great on my screen but when I print it the words are broken p.e.
this is the text of my printed docume
nt
How can I resolve this problem?
ps: I don't want to reformat the text, I would like to keep the text as it is on the screen.
I would like to have also a bit more right margin space.
Is this possible?
I run into a problem when trying to debug an opensource project,
it requires Visual C++ 2008 Express' sdk to compile successfully,but I'm using cdt.
Is there a way to manually install the sdk for cdt manually?(My disk space and memory are very limited...)
I need to use preg_match to check that only a-z0-9. is used (including full stop(.)). I don't want to replace anything. My problem is that it doesn't notice white space at beginning of a string.
Also, if anyone knows how to check there is no two full stops in a row, I would be very grateful.
What I have so far:
("/[^a-z0-9.]+$/",$request)
Thanks !
I have a text file which contains:
Cycle code
Cycle month
Cycle year
Event type ID
Event ID
Network start time
I want to change this text so that when ever there is a space, I want to replace it with a _. And after that, I want the characters to lower case letter like below:
cycle_code
cycle_month
cycle_year
event_type_id
event_id
network_start_time
How could I accomplish this?
I'm creating a custom keyboard layout. The SDK allows changing the width of keys in a row (as in ThickButtons), but ideally I'd like to be able to vary both the height and width of keys within a row (and still have the keys occupy all the available space.)
Another way of looking at this is that I want to allow some keys to be in more than one contiguous row. Any ideas would help. Thank you.
How to replace space and dash coming together with only dash in php
e.g below is my url
[url] = http://kjd.case.150/1 BHK+Balcony- 700+ sqft. spacious apartmetn Bandra West
In this I want to replace all special characters with dash in php.In url there is already 1 dash after balcony.If i m replacing dash with special chars then it becomes two dash bcoz already there is 1 dash in url and i want only 1 dash.
Are there any real stories about computer crime? I'm talking about stuff like in "Office Space", stealing fractions of pennies a couple of million times... Like that, only actual events. And not Captain Crunch, please, making phone calls for free does not count. No, actual robberies or super smart frauds that depended on computer technology to some extent. Links or books for further reading please.
Hi,
I'd like to discuss about different SMS Address Formats. In built-in contact of Motorola Milestone, phone no is saved as
914-383-46
I'd like to know that only "-" is included in any phone no format? Other characters possible? like "/", "space", etc...
PS: I've just only used Nokia 6210 and Motorola Milestone. So let me know other phones' format.
If I use send() on a non-blocking tcp socket in Linux will it return EAGAIN for anything other than a send buffer full condition?
I basically need to decide if I want to use the socket send buffer as the only buffer for my app or if I need my own user space buffer to feed the socket buffer.
I have a file whose size is about 300mb i want to read the contents line by line and then add it into arraylist. So i have made an object of array list a1 , then reading the file using bufferedreader , after that when i add the lines from file into arraylist it gives an error Exception in thread "main" java.lang.OutOfMemoryError: Java heap space. Please tell me what should be the solution for this.
I'm writing a program to be run from the Linux user space which spawns another process. How can it determine which files were modified by the spawned process after it completes?