I'm just learning about MSBuild and I'm wondering what are some useful tasks people use MSBuild scripts for?
I've gone through the Microsoft documentation, just interested in some real world uses.
I think in the past python scripts would run off CGI, which would create a new thread for each process.
I am a newbie so I'm not really sure, what options do we have?
Is the web server pipeline that python works under any more/less effecient than say php?
I'd like to take a snapshot of my database, make some changes and then use the db compare functionality to identify the changes, and who knows, maybe even generate scripts to make the change.
I'd like to avoid having to backup the current db and restore it as a separate db just to have a "before" snapshot. I'm guessing I shouldn't have to.
Obsviously, I'm clueless about db projects and am looking to be pointed in the right direction.
ty!
Does this mean that it will be looking for index.php and provide the GET variable y with /home/xxx/public_html/control/&x=shell?
http://www.xxx.com/control/?y=/home/xxx/public_html/control/&x=shell
Long story: Website got defaced, and found this b374k script when browsing to one of the page, I am trying to figure out where exactly they injected this script, thus trying to figure out a hint from this url where the scripts resides in.
I tried some "add to favorties" JavaScript scripts.. With IE8, I get an "access denied" (is that even possible to add a bookmark via JS with IE8?) and it just doesn't work with IE6...
Anybody has a good script that works on most browsers?
Thanks!
I need to obtain the String for the file that is being uploaded from forms to store in the database.
I am using the usual form input file element
input type="file" name="some_name"
I found a couple JS scripts that allow me to do useless things like display the string in a dialog box, etc.
I need this as an element on the request object or as a hidden field on my page when the form is posted.
For example, I have a few python scripts, that link together and some libraries for it that need to be imported. I'm trying to reduce it to only one script.
So instead of:
import library.py
Can I just take the coding from library.py and put into the main script?
I have a script that I'm running from the home directory to search for all files called "script.sh" that contain the string "watermelon". It's not finding anything but I can clearly see these scripts in the subdirectories. Could someone please suggest a change to the command I'm using:
find . -name script.sh | grep watermelon
Is there any compiler for C++ that works under W7 and is easy to install, except VC++?
I never get these scripts and linux emulations to work, and really just want to try another compiler.
It's trivial to make a program executable from shell - just put #!/usr/bin/ruby on top, chmod +x it and done. Unfortunately OSX won't let me associate file type with such scripts - it requires its .apps instead. This sort of distinction doesn't seem to exist on other operating systems.
What's the simplest way of making such .app, which would merely execute some arbitrary Ruby code?
Hi folks,
I'm having quite a problem deciding how to serve a few Python scripts.
The problem is that the basic functionality could be generalized by this:
do_something()
time.sleep(3)
do_something()
I tried various WSGI servers, but they have all been giving me concurrency limitations, as in I have to specify how many threads to use and so on.
I only wish that the resources on the server be used efficiently and liberally.
Any ideas?
We are going to publish API documentation on our web site.
The documentation is generated by Doxygen from sources.
The problem is that Doxygen generate weird file names (which is no so good for SEO).
For example, for source file RO4_Languages.h Doxygen generate _r_o4___languages_8h.htm.
Is it possible to change name of generated files?
PS: I know that it possible to change output using 3rd party tools/scripts (awk/sed/perl/etc).
My client wants a flickr kind of site, but people have to pay for registering .And they can restrict their gallery view. Since its a low budget and short term project, I would like to customize some readily available scripts rathar than starting from scratch. Please suggest abt technology,methodologies to be used. Thanks in advance :)
I don't mean scripts or tools for your work project.
I mean actual software for your personal use, such as party organizer, CD administrator, whatever.
I set a view variable in someAction function like this:
$this->view->type = "some type";
When I access this variable inside layout script like this:
<?php echo $this->type ?>
it prints nothing. What's wrong?
My application.ini settings related to layout
resources.layout.layoutPath = APPLICATION_PATH "/layouts/scripts/"
resources.layout.layout = "layout" ; changed 'default' to 'layout'
Hi there,
How to get a script for all tables about all default constraints and indexes from an existing database?
SQL Server Management Studio produces SQL-Scripts with the create table statements and there is no option to dismiss it.
Peace
Ice
So our web server apps need to connect to the database, and some other apps have startup scripts that execute at boot time.
What's the best way to store the name/password for these applications, in terms of
security, e.g. perhaps we don't want sysadmins to know the database password
maintainability, e.g. making the configuration easy to change when the password changes, etc.
both windows and linux solutions appreciated!
I have a scheduled R script running from a windows machine. After it finishes, I wish this script to automatically send an email with some log file attached. Using shell() with some other scripts may be possbile, but I was wondering if there is a better solution within R.
thanks.
in this page:http://api.jquery.com/category/effects/
when you put 'up' or 'down',
the blue border is always in the moddle of the screen,
how to do this .
i have the hotkeys lib:http://www.openjs.com/scripts/events/keyboard_shortcuts/
thanks
Hi,
I was wondering if there is a way to automatically run commands on entering the python shell as you would with the .bash_profile or .profile scripts with bash. I would like to automatically import some modules so I don't have to type the whole shebang everytime I hop into the shell.
Thanks,
I'm looking for a tool that will scan my JSP, HTML and JS files and report whether the scripts are cross browser compatible or not. I'm not really interested in an online tool which I have to enter all my URL's.
I typically write my scripts with a structure like s
#!/usr/bin/python
import stuff
def do_things():
print "FOO"
def main():
do_things()
if __name__ == "__main__":
main()
The problem I have is I'd like to have a logging function that is defined globally and I"m not really sure how to do this. I tried a decorator function but if I define it in main I can't call it from other functions in the script. It seems like something that should be easy to do but not something I have experience with.
For a Java project (with the team of 5-10 developers) should I store my IDE project files (e.g. Eclipse or IntelliJ Idea) in version control system (currently I store only build scripts)? What's the best practice?
PS Do you aware of any tools to automatically generate project files for common Java IDEs according to some descriptor?
I am using Xinha editor with Jquery 1.4.2 and cannot use the UI components in IE 8.
Other browsers work great!
include the following scripts:
jstree also throws a 'data not included' exception (which stumps me since it works without including the xinha library)
Is there a way to find the conflict with Xinha and either work-around or resolve it for IE 8 using 1.4.2 jquery
thanks please let me know if you need more info.
I'd like to run a long rsync command in Cygwin by double clicking on a .sh file in Windows. It must start in the file's containing directory (e.g. /cygdrive/c/scripts/) so that relative paths work. Anyone gotten this to work?
Note: I've just found chere, a Cygwin package that manages Windows context menus (Bash Prompt Here). It might have some clues.