Hello guys
I have an Ubunto system with hudson running as a daemon with an init (start/stop) script.
Unfortunately every time I'm trying to run a build, hudson fails to access the pom file,
since hudson is running under hudson user,
rather then the current user logged into ububntu that has full root rights and can run build. I tried add...
How would I get just the filename without the extension and no path?
The following gives me no extension but I still have the path attached:
source_file_filename_no_ext=${source_file%.*}
...
I wrote in Acrobat a script to automatically add links inside a pdf.
The part of the script doing this looks like:
l = addLink(0, x1, y1, x2, y2);
l.setAction("this.getURL('http://my-url.tld/')");
The problem is that I must have that link in the form of a Weblink not a simple link.
The action attached to the link has to be "Open a w...
I have about 20 CSV's that all look like this:
"[email]","[fname]","[lname]","[prefix]","[suffix]","[fax]","[phone]","[business]","[address1]","[address2]","[city]","[state]","[zip]","[setdate]","[email_type]","[start_code]"
What I've been told I need to produce is the exact same thing, but with each file now containing the start_code...
I have an MFC application.
What scripting library can I use to give users to access my application via scripting?
Can I do something like:
Use JavaScript + MFC and build a front-end using JavaScript and mini-HTML viewer in a single EXE?
Maybe this question should be:
I like server-side JavaScript and MFC/C++. Can I compile an embedde...
What I'm looking for is a scripting engine for Java that would allow users to write simple scripts to control the behavior and events for a game. Something that:
is simple - something easy to pick up, especially for people with some basic programming/scripting experience
provides lots of control - I can easily start/stop/pause scripts ...
I have a really convoluted website that I need to work on. I was thinking on creating a single "home" php file that includes the main stuff (menu, sidenav, head, etc) and inserting the content for every page. I already have the content from all the pages separated so I have a duplicate of the site where all the html files have only the i...
I'm faced with an interesting task:
Our transport guys have to monitor a 3rd-party webpage the entire day, clicking every 5 seconds on a button, to refresh the page and get available transport slots. The slots section is only updated when the button is clicked. When slots become available, the available slot label changes from "0" to "1...
hi,
i managed to send multiple emails (check here).i am stuck with sending automated emails via cron.
This is what i need - while the admin send emails, i store the message, emails, event date in the database. now i am trying to set a cron job to send emails to all these ids from the table with the message i have as a reminder. i am ...
Hi all,
I'm writing an app which must download other apps and EXECUTE them from the documents folder.
One of the approaches I was thinking about is to use a bash script like the one in installous which unzips the app and copies whatever whenever it's needed.That way I can install it,but not execute it.
So I was wondering if there is a ...
I would to take in some login information for a script have written in to be used by many users. In python I set the input_raw to read from dev/tty but it fails horribly when i am connecting to the script being run on a server through ssh.
Thoughts? Workarounds?
I would prefer to avoid hard coding usernames into the script.
Please and...
I was hoping to know if there is a way to run a particular script, if and only if the build is successful. So if the build fails the script doesn't run.
Please and thank you.
...
I work in a company where we use a lot of Oracle databases, which are used by our in-house software. The database is updated as the software changes and these updates are put in PL/SQL Scripts. We have clients that are still running older versions of our software and so have 'older' versions of our database.
Now when we upgrade a cli...
I have written several scripts for my hudson builds. I have place them in the workspace of the particular job i am working on.
I was hoping to know where the best place to put the scripts. Is somewhere in the file system then best place? What if we move build machines? Does hudson designate a place for scripts?
Please and thank you.
...
Hello, I have some script, that uses files in directories around it. It uses
dirname $0
command.
And it should work from any directory from where I will run this script, but when I run symbolic link that points to that script, I get the path of symbolic link like an output of dirname rather than the path of the script itself.
Any on...
I'm currently in the process of adding the ability for users to extend the functionality of my desktop application (C++) using plugins scripted in python.
The naive method is easy enough. Embed the python static library and follow any number of the dozens of tutorials scattered around the web describing how to initialize and call python...
Hi all,
I need to generate 12 digit Hex numbers in KSH on Solaris
Thanks
...
I am writing a script to automate the process of setting up a bunch of Mac's in a computer lab.
Each system is uniquely identified and I need a method of patching a plist file in several locations with the same string that will be read from the user in the script which is a bash script
The original string is always the same. The patchi...
Problem: how to automate a Generate Scripts in SQL2008 Management Studio:
ie right click on database, Tasks, Generate Scripts
All Tables
All Stored Procs
Create drop statements
Don't use USE statement
Generate data
This is a 20sec process to do by hand.. needs automating :-) I don't really want to code it in C# in SQL Server Manag...
I have a powershell script that runs during an msbuild process and validates some stuff by extracting info from log files.
The script loads 2 xml files and then does some validation from the data extracted from the log files. Usually the script takes on average 1 to 2 seconds to run. Loading the xml files takes around 800ms to run. Sinc...