Look at this makefile, it has some sort of primitive progress indication (could have been a progress bar).
Please give me suggestions/comments on it!
# BUILD is initially undefined
ifndef BUILD
# max equals 256 x's
sixteen := x x x x x x x x x x x x x x x x
MAX := $(foreach x,$(sixteen),$(sixteen))
# T estimates how many targets ...
Hi there,
I'm trying to find a way to determine the difference between two strings in my script. I could easily do this with diff or comm, but I'm not dealing with files and I'd prefer not to output them to files, do the compare and read it back.
I see that comm, diff, cmp all allow to pass either two files OR a file and standard input...
I am writing some javascript to be executed by the Windows Scripting Host, and I need to be able to read the shared file counts from the registry for certain specific DLLs. The registry key and values look like this:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SharedDlls]
"C:\\Program Files\\Common Files\\ACME Corp\\...
The environment: I am working in a proprietary scripting language where there is no such thing as a user-defined function. I have various loops and local variables of primitive types that I can create and use.
I have two related arrays, "times" and "values". They both contain floating point values. I want to numerically sort the "ti...
This is the URL.
http://www.tumblr.com/
I think that its based on prototype, and is using an XML as a configuration file.
Any idea?
I'm needing and script like this, with a caption bar at the bottom.
Thanks!
PD: This is de code on at the source:
<div id="featured_tumblelogs" style="margin-bottom:25px;">
<a href="http://hrrrth...
I'm using google docs, and some templates we are using were created using MS-Office.
The resulting HTML is fat and ugly, and the 500KB per doc limitation on google makes some cleanup mandatory.
I was able to find redundant "style" attributes and move them to some CSS class, and rename the most redundant classes names to shorter ones, whi...
Greetings,
Most of the information I see around concerning the construction of Proxies for objects assume that there exists a Type somewhere which defines the members to be proxied. My problem is: I can't have any such type.
To make the problem simpler, what I have is a dictionary that maps strings to objects. I also have getters and s...
Is there any scripting library for Audacity?
Specifically, I'm looking for a way to give it a long mp3 file podcast.mp3 and have it split into files of, say, 10 minutes each: podcast0.mp3, podcast1.mp3 etc...
I don't want to do this manually, since I want to run all the podcasts I listen to through this script.
Some background:
...
I think this question is rather easy for you shell scripting monsters.
I am looking for the most elegant and shortest way to create symbolic links to shared libraries for Unix by means of a bash shell script.
What I need is starting out with a list of shared library files such as "libmythings.so.1.1, libotherthings.so.5.11", get the sy...
[The only similar question I can find was answered long ago and contains a reference to mostly IronPython. I want to consider other options as well]
We have a complex data analysis application written in C#. The application should provide users with a sophisticated means of customizing their data analysis tasks. Currently, we use a mixt...
Using Windows 2003, I'm look for a way to create a "logoff script" that will continue with the current logoff then immediately login another user. So, "UserA" logs off. Script fires to login "UserB".
This is part of an application upgrade for a computer where we have written the 'shell'; similar to a kiosk application. For the upgr...
I have a simple HTML (as HTA) application that shows strange behavior on Windows XP x64 machine. I getting periodically (not every time) error message "Access is denied." when i start the application. The same application on Windows XP 32bit runs just fine...
Does somebody has any idea or explanation?
Error message:
Line: 18
Char: 6
Er...
Is it possible to auto-discover parameters to shell/Perl scripts in order to "meta" program WEB UIs for them?
I have a bunch of "legacy" scripts that I'd like to "web wrap".
So far I have created a CGI-BIN web app with about 3 parameters that can call a bash/Perl reporting script.
But it now occurs to me maybe there is quicker or aut...
Hi.
Python 2.5.1
http://www.cgsecurity.org/wiki/After_Using_PhotoRec
I've just run PhotoRec and the code given as a way to sort file types into their own folder is coming back with this error. Any suggestions on how to alter? Thanks :
[EDIT2: Two points:
This question was voted down because it was a 'usage' of code, somehow not a p...
Hello!
I have written a small Perl script and now I would like to create a test suite for it. I thought it would be nice to be able to use the script as a module, import the subs defined in the script and test these. Is there a way to have the script both standalone Perl script and Perl module? (I do not want to split the script into a ...
Please list GUI programming libraries, toolkits, frameworks which allow to write GUI apps quickly. I mean in such a way, that
GUI is described entirely in a human-readable (and human-writable) plain text file (code)
code is terse (1 or 2 lines of code per widget/event pair), suitable for scripting
structure and operation of the GUI is ...
I recently asked this question and worked out that the reason a single email message is displaying out of order is not in fact because of the date, but because of the order of the messages. I would like to modify my script to make sure all messages are in the correct order, but am unsure how to do this. Is it just based on the order in w...
I'm trying to write a script in VB, but I'm not finding any good tutorials or references to start from. It's something relatively simple (playing a song whenever it reaches a certain time), but most of the stuff that I'm finding is more geared towards embedding the scripts into webpages.
Do you have any suggestions for some good refere...
Let's say I have an existing application written in Java which I wish to add scripting support to. This is fairly trivial with Groovy (and just as trivial in .Net with any of the Iron range of dynamic languages).
As trivial as adding the support is, it raises a whole host of questions about script execution and security - and how to imp...
I would like to run a bat script on one of the machines on the domain, from my asp.net application. Machine with the batch script is a temporary storage machine, and script synchronizes it with the permanent storage machine. So, what is the optimal way of doing this?
The thing I tried is to use PsExec to run a script on the remote machi...