scripting

Script to execute on CVS check-in, without access to the server?

Is it possible to write a script that executes certain instructions, and is triggered by any check-in to a CVS repository? The script would scan the list of files in the change-set and do a copy operation on certain files in a certain sub-directory. I would hopefully be able to execute various console applications, including ones writt...

Scripting alternatives for the iPhone?

I am making a game that I also want to port to many other platforms, and for this purpose I would like to write some of the game logic in a scripting language to ease porting. I understand Apple are imposing restrictions on interpreted code though, and I wonder if there exists any safe scripting alternative for iOs4 and earlier? I am ...

Is Ironpython suitable for value calculation?

I want to allow the users to define a formula based on two variables. Say I have a Quantity and Value and I want to allow the users of my app to write something like Quantity*20+Value*0,005 in a textbox and pass the result back to the C# app. I thought of embedding the IronPython interpreter in my app, but I'm not sure it's worth the ...

Remote development tools/skripts for Linux?

Hi folks, I do some RTAI development. I have a Server which has a modified Linux-Kernel with RTAI. I'am not the only developer on this server. Are there some tools/scripts which support copying sources to the server and compile/run them? (using SSH/SCP maybe) I'am developing with a simple editor and scripts - so a solution which supp...

References of ALL Properties MsBuild

Where is a complete reference of ALL MsBuild properties ?? Like this $(OutDir) $(OutputPath) $(TargetName) $(TargetExt) ... ...

Command line program for database script extraction

I am looking for a command line program that extracts a script containing commands for creations of all database objects (tables, views, procedures, generators, types). It should work with MySQL, Firebird, Oracle and MS SQL Server. As a part of our automatic build process we would like to put in our SVN repository a script for database...

Batch script command add/change number # in variable name

I have problem with "%_Link%%num%" its not working show up link after load from txt format. I think "%_Link%%num%" is wrong syntax function. but I know %_Link1%,%_Link2%,etc can work... but i want loop that will add/change number # in variable name like "_Link#" changeable number as #. here code below... TEXT FORMAT (NOTEPAD): http://w...

Creating a simple finger application with batch

I would like to make a simple batch application that does two things. Asks the user to input a name, example "vega" Runs "finger [email protected]" and displays the output of that command. The following does the first thing, but I am not able to output the result from the finger. @ECHO OFF :begin echo Enter the name of the ...

Which programming languages can be used to develop in Android?

Possible Duplicate: Which programming languages can I use on Android Dalvik? Mostly, Android applications are written in Java. But i heard that its also possible to use Scala or some other languages. And I also read that it's possible to include native C/C++ code. Is there a refernce/list available that shows which languages ...

Shell Scripting and Intersystems Cache: Extracting Information?

I would like to be able to execute a script to draw out the current cache process information. Has anybody done much scripting with cache? Is there an easier way to basically log the process information? The end result of this is I would like to present this information in a way that I could log it into Splunk ...

Siebel - How to get all accounts of an employee with eScript?

Hi, how can I get all accounts of am employee? In the "Siebel Object Interaces Reference" I found an example, how to get all industries of an account: var myAccountBO = TheApplication().GetBusObject("Account"); var myAccountBC = myAccountBO.GetBusComp("Account"); var myAssocBC = myAccountBC.GetMVGBusComp("Industry"); So I would like ...

Can't use Flash ExternalInterface in Action Script 3.0 on localhost

I have a flash file which captures an image from a webcam and sends it to the server. This file works fine under ActionScript 2.0 but under 3.0 I get an Unspecified Error and the debugger crashes on the return eval in : function __flash__addCallback(instance, name) { instance[name] = function () { return eval(instance.CallFuncti...

how print all the attributes values of the title attributes in all my xml files

I wonder if anybode knows what command or bash-script-code I can use to print out all the values of the title attributes in all my xml files (in current directory). I'm using cygwin and have file names containing white spaces. ( I've been googling around and there are a lot of suggestions on downloading other utilities. If I can avo...

Any way to export an OLE object into an XML file with scripting from ACCESS 2007??

I am trying to output an XML file with an Ole Object from an ACCESS 2007 Database. The receiver is very specific about the format of the XML file. In order to meet the requirements I am using MS scripting. However, when I run the script I get an incorrect procedure error. It is being caused by trying to add the Ole Object because whe...

echo smbpasswd by --stdin doesn't work

I want to make creating a samba password automated but this command doesn't work: echo "passwd"|smbpasswd -a -s $user It shows this error: Mismatch - password unchanged. Unable to get new password. Could you please suggest any option to make my script automated? ...

Which script language interpreters will work on iOS?

For an App that is not going to be released on the AppStore I'm looking to embed an interpreter for easy scripting needs. Since I don't really like to get down with pure C, the interpreter should be an Objective C library. While searching the web I've come across a couple of script interpreters for Objective C but whether those guys wor...

Add or update a configuration record in /etc/environment

Hello, My /etc/environment looks like this: cat /etc/environment PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" I wish to use a command (sed, awk, python, whatever....) that will make it look like this: cat /etc/environment PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"...

NetBeans Post Build Script

I'm using NetBeans 6.8, and I want to run a script to construct an SQLite database with a predefined schema after each build. I don't see any options under Build Configuration. Is this feature not yet supported? ...

How can I get the full change history for an article on Wikipedia?

I'd like a way to download the content of every page in the history of a popular article on Wikipedia. In other words I want to get the full contents of every edit for a single article. How would I go about doing this? Is there a simple way to do this using the Wikipedia API. I looked and didn't find anything the popped out as a si...

How to preserve the "script" tags using .load() method ?

.load() will delete all script tags from the load html content(Both in Chrome and Firefox). But I have to use .load() to refresh part of the web pages and the loaded contents always contain <script src="xxxxxx"></script> and <script> , which cannot be put to external files. Can anyone give some advice? ...