i've installed xampp on mac but i cant install xdebug.
followed some tutorials on the net without results.
someone could explain simple steps or show me a good tutorial about this?
Hi I'm working with c# simple application to display system date time.
textbox.Text = DateTime.Now.ToString("MM/dd/yyyy");
but it is showing result as : 05-12-2010
What is the problem with this code? or do I need to change any where in the regional settings of my machine.
thank you
I'm starting a blog with a hosted wordpress instance and i would like to be able to stream music using a flash player on some posts.
The problem is that every player i find uses a simple param to get the file url which makes it very easy for someone to find that url and just download the file.
I know that it's probably impossible to prevent this all together, but i at least don't want it to be obvious.
A server side solution can be implemented as i have full access to the server.
I'm pretty new to lisp, so apologies for what may be a simple question,
Whilst I understand the difference between DEFVAR and DEFPARAMETER (defvar only sets undefined variables), and the LET is for local scope only, what is the is the use of SETF as opposed to the other, previously mentioned assignment functions?
Hello:
I have a simple webpage that displays the credit balance for calling cards. So far without any problems, with HTML, PHP and mysql, I was able to retrieve the balance from a data base. But I have to display the result in ANOTHER PAGE, wich looks akward because the page must reload.
Can I just load this value into a pre-drawed field under the input fields that collect the data from the customer? Such as :
Account Number: 134556
PIN: *
|send|
Balance is: $12.36
Thanks in advanced
I am looking into providing an Android SDK add-on but can't seem to find a simple "how to". Is this limited to "device manufactures"? Are the details embedded in the actual SDK? Any guidance will be greatly appreciated.
I have written a simple python module, it has this code:
_log = logging.getLogger("mymodule")
_started = False
def set_log_level(level):
_log.setLevel(level)
if not _started:
_hdlr = logging.FileHandler('mymodule.log')
When I call set_log_level() program fails because symbol _started is not found. It is normal because global _started is missing in the method. But my question is: symbol _log has the same visibility as _started, so why does this symbol can be found?
BR,
// Toby
I am quite new to ant and have been looking at the tasks. I am trying to generate an xml file. Do I need to call an external process or does ant have some way to do this? It could be as simple as sending a string to a txt file and saving it as a .xml. Is it possible?
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 ?
I know that this won't directly invert a colour, it will just 'oppose' it. I was wondering if anyone knew a simple way (a few lines of code) to invert a colour from any given colour?
At the moment I have this (which isn't exactly the definition of an invert):
const int RGBMAX = 255;
Color InvertMeAColour(Color ColourToInvert)
{
return Color.FromArgb(RGBMAX - ColourToInvert.R,
RGBMAX - ColourToInvert.G, RGBMAX - ColourToInvert.B);
}
Hi
I am wondering what good simple IoC frameworks are there for asp.net mvc? that have good documentation and are just easy to get up and going.
Thanks
How would I go about adding a simple 2 minute timer to my app in almost the exact same way that the clock app does? I just want the user to click start and have the timer start displaying the timer counting down from 2:00 and beep when it hits 0:00.
What I mean is like have to user input a string with multiple variables and get the value of those variable. Like a simple quadratic formula: x^2 + 5x + 10. Or in java: (Math.pow(x,2)) + (x * 5) + 10The user would then enter that and then the program would solve for x. I will be using the BeanShell Interpreter class to interpret the string as an equation. But how would I solve for x?
The general idea is pretty simple, I want to make a script for a certain task, I do it in the shell (any shell), and then I want to copy the commands I have used.
If I copy all the stuff in the window, then I have a lot of stuff to delete and to correct. (and is not easy to copy from shell)
Resume: I want to take all the things I wrote...
Is there an easy way to do this easy task?
Hi,
I'd like to know if it is "ok" to write a test without any "assert" in it. So the test would fail only when an exception / error has occured.
Eg: like a test which has a simple select query, to ensure that the database configuration is right. So when I change some db-configuration, I re-run this test and check if the configuration is right. ?
Thanks!
This should be simple.
I'm making a very basic app, based on the Utility Application template of XCode.
On the flipside, I have more content than fits the screen.
The flipside is a UIView. I think it should be a UIScrollView, but somehow I don't get it to work.
Can anybody here advise me on this?
I am looking to be able to launch a network file on our local intranet using FF or Chrome
Currently the link work good in IE
<a href="\\Start\Of\My\Network\file.xlsx">View Report</a>
but in FF it show
<a href="http://mydomain.com/\\Start\Of\My\Network\file.xlsx">View Report</a>
is there a way to get the link to render properly...Just a simple click from a href tag.
Hi!
I've been reading about XSS and I made a simple form with a text and submit input, but when I execute <script>alert();</script> on it, nothing happens, the server gets that string and that's all.
What do I have to do for make it vulnerable?? (then I'll learn what shouldn't do hehe)
Cheers.
Hi. Does anyone know a good C# tutorials (example) step by step?
It should be not a description of libraries, foundations and the OOP concept, and so forth, but the writing of any application step by step. For example, a mail client, telephone directory, a simple graphical editor, audio player.
Thanks!
While the Jet OleDB Driver is pretty simple to use for reading an Excel sheet, it simply cant handle excel files having rows more than a thousand.
Is there any other way of reading more than 5-10k rows from an excel sheet in C#?
Hi,
I am trying to find a way for our users to very easily upload their outlook contacts into our web application (mysql database).
I'm not sure where to begin. I've seen various tools which are pretty complex. I am open to existing third-party solutions, but my hope is that there is something which is very simple to use or build.
Thanks.
PS: Ideally, it would not involve using visual basic.
In javascript is there a good(i mean built in) way that i can find whether element if array of not ? one simple i can see is as follows but i don't like it
if(ele.push){//its array it has push method}
I mean i would like know if something like below exists
function x(ele){ if(isArray(ele)){//dosomething} }
Hi All,
I'm trying to define the DisplayPattern of a custom field to do as follow. It's a simple text field used in document libraries, but i want the text entered to be displayed as a link to the document in the list view.
<URL Cmd="Display"> gives me the display form, but I want the link to actually download/open the document...
I can't for the life of me figure this one out...
Thanks for your help!