I'm creating a small ruby script to resize images and save them in a specified directory. I'd like the application to be as transparent as possible.
Is it possible to allow file dropping onto my Ruby script in all platforms? For instance, the user drags a file onto the script, which then takes the file path as an argument and resizes th...
what's a good way to scripting or creating programs unders windows?
...
I am interested to use http://www.phplicengine.com to protect my php code and license my php script but have no clue how good it is. is here a PHPLicengine user who may help me please?
...
Does anyone know how to create a coupon (printable is even better) with HTML & CSS? Forgive the horribly simple question, I don't do much of any web development :)
Thanks in advance.
EDIT: EDIT: Seth posted his answer again, which I accepted, thus I removed the answer from here (it was just a copy of his original deleted post).
...
I have a C application and I want to include a Scripting Language to put certain functionality into scripts. I just have no experience with that and don't know exactly where to start (Still learning C and trying to understand the application).
How does embedding and communication between my app and the scripts actually work? I think I n...
I have the following script running to backup my apache logs
#!/bin/sh
dt=`date +%m%d%Y`
cp /var/log/httpd/domainname/www/error_log /var/log/httpd/domainname/www/oldlogs/error_log$dt
cat /dev/null > /var/log/httpd/domainname/www/error_log
cp /var/log/httpd/domainname/www/access_log /var/log/httpd/domainname/www/oldlogs/access_log$dt
cat...
What's the best way to create scripts for a browser?
I need to parse some html pages on different domains
I am on windows and use firefox most of all.
...
How would you create an installation setup that runs against multiple schemas taking into consideration the latest version of the database updates? Ideally: update a single file with a new version number, then send the DBAs an archive containing everything needed to perform the database update.
Here is the directory structure:
| inst...
I have just started to develop in QlikView so I'm completely a newbie.
The problem that I have is that I need to create a c++ dll that can be used as a custom data source for QlikView, I already created the dll and QlikView can see it, but I don't know how should I do to make my data available to QlikView.
The data that I want to use i...
With bash on linux, how would I write a command to recursively traverse shares mounted, and run commands on each file, to get the file type and size, permissions etc, and then output all of this to a file?
...
Any idea on checking the existence of a folder using ANT? We can check the existence of a file but can we do the same for a folder as well?
...
I'm having a real nightmare trying to do what should be a very simple task. If I embed a static or independent SWF file, it shows up fine on our ModX powered website. However, when it comes to a dynamic SWF (one that references an XML file and image files etc) I just can't get the thing to show up at all.
According to the Flash Menu prog...
Hey everyone,
I'm writing a pretty basic application in python (it's only one file at the moment). My question is how do I get it so the python script is able to be run in /usr/bin without the .py extension?
For example, instead of running
python htswap.py args
from the directory where it currently is, I want to be able to cd to any...
I am trying to design a script for the automation of a very tedious configuration process we had been doing by hand. The configuration process mostly consists of copying files from various ClearCase views, editing their contents in a predictable way, and putting them into a new local tree of directories.
There's also some Protege and ...
I want to load a specific - additional - style sheet when scripting is disabled in the browser.
Is there a nice / clean way to test for that or should I just use a script tag and a document.write() to add the style sheet?
...
Hello everyone,
There are a ton of PHP frameworks out there (i.e. Zend, Seagull, Symfony, CodeIgniter, CakePHP, Yii, Prado) that do a great job of implementing important pieces of a scalable/maintainable website, and I almost always pick one to start building client websites.
As of recently, I've started getting tired of providing cons...
I know web based scripts can be used to identify the charactertics of vistors (display resolution, Java version, OS, architecture, render engine, etc)
But is there anything that could give me amount of system memory resident on the vistors PC?
...
Here's the situation :
I am writing a SH deployment script that will deploy a website with an RSYNC command in CYGWIN. After the installation, I want to send an e-mail to the development team to say that a deployment has been made with some details. I will use "exim" to send the mail from CYGWIN.
The thing is that, exim is only optio...
Hello,
I would like to send an e-mail using CYGWIN.
I have installed exim and want to use the same config as what I have in Outlook at the moment to send the mail (my company SMTP, my own e-mail, etc) without screwing up Outlook in the process.
Is that possible ?
Note that the SH script that will send the mail MUST be installed o...
What I would like to do is something like the following:
#!/bin/sh
EMAIL="-e 's/SOMETHING//g'"
somecommand | sed "$EMAIL"
But I get the following:
sed: -e expression #1, char 2: unknown command: `''
I've tried many variations. I know it just a matter of getting the string quoting right. The reason I'd like to do this is to break...