My trunk has struct:
\trunk
----\data
----\src
----\tool
with \tool is external to another place, not in my trunk. So i don't want user commit to \tool in SVN. They can only commit to \data or \src.
Can anybody help me to create a hook script to prevent user commit to external (in this case is \tool folder).
...
I was working on a fairly long script that seemed to stop running after about 20 minutes. After days of trying to figure out why, I decided to make a very simple script to see how long it would run without any complex code to confuse me.
I found that the same thing was happening with this simple infinite loop. At some point between 15 an...
Hi, I need to create an installer for a Mac application that not only unpacks the information but executes an script before unpacking the information. Also I want an interactive application that asks for some parameters during installation.
Do you know any tool to do that staff?
Thanks!
...
I would like to create 1000+ text files with some text to test a script, how to create this much if text files at a go using shell script or Perl. Please could anyone help me.
...
Hi! I am working in a Vim script. One of my functions needs a temporal display like the one you get when typing ":clist". I don't want a whole new buffer since I am so lazy that I prefer typing just one key to delete the info.
I am stuck with the syntax highlighting of the echo command. I want to apply a whole syntax file but so far I'v...
How to get the current username in Windows Powershell?
...
cat hosts.txt | while read h; do telnet $h; done
When I run this, it telnets to first host which denies the connection but then exists instead of looping over the other hosts in the file.
Why is it exiting the loop after the first host and how can I fix it?
Thanks.
...
Hi,
I have a file below :
line1
line2
line3
And I want to get
prefixline1
prefixline2
prefixline3
I could write a ruby script but it is better if I don't need to.
EDIT:
prefix will contains / , it is a path , /opt/workdir/ for example.
...
Hi,
I'm trying to run a SQL script against SQL Server 2005 as part of the set up for my integration tests. The script works perfectly fine if I execute it from within SQL Server Management Studio. However, when executing programmatically, this part of the script that enables full-text search refuses to work:
-- lots of tables and index...
Hi Experts,
I am using the below script for generating a DDL to create tablespaces in the database.
select 'create tablespace ' || df.tablespace_name || chr(10)
|| ' datafile ''' || df.file_name || ''' size ' || df.bytes
|| decode(autoextensible,'N',null, chr(10) || ' autoextend on maxsize '
|| maxbytes)
|| chr(10)
|| 'default...
I want to write a loop in bourne shell which iterates a specific set of numbers. Normally I would use seq
for i in `seq 1 10 15 20`
#do stuff
loop
But seemingly on this Solaris box seq does not exist. Can anyone help by providing another solution to iterating a list of numbers?
Thanks,
Chris
...
In bourne shell I have the following:
VALUES=`some command that returns multiple line values`
echo $VALUES
Looks like:
"ONE"
"TWO"
"THREE"
"FOUR"
I would like it to look like:
"ONE" "TWO" "THREE" "FOUR"
Can anyone help?
...
We're using TFS 2008 for our source control. We're currently doing embedded work so our actual build process is using Analog Devices VisualDSP++ IDE. However, we do still use labels on TFS. What I had hoped was for the ability to have a script run when a label is applied. The idea here is to update version information in some data files....
We have an automated testing cluster based on selenium-grid.
To manage the cluster, I have built a collection of Rake (Ruby) tasks which can start, restart, ping, and stop nodes. I'm testing our application across a number of browsers including IE6, IE7, and IE8. This means each node in the cluster has to be aware of which version of IE...
Hi,
Is there an example for a project a GUI fro script generation?
The idea is to let a non-programmer use a front end to enter command and simple logic that will translated to runnable
scripts.
The programming language does not meter.
thanks
...
What would be the best solution to check (from the command line with a script), if a certain xml file contains this line:
<endpoint uri="endpoint.php" class="flex.messaging.endpoints.AMFEndpoint"/>
or this line
<!-- <endpoint uri="endpoint.php" class="flex.messaging.endpoints.AMFEndpoint"/> -->
and stop execution if the second one ...
Hello!
There are many scripting language communities claiming that the language can be used for everything but in fact, nearly everybody uses it for one specific thing, e.g.: web development. If I take a look at Ruby, for example, they tell you its general-purpose but actually everybody is using it with rails for web development only..
...
I am trying to use Luaplayer HM v2 on my PSP, but I am unable to make a simple Helo World app.
I have tried a lot of thing's but it simply doesn't work.
All tutorials, app that I found are for LuaPLayer, I cannot find anything for Luaplayer HM v2.
Please help me I need some tutorials or sampels for Luaplayer HM v2.
Luaplayer app don't...
I want to write a shell script to compare two .csv files. First one contains filename,path the second .csv file contains filename,paht,target. Now, I want to compare the two .csv files and output the target name where the file from the first .csv exists in the second .csv file.
Ex.
a.csv
build.xml,/home/build/NUOP/project1
eesX.ja...
How can I take the output of hg history and convert it into a dot file?
...