Im writing a php script to compare the similarity of 2 strings. This works pretty good at the moment, but what I would like to do is match words when one is a synonym of the first.
Any thoughts?
on one page of my app i get a Type is undefined on the ajax script. why would this be?
EDIT
Type is not defined
MicrosoftMvcAjax.js()()Microsof...vcAjax.js (line 6)
[Break on this error] Type.registerNamespace('Sys.Mvc');Sys.Mv...reate_AjaxOptions=function(){return {};}
What is the PowerShell script to get the speed a specific Windows machine's network card is running at?
I know this can be done with a WMI based and will post an answer once I work it out.
Here's the question, I need to connect to a remote MySQL database from my C# Application, problem is the MySQL instance will block all access to all IP's apart from localhost, this can not be changed as its too much of a security issue.
The question is, is it possible to connect via a tunnel instead to a php script hosted on the server, this would then act as the mysql connection.
Any ideas and suggestions?
How can I load other scripts from within a groovy script? In particular, I want this:
in file A.groovy:
def say(String msg) {
println(msg)
}
say("hi")
in file B.groovy:
load("A.groovy")
say("bye")
running 'groovy B.groovy' should print
hi
bye
To start my program I do the next sequence:
$ erl
> c(module1).
> c(module2).
> c(modulen).
modulen:start().
Is there any possibility to create script that allow me to launch my program ?
I have several flash movies that need to redirect to an external website at the end of the presentation. In any browser (firefox, opera, etc.), getURL("http://www.google.com"); works but in IE versions 7 and 8 it just hangs.
I need to use Action Script 2 because I have alot of code that doesn't work in AS 3.
Thanks!
Is there a way to set the next build number in Hudson from a script?
I have the nextBuildNumber plug-in installed, and attempted to use wget with --post-data, but that page appears to require login.
I have two steps of a chained build and I want to keep the build numbers in sync.
I have a c# code that connects remotely to a winServer2008 machine (with a local user of that machine).
How do I configure via automated code the logon script that will be executed as soon as the connection is established ?
Hi,
i am using Zend Framework, i have an layout.phtml wich renders navigation.phtml. How can i display a search form in this script ?
Where is the right place to set the form ? In normal view scripts i will use the controllerAction to set the form , and simply echo it..
Do i need an FrontController Plugin, wich sets the form ?
I want to SSH to a server and execute a simple command like "id" and get the output of it and store it to a file on my primary server. I do not privileges to install Net::SSH which would make my task very easy. Please provide me a solution for this. I tried using backticks but I am not able to store the output on the machine from which my script runs.
Well I'm working on a school project, and I uploaded my script to send emails. I'm pretty much using whats defined here: http://www.webcheatsheet.com/PHP/send_email_text_html_attachment.php .
Now, all I really changed(other than the contents), is the receiver, to my email address. However, I'm not getting it in my inbox. Is there something else I need? Do I need to do something with the settings on the server(or have my school enable something)?
Hey, I am looking for PHP login script that allows a user to sign in, confirm his email and save his login/password if he wants. Is there something free and simple to support and modify?
Thank you.
Michael
Hello everyone,
How can I get the file name and line number in python script.
Exactly the file information we get from an exception traceback. In this case without raising an exception.
this is the scenario.
p1
|_f1
|_f2
p2
|_f1
|_f2
Can anyone please help me with a powershell script that copies the files shown above from the TFS to a temporary folder ??? where f1,f2,and so on are the subfolders..
I am trying to go through a site with a bunch of links. I click on a link, save the page, click on a button, save a page. Then go back and repeat it for a huge number of links. I want to write a script to do that for me. I know C++ but I want to do Javascript for this, what is a good place to get me started? What would be a good IDE to use?
Hi,
I was wondering if it is possible to make a "link" in usr/bin (i.e.) that leads to a shell-script.
But I want just to write
% shellscript
instead of
% sh shellscript.sh
kinda like an alias.
Is this possible?
I need to know how to make a rating script for a site. I have a form that submits a rating out of ten to mysql. How would you get the average rating to be displayed from the mysqk column?
---using PHP with mysql
Could anyone link me to a sample script that would allow be to resize PNG images containing transparency? Some scripts I tried create a black area in place where the image was transparent.
I m using XML for storing data and I m retriving it into google map application using java script.now I want to add latitude and logitude data into XML file as it arrives from the tracking device.I m facing difficulty in adding closing tag of root node when my data is appended in the XML file.Can any body help me?
The == is used to compare two string in shell script, however I want to compare two strings by ignoring case, how it can be done.Do we any standard command for this.