This site has a script that works in all browsers i tested but Chrome, which i think is strange because it is usually IE that acts up. The error console says
Uncaught TypeError: Cannot call method 'toLowerCase' of undefined
Uncaught TypeError: Object #<an Object> has no method 'set'
however i don't know what to do with this information. Any ideas?
Whats the best way to send data to the server and have it run through a php script. Bearing in mind I do not want to have the user redirected to a different page and no response needs to be sent back from the server.
Hi, i've added to the master page my script "myscript.js".
Then, in a content page, i would like to load myscript() at startup (body onload).
How can i do this ?
Thank you in advance !
Regards
Thank to the script, I've logged in google successfully.
But I replaced the value of "gv_home_page_url" with http:// www.google.com.tw/dictionary/wordlist?hl=zh-TW, the error occured.
The message is "
urllib2.HTTPError: HTTP Error 500: Internal Server Error"
Any idea will be appreciated, thanks.
Hi All
I'm using this script on my site - http://www.suuronen.org/esa-matti/projects/panfullsize/
Got it all working fine, only problem is that it always defaults to the zoomed image when you load a page. I'd rather it showed the scaled down image first, and then zoomed when requested.
Anyone know how I can fix it?
Cheers
Sam
i have a python script which keeps crashing on:
subprocess.call(["pdftotext", pdf_filename])
the error being:
OSError: [Errno 2] No such file or directory
the absolute path to the filename (which i am storing in a log file as i debug) is fine; on the command line, if i type pdftotext <pdf_filename_goes_here> it works for any of the alledgedly bad file names. but when called using subprocess in python i keep getting that error.
what is going on???
I have an sql file which will give me an output like below:
10|1
10|2
10|3
11|2
11|4
.
.
.
I am using this in a perl script like below:
my @tmp_cycledef = `sqlplus -s $connstr \@DLCycleState.sql`;
after this above statement,since tmp_cycledef has all the output of the sql query
i want to show the output as:
10 1,2,3
11 2,4
how could i do this using perl?
How do I use a Python library such as Scrapy in a CGI script or even in a framework such as Django if I need to do so later?
Here is the documentation I've consulted thus far, but it doesn't seem to meet the concern I have.
http://doc.scrapy.org/topics/spiders.html
http://doc.scrapy.org/topics/webconsole.html
Critique and suggestions are welcomed!
I have this task that creates a service:
Target Name="InstallService" DependsOnTargets="CopyFiles"
Exec Command="sc \remotecomputer create "ServiceHost" binPath= "E:\ServiceHost.exe" DisplayName= "ServiceHost""
WorkingDirectory="c:\" ContinueOnError="false" /
/Target
The problem is that when I run this script it doesn't know the \remotecomputer.
How do I completely disable the max-execution-time for scripts in flex? The configurable max is 60 seconds, but I'm calling off to other interactive processes which will probably run much longer than that. Is there an easy way to disable the maximum script execution time across my entire application?
I have the below line in the unix shell script. I want to exclude test.jar in WEB-INF/lib being added to the CLASSPATH. How can i do it?
for file in WEB-INF/lib/*jar ;
do
CLASSPATH=$CLASSPATH:$PWD/$file
done
I'm writing a cross-platform python script that needs to know if and where Cygwin is installed if the platform is NT. Right now I'm just using a naive check for the existence of the default install path 'C:\Cygwin'. I would like to be able to determine the installation path programmatically.
The Windows registry doesn't appear to be an option since Cygwin no longer stores it's mount points in the registry. Because of this is it even possible to programmatically get a Cygwin installation path?
I would like to implement a Python script which has the same functionality as http://www.greymagic.com/security/tools/decoder/
Is the encoding rule open for this type of javascript code encoding?
Thanks.
I want to run scheduled nightly exports of my database code into my SVN source.
It's easy to schedule automated check-in's into svn from a folder, but scheduling the export from SQL in SQL Management Studio is
Right click target database, choose Tasks Generate Scripts.
Follow the wizard and presto you've got scripts in a folder.
Is it possible to extract a single script that the wizard generates, and stuff that into a stored proc which I can run nightly?
Ideas?
Hey!
I have a cool bit of dojo running where I click a button - and it brings a success message on the screen via javascript. Is it possible to issue a call to a server side Groovy script foo.groovy from within this Javascript - because not only do I want to show the cool success message - but I need to do some work in the background at that point also.
Thanks
Andy
Say I have file A, in middle of which have a tag string "#INSERT_HERE#". I want to put the whole content of file B to that postion of file A. I have tried using pipe to concatenate those contents, but I'm wondering if there is more advanced one-line script to handle it.
Thanks.
I've got several script.aculo.us Ajax.Autocomplete controls on a page and when the drop down div is rendered it's always stuck behind the other text boxes on the page, no matter what I do with zIndex and positioning. The problem occurs in IE and FF. Anyone else run into this? Am I missing something, or is this just life with this control?
In a UNIX shell script, what can I use to convert decimal numbers into hexadecimal? I thought od would do the trick, but it's not realizing I'm feeding it ASCII representations of numbers.
printf? Gross! Using it for now, but what else is available? :)
On executing a PowerShell Remote Script I am getting an error like following
Invoke-Command : Exception calling "ToXmlString" with "1" argument(s): "The requested operation cannot be completed. Th
e computer must be trusted for delegation and the current user account must be configured to allow delegation.
The exact line of code the execution is breaking is as follows:
$rsa = New-Object System.Security.Cryptography.RSACryptoServiceProvider
$key = $rsa.ToXmlString($true)
Can anybody help me to resolve out the issue??
Hey!
I have a cool bit of dojo running where I click a button - and it brings a success message on the screen via javascript. Is it possible to issue a call to a server side Groovy script foo.groovy from within this Javascript - because not only do I want to show the cool success message - but I need to do some work in the background at that point also.
Thanks
Andy
Hi, I'd like to know how to convert a file into PDF when I'm programming in VB. Do you have the script or if there is a pre-defined function, what is it's name?
Thanks
hi
I have the following script that replace a param to b param and match only the c parameter in line
how to change the perl syntax: "if /$c/" in order to export c param to the follwoing perl syntax
!/bin/bash
export a='@d&'
export b='new text'
export c='bla bla'
echo $c | perl -pe 'next if /^#/; s/(^|\s)\Q$ENV{a}\E(\s|$)/$1$ENV{b}$2/ if /$c/'