Hi All,
I currently have a request to build a shell script to get some data from the table using SQL(ORACLE). The query which I'm running return n number of rows.. Is there a way to use something like result set.
Currently , I'm re-directing it to a file, but I'm not able to reuse the data again for the further processing..
Any hel...
I'm using the Publish to Provider option in my SQL Project in Visual Studio 2008. I only check the box to script stored procedures leaving all others unchecked, yet the script produced includes all objects.
Why is this and how do I stop it?
Cheers,
Breandán
...
Hi,
I am developing a Photoshop CS4 script and want to set some of the File Info properties on the open document from within the script.
In other words, I want to do the equivalent of choosing File -> File Info and editing some properties, only via the scripting language (Javascript).
Thank you.
...
Hi all,
I have a project that uses ant to build and ivy for dependencies. I would like to generate the start scripts for my project, with the classpath, based on the dependencies configured in Ivy, especially as the order of dependencies may be important and needs to be preserved from the order in the ivy config.
Has anyone done this ...
Alright,
What Im looking for is a script that would automatically add a date to a .gif, which I can run daily as a cron job. I don't know perl very well, but It seems that Perl & Gimp might be a way to get the job done. Can anyone point me in the right direction so I can create such a script
thanks!
...
Insertion of a file's tag, thus executing the file's code.
Removal of the file's tag.
Insertion of the same file's tag.
Firebug does not seem to acknowledge and does not show the reinserted tag when the file's has already been inserted before. It does upon new insertions, of course.
EDIT: Is this a problem of some kind? (the file...
I have a requirement in a shell script. I get this location information from a text file; it is always valid.
/opt/sasuapps/senny/publish/gbl/SANDHYA/drop1
I need to check if the directory is empty or not which I have done. If the directory is not empty, I need to delete the files and directory under that location.
As a part of sec...
Hi
I have a simple .NET application which runs as Windows Service.
Say it has one Class
MyClass
{
Run(Destination d)
Walk(Destination d)
Wash(Dishes d)
}
I want to create a console application where I would type simple human readable commands
like
run left
walk right
Pretty much like you do in windows console. I wonder wh...
When I execute a Scala script from the command line, a directory named "tmp" is created in my home directory. It is always empty, so I simply deleted it without any apparent problem. Of course, when I run another Scala script, it reappears.
Is there a configuration file/flag by which I can change this behavior?
Thanks.
...
Where does RegisterStartupScript() actually put the JavaScript in the rendered document? We use this extensively to trigger JavaScript from the codebehind, and I've always wondered how the hell this works.
...
How can a PHP script complete a login form to enter the members area (I have a username and password), such that it can send POST data to complete another form only accessible if logged in?
...
Hi,
I have a couple of scripts for which the first part of them looks the same. Function of this part is to identify at which machine the script is being runned and set a couple of variables accordingly. It looks something like this:
ENV=`echo $LOGNAME | cut -c1-8`
if [ $ENV = "vrt3400b" ]
then
echo "Using TEST specific settings...
I am construcing a command in bash dynamically. This works fine:
COMMAND="java myclass"
${COMMAND}
Now I want to dynamically construct a command that redirectes the output:
LOG=">> myfile.log 2>&1"
COMMAND="java myclass $LOG"
${COMMAND}
The command still invokes the java process, but the output is not redirected to myfile.log
Addi...
Hey, I've been looking at the possibility of adding a scripting language into my framework and I heard about Lisp and thought I would give it a go. Is there a VM for Lisp like Lua and Python or am I in the wrong mindset. I found CLISP here, http://clisp.cons.org/, but am not sure if this is what I am looking for.
Can anyone point me in ...
I have asp.net 2.0 c# application.
I have 2 scripts I want to add to a user control's control collection. Instead of adding them one after another, it only opens one script tag and throws the 2 src strings together as strings
string tagLinks = "/Resources/Javascript/js/taglinks.js";
HtmlGenericControl scriptTagLinks = new HtmlGenericCo...
I work as a freelance web dev, and up until now have been ftping my scripts / databases / static files to my web server manually, but I'm finding that is too error prone. So I'm looking for an app to automate uploading new and updated scripts / files / databases / etc. I know a lot of independent devs use WinSCP or Unison, but I don't th...
I add a column of type tinyint and being set to not allow nulls in a table and generate the change scripts. The table has data in it at this time. The script has code that creates a temp table and inserts the data that is in the current table into. It then deletes the old table and renames this temp table to the same name as the origi...
I would like to have a shell script create an entire CDT project on the command line and add it to a workspace. I'm willing to generate the .project and .cproject files myself, but I'd like something that would actually do the adding of the project to the workspace, because that is an opaque binary file that I'd rather not have to mess w...
I have this test page http://thechozenfew.net/projects/write_font.php that generates the text in the input box as a font. Each letter is a different picture, How would i join all these pictures into one image with a php script?
This what i've tried so far but the images appear on top of each other.
Header ("Content-type: image/gif");
...
I received this code from one of those nice people here who are willing to spend their time and energy to share their knowledge with noobs:
Sub ReadLinesFromAFileOneAfterAnother ()
Const ForReading = 1, ForWriting = 2, ForAppending = 8
Dim fso, MyFile, FileName, TextLine
Set fso = CreateObject("Scripting.FileSystemObject")
FileName = ...