I'd like to script the clean shutdown of an HSQLDB 2.0.0-rc9 "Listener" (server).
Is there a way to interrogate an HSQLDB server to determine the catalogs (databases) it is currently serving, either via sqltool or HSQL client programming?
Background: If I understand correctly, safely shutting down an HSQLDB "Listener" process (an org....
I have a bunch of text files that are encoded in ISO-8851-2 (have some polish characters). Is there a command line tool for linux/mac that I could run from a shell script to convert this to a saner utf-8?
...
Is it better practice to write Bash scripts or Bourne scripts? My team writes Bourne scripts but I am not entirely sure why.
If this is a holy war question (ie: vim vs. emacs) please just reply: holy war.
...
I already posted a question closely related to the this one. I watched the Mix10 video with P. Haacked and S. Hanselman.
I am building an AJAX-powered site whose input forms are created on the fly.
All the code to accomplish this is done within a script tag or a javascript file. For example the following DOM elements are created when t...
This command:
keytool -import -file "$serverPath/$serverCer" -alias "$clientTrustedCerAlias" -keystore "$clientPath/$clientKeystore" -storepass "$serverPassword" -noprompt
Will when it runs successfully outputs: Certificate was added to keystore
I tried redirecting the stdard out with:
keytool ... > /dev/null
But it is still prin...
I have an existing IDA Pro project for a C166 processor embedded application. This project already has many functions, variables, etc defined.
There are different versions of the embedded application I am looking at. The different versions of the application are 99% the same, but with slight variations in code and data that cause functi...
The keytool does not resolve impartial directories. Ie this works:
keytool -keystore "/users/me/Desktop" ...
This doesn't:
keytool -keystore "~/Desktop" ...
Is there something that I could call like this:
keytool -keystore "$(<cmd> ~/Desktop)" ...
Update
I guess I should actually be more specific:
This is really what I am doi...
Hi ..When I run this command netstat -t 1 -i 2>&1 > $NETStat_OUT_FILE & inside a script , the output of netstat does not get redirected to the file.. Could any one find a solution for this ?
...
Hi
I have a file that has a single column of numbers. I have to subtract value in row1 from value in row2, row3-row2; row4-row3 , row5-row4 and so on for all the rows . Could anybody help me out with this ?
...
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
...
I wrote a script which can auto commit in every 10 minutes. But it's commit message always same ("Code saved"). But i want to change some of them which are milestone.
This is my auto commit script:
cd c:\inetpub\wwwroot\siteCodes
svn commit -m "Code Saved"
How can i write a script which can give me a chance to write revision number a...
I have these 2 scripts and the problem is that function check is called only if #hotel state is changed.
How can I make function check run and in the case of #hotel doesn't change.
var hotelMap = { hotel_a: 15, hotel_b: 5, hotel_c: 10 }; //Edw mporeis na allazeis to release period gia kathe ksenodoxeio
$(function() {
$('#hotel').cha...
I need to have a script execute (bash or perl or php, any will do) another command and then exit, while the other command still runs and exits on its own. I could schedule via at command, but was curious if there was a easier way.
...
Hi,
I am working in a project where we are using a custom scripting language. I am looking for a documentation system such as Doxygen so that I could process the many script files that have been developped with this scripting languages.
My basic needs are:
to generate automatic documentation,
to extract the calls graphs and establish ...
Hi,
I want to pass a command to a shell script. This command is a grep command. While executing I am getting the following errors, please help:
myscript.sh "egrep 'ERROR|FATAL' \*20100428\*.log | grep -v aString"
myscript.sh is a simple script:
#!/bin/ksh
cd log
$1
the errors are:
egrep: can't open |
egrep: can't open grep
egre...
I have a little command line tool that reads from stdin.
On the command line I would run either...
./foo < bar
or ...
cat bar | ./foo
With a gziped file I can run
zcat bar.gz | ./foo
in Python I can do ...
Popen(["./foo", ], stdin=open('bar'), stdout=PIPE, stderr=PIPE)
but I can't do
import gzip
Popen(["./foo", ], stdin=gzip...
Hi,
I am trying to create web sites from IIS manager. I already have few web site and Application pools. I want to add few more and this is gonna happen again in future. So what i need right now is i want to inherit the properties of previously created web site and apppool to this new website. I mean how can i inherit the properties fr...
My Ruby script is running a shell command and parsing the output from it. However, it seems the command is first executed and output saved in an array. I would like to be able to access the output lines in real time just as they are printed. I've played around with threads, but haven't got it to work. Any suggestions?
...
Hello i am learning python(so i can use qt with python not only c++) and i'm curios if it would be possible to embed a python interpreter in my application
as a repl. I would like to give users to possibility to script the app using python either loading a file (and that file to act as a plugin for the app) or by evaluating code entered ...
Hi guys, i came across a scenario where giving a <script> element an "ID" would solve a problem easily. However, after reading about the script tag at w3schools and quirksmode, it seems doing so could have some unforeseen consequences. Has anyone come across any of these issues with modern browsers such as Chrome, Safari, FF3 up and IE 7...