I use WinXP, VS 2008 and Team Explorer to connect to Team Foundation Server.
I need to script (e.g. BAT file script) the following:
Get latest version of folder in Team Project.
Check out files of folder in Team Project.
Check in files of folder in Team Project.
My TFSProject is $/Arquitectura/Main/, mapped to the path C:\TFS\Arquit...
I have a long running PHP script that has a memory leak which causes it to fail part way through. The script uses a 3rd party library and I haven't been able to find the source of the leak.
What I would like to do is create a bash script that continually runs the PHP script, processing 1000 records at a time, until the script returns a...
Hi,
I work extensively using the shell. When I continue working on some project one week later, I go to some "folder" and realize that I do not remember what I was doing. Sometimes and before stopping work what I do is:
history > DIRX_HISTORY_20100922
so later I have a look at the commands I used, I can remember much better what I w...
I have 2 machines A and B.
In machine A, I do
echo "Hello World" > /dev/tcp/{Bs_ip}/12345
In machine B, how do I write a script that runs in the background, listens on port 12345, and prints whatever it receives from port 12345 to stdout?
BTW both machines are running Red Hat Enterprise Linux AS 4.
Thanks
...
While installing an application onto a client's server, I would like to make sure that the client (or a future developer for them, etc) does not copy my application and place it on other domains/servers/local servers.
How can I verify that my application is running on the server I installed it on? I do not want any substantial lag in th...
For a project I'm currently working on, I'm looking to embed a scripting engine into my C++ code to allow for some extensibility down the line. The application will require a fair amount of text processing and the use of regular expressions within these scripts.
I know Lua is generally the industry darling when it comes to embedded scr...
I have this piece of sh code here which takes one argument at a time:
#!/bin/sh
clear
if [ $# -eq 0 ]
then
echo -n "There are arguments...Please enter again with the arguments"
echo
exit
elif [ ! -f "$*" ]
then
echo -n "The image file '$*' doesn't exist!"
...
For example I have Assembly1.dll (1.0.0.0) and Assembly1.dll (1.0.0.0), in differents folders and I want to compare differences (if each assembly has the same Classes and each class the same methods, or compare all MSIL code). any APIs for do this?
There are tools, like this http://stackoverflow.com/questions/652432/compare-compiled-net...
Hi,
I'm really new to C++ and I've come across a problem I've not been able to solve by reading documentations.
I want to embed a script language into my c++ application. That language could be javascript, lua or preferably python.
I'm not looking for something like Boost.Python / swig, something that is able to wrap my c++ functions ...
Hi,
I need to back up some large files that are being written to disk by a process. The process is perpetually running, and occasionally dumps large files that need to be moved over the network. Having the process do this itself is not an option, as the process locks out users whilst it is doing file dumps.
So, this runs under a window...
I remember that I saw some resource that allowed to see which technology is used on each website. e.g. in Linux with php and the especially it gave information about the scripts that website utilize. e.g. Google Analytics, Google Adsense, Tribal Fusion, jQuery...
Also it was possible to see all websites that use each (or groups of) tech...
Is there an easy way to swap a file url based on domain name?
I've acme.com & acme.co.uk site domains which require different header graphic but are otherwise identical content. Rather than managing two sets of files and CMS, is there a JS/php script or other method to change the header graphic url dynamically based on which domin name...
I have solution sln, that has many csproj projects.
anyone know a way to programmatically read the list of References of all csproj projects in a VS2008 of sln file?
...
I am screwing around with a tiny script I am making and one thing I am trying to figure out is how to make a perl variable reflect an executable, for example.
$putty = C:\putty.exe;
When ever I run it like this it tells me "C:\ is not recognizable command, what am I doing wrong? I have also tried surrounding it in quotes and no help b...
Earlier I have made a script to grab certain lines from a tabbed delimited text file, first row with each of the following rows into its own .txt file. (so these .txt files are only 2 rows of text)
Then it would move each .txt file by what text it found in the given tab in this case it was (1)(3) (second row - forth tab)
here is the co...
Lets say "textfile" contains the following:
lorem$ipsum-is9simply the.dummy text%of-printing
and that you want to print each word on a separate line. However, words should be defined not only by spaces, but by all non-alphanumeric characters. So the results should look like:
lorem
ipsum
is9simply
the
dummy
text
of
...
I would like to add some scripting support to a Silverlight 4 application that I'm working on. I have the latest stable releases of both IronRuby and IronPython installed on my machine with Visual Studio 2010. I looked at some samples of using the ScriptEngine class with both IronRuby and IronPython. I even got it to work in a small Wind...
I would like to make a script that outputs only the real time value from the time command so I can plot the results. For example time command outputs
real 1m0.001s
user 1m0.000s
sys 0m0.001s
I want to write a script that outputs
60.001
How do I get just real time value from 'time' command in seconds?
...
I have solution sln, that has many csproj projects (P1.csproj, P2.csproj, P3.csproj...).
anyone know a way to programmatically (using scripting-commandline, APIs, or SDKs) read the list of all csproj projects in a VS2008 of sln file?
...
I have an array of urls containing locations of pictures on page load. I need to show them to the user in an <asp:img> with a 5 second time interval.
Can this be done with <asp:timer>, or is there any way to do it?
...