Hey all!
My web.config no longer has Intellisense nor colour highlighting. It looks like a regular text document. Any idea why this would occur?
Thanks!
Hey, I'm using php 5 and need to communicate with another server that runs completely in unicode. I need to convert every string to unicode before sending it over. This seems like an easy task, but I haven't been able to find a way to do it yet. Is there a simple function that returns a unicode string? i.e. convert_to_unicode("the string i'm sending")
Hey guys,
Ive got a database full of UK Postcodes, now i'd like to be able to store the latitude and longitude of these specific postcodes along with the record with the database.
Is there anyway that i can obtain this data free without violating any T&C's?
I know i could do this using google maps api for each postcode, but i have way over 20,000 postcodes in this database and to get the lat and lng for each of these postcodes each time is not an option really.
Thanks in advance,
M
Hey Guys,
This seems like a basic problem with an easy answer but I simply cannot figure it out no matter how much I try.
I am trying to create a line graph based on two lists. For my x-axis, I want my list to be a set of strings.
x_axis_list = ["Jan-06","Jul-06","Jan-07","Jul-07","Jan-08"]
y_axis_list = [5,7,6,8,9]
Any suggestions on how to best graph these items?
Hey all,
Is it at all possible to add custom key bindings to buttons in SWT? I can't use & in the text of the button to set a mnenomic because my buttons have no text (only an image). Is there a good way to do this using key listeners or is there something like the input/action map in swing?
Thanks in advance.
Hey,
my question is for Perl lang.
i'm looking for a way to do this:
$a = "60"; $b = "< 80";
if ( $a $b ) { then .... }
while $b holds the operator.....
can i do that ?
maby with some other way ?
10x
i need an sms service that can gives me a phone number and then my customers can send me sms to that number. then posts the sms information to my website like http://xx.com/newsms.php?body=hey
Thanks
hey Guys,
I wanted to know if there's a way I can bind an Asp.net Ajax event to two different JS functions ?
eg.
var prm = Sys.WebForms.PageRequestManager.getInstance();
if (!prm.get_isInAsyncPostBack())
{
prm.add_initializeRequest(InitializeRequest);
prm.add_initializeRequest(InitializeRequest2);
}
function InitalizeRequest() { ... }
function InitalizeRequest2() { ... }
Hey just a quick question for any experts out there. I have a site that lets users interact through messages and to sign up you just make a username and password, verify your age, and optionally, add an email. There isn't really any sensitive information I suppose. Is it worth using https. Will it prevent session hi jacking and will it hinder performance?
Hey. I would like to understand what "class << self" stands for in the next example.
module Utility
class Options #:nodoc:
class << self
def parse(args)
end
end
end
end
Thx!
Hey,
I have a simple plot which feature a lot of data points, when i have have graph. Is there a way that i can simple click on all these point and allow matlab to give me a average value of them?
Thank you
Hey,
I need a method to get the data from an external editor.
def _get_content():
from subprocess import call
file = open(file, "w").write(some_name)
call(editor + " " + file, shell=True)
file.close()
file = open(file)
x = file.readlines()
[snip]
I personally think this is a very ugly way. You see I need to interact with an external editor and get the data.
Do you know any better approaches/have better ideas?
Hey everyone,
I am currently trying to create a subclass of UIImageView in order to make it download its image from server asynchronously ;)
I tried to do it by myself but I haven't gone very far yet :D
Anyway, I looked around here and found this :
AsyncImageDownload
I had a look at the code and the first which springs to mind is : why subclassing a UIView and not a UIImageView ?!?
Any thoughts ?
Cheers mates,
Gotye.
hey folks,
I have this piece of code to test a shellcode but I don't understand it so can anyone explain it to me???
forget about the assembly shellcode, what i want to understand is the C code
char shellcode[] = "...";
int main(int argc, char **argv)
{
int (*func)();
func = (int (*)()) shellcode;
(int)(*func)();
}
I mean everything, what is the empty () ,please explain it as if you are explaining it to a beginner
thnx all
Hey everybody,
I am a novice TCL programmer.Here I go My 1st post with stackoverflow forum. I would like to write a regular expression that matches any & only the strings starts with character A and ends with B. Whatever the characters coming inbetween should be displayed. For instance AXIOMB as an input from the user which starts with A & end with character B. Here is my try regexp { (^A([C-Z]+)B$)} Thank you
Hey guys,
I'm trying to sho a contextmenu on right-click on an item in a listbox. So i'm binding a list of "Users" to my listbox. Then i'm a bit lost. I thought i could foreach the list and add a mouserightdown event on the listboxitems, but i can't figure out how.
Is this a good way, or does anyone know a better way of accomplishing what i want.
Thanks in advance.
Hey Everyone,
I just started using TCPDF (output with HTML), and I do not understand why I can not have an inline CSS style for border like the following,
style="border-right: 1px"
After looking at some of the examples, the only place I see borders being used is on a table using the border="1" property. This is very frustrating, and I hope there is a way for me to use all inline CSS instead of old HTML attributes like "border".
Thanks for any help, Metropolis
Hey guys,
How do I go about setting a string as a literal variable in PHP? Basically I have an array like
$data['setting'] = "thevalue";
and I want to convert that 'setting' to $setting so that $setting becomes "thevalue".
Thanks for any help!
Hey,
I have a ASP.NET page called admin.aspx that needs to be protected from direct access.
I want it to be accessed only when the user enter his name & password in another page called login.aspx
I'm working in ASP.NET with Visual Basic .NET 2008, and I have no idea how to do it.
Can you help me doing it ?
hey folks,
Can someone help me with this Java problem?
I want to write a method that takes two strings as arguments and returns true if each character (including space and punctuation) that appears in one string also appears in the other.
Thanks
Hey All,
So I am embedding a PDF file on my page:
<embed src="http://www.mywebsite.com/files/ebook.pdf" width="500" height="375">
Is there anyway to prevent any and all access to that file except for when it is being accessed via this embed?
Thanks!
Hey,
Im sure I am missing something here but none the less.
foo['bar'] = nil
if(foo['bar'] == nil)
puts "foo bar is nil :("
However, nothing happens? Any thoughts?
Hey guys,
I've been reading about the new native client support for chrome and I was wondering what are the advantages/disavantages compared to writing Java applet with a certificate?
Quick note: A java applet with a security certificate can execute code on the user machine and "by-pass" the Java Security Manager.
Thanks,
-hbt
Hey,
Im really interested in the way of using lamda functions. Does it make sense to use them in a high-level programming language? If yes, why?
Is this really just a function embedded in a function, (Like this) or is there more behind?