i need horizontal scrolling script in javascript, but don't have much time to write it, so could you give me some links where i can find it?
could you help me please?
I am trying to use Runtime exec() to run a vba script with arguements. I am having trouble passing in the args. I think I need to use the String[] overloaded method for exec.
Currently this works:
String command = "cmd /c \"\\concat2.vbs\""
Process p = Runtime.getRuntime().exec(command);
But I want to run that with arguments and if I do this
String command = "cmd /c \"\\concat2.vbs\" " + arg1 + " " + arg2
where arg1 and arg2 are strings my program doesnt run (status = 1)
I am trying to share encryption between Action Script and C#
My task is to decrypt the following message within C#
f1ca22a365ba54c005c3eb599d84b19c354d26dcf475ab4be775b991ac97884791017b12471000def05bb77bfe9c3a97d44ef78c9449f12daf6e25b61ab1a281
It uses Rijndael encyption , ECB mode (electronic code book), Key: Pas5pr@se , 128 bit key size and block size.
The problem I have is I can't seem to do it, anyone help me on this?
When I run the this select '$(''test'')' in SQL Management Studio 2008 it returns $('test')
When I run sqlcmd -S SERVER -E -d DATABASE -q "select "$(''test'')" on the command line it returns Sqlcmd: Error: Syntax error at line 1 near command '''.
If I remove the dollar sign it works. Is the "$" a special character?
Is this a sqlcmd bug? How can I change the script to get the desired result.
i have some javascript files included in my html file for months. It used to work just fine until couple of days ago, now my scripts don't run anymore and i get javascript error "invalid XML attribute value <script language=JavaScript>\n" with firebug.
Does anyone know what this error means and how to get rid of it? i guess is something about that newline "\n" but i can't see that in my file if i open it.
I am setting up Hudson to run a shell script, which simply copy the workspace to a different folder. I got the following error:
cp: cannot create directory
`/home/u123/Temp/workspace':
Permission denied
My question is, which user Hudson build is running? I installed Hudson as a Ubuntu service according to this page: http://pkg.hudson-labs.org/debian/
Thanks!
I would like to be able to automate creating spreadsheets and adding data to an OpenOffice spreadsheet using a script (any scripting language is acceptable - PowerShell, Python, or even JavaScript).
What is a suitable library or tutorial?
Hi All,
I am writing an application and for this to make it safe I have decided to HtmlEncode and HtmlDecode the data to avoid Javascript Injection and Paramaterised queries to avoid Sql Script injection.
But I want to know whether these are the best ways to avoid these attacks and what are the other ways to damage the application that I should take into consideration.
I need an script for generating crossword game. I have a list of 8 words for which I wnat to generate a crossword game, let's say for 15 column and 15 row.
I am not getting the concept of this problem. How to generate this using PHP ?? Can anyone tell me how to do that ??
Hi all,
I was just wondering whether there are any way (libraries, frameworks, tutorials) to do javascript tracking with another script? Basically, i want to track as the user work with the site, which function gets executed with what parameters and so on, as detailed as possible.
thanks a lot!
Hi,
I am using busybox shell to execute a script which the bash executes when i boot linux using the nfs. Please let me know the correct alternative for this line.
cur_major=$((0x`stat -c %t $dev 2>/dev/null`))
The busybox throws in an error saying "0x" syntax error, which i understand is the problem with the syntax of this line.
Thanks in advance
I bash, how do I convert dos/windows newlines to unix? It must be non-interactive, not like starting vi and typing something in, but a command on the command line that can be put in a script file. The dos2unix and unix2dos commands are not available on the system.
How do I do this with commands like sed/awk/tr?
Hi,
I've been looking at varios scripts for adding automatic rounded corners to a div using jQuery but there are loads of plugins available, none of which seem perfect.
So, does anybody know of a script that is quick to render, supports IE6, anti-aliases and supports opacity?
Any help would really be appreciated, Jon.
So I need a Windows Script that I can tell it a directory to go through and it will parse all sub-directories and while in each subdir, will archive all files with a certain file extension and keep it in the same subdir, then move onto the next one.
What's the best way to go about this? Perl Automation Scripting, AutoIt?
Any sample code you guys can give me?
Hi
I am deleting the previous application using the script which inturn calls my .net app. All i want is to actually delete the folder(entire app1) from start menu (start-Programs-app1-uninstall app1)?
Thanks
Gauls
Can anyone enlighten me why the following won't work?
$ groups
staff btgroup
$ ls -l
total 64
-rw-rw---- 1 sld248 btgroup 26840 Apr 02 13:39 padaddwip.jks
-rwxrwx--- 1 sld248 btgroup 1324 Apr 02 13:39 padaddwip.ksh
$ ./padaddwip.ksh
ksh: ./padaddwip.ksh: not found.
$ echo $?
127
This is nearly identical to another script which works just fine. I can't see any differences between the two in terms of permissions or ownership.
thanks in advance!
Quick yes/no - I'm building an AJAX application and some scripts require authentication. Can I read $_COOKIE['username'] and $_COOKIE['password'] on the server if the PHP script was called via XHR, whether that be $.get() or $.post()?
Side question: Can it also set cookies? Is that considered "good practice"?
I have three movieClips (Columns) and each MovieClip contains diffrent number of child movieclips. I want to drag each child clip to another Columns.
So how can I change the child to another parent in action script 3.0
I have Ubuntu 9.04
Ruby 1.8
Rubygems 1.3.5
In irb,
irb(main):002:0> require 'rubygems'
=> true
In a script
./test.rb
./test.rb:2:in `require': no such file to load -- rubygems (LoadError)
from ./test.rb:2
I think it may have something to do with my PATH, but I am not sure how or what to fix.
I want to copy file a.txt to newDir/ from within a scala script.
In java this would be done by creating 2 file streams for the 2 files, reading into buffer from a.txt and writing it to the FileOutputStream of the new file.
Is there a better way to achieve this in scala? May be something in scala.tools.nsc.io._. I searched around but could not find much.
I need to have the ability to create user accounts on my Linux ( Fedora 10 ) and automatically assign a password via a bash script ( or otherwise, if need be ).
It's easy to create the user via Bash eg:
[whoever@server ]# /usr/sbin/useradd newuser
But is it possible to assign a password in Bash, something functionally similar to this (but automated):
[whoever@server ]# passwd newuser
Changing password for user testpass.
New UNIX password:
Retype new UNIX password:
passwd: all authentication tokens updated successfully.
[whoever@server ]#
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
Hi,
I have enabled Firebug for scipts for my site.
But I do not see any in the Script dropdwon menu.
The Net tab has them listed as ok.
I tried another web site not mine same thing???
Malcolm
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.