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.
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.
If I'm going to learn programming first time, How i should start?
I don't know programming yet but I'm good at XHTML and CSS. my main aim is to learn first Javascript than second PHP. after having good command in Javascript I'll move to PHP.
Although i can use basic javascript, jquery, PHP scripts in my projects but know i want to learn programming concept and want to get good knowledge.
I am aware that you can generate create scripts to generate database objects, but I am looking a way to generate an update script that compares two different schemas (two mapping files).
That way I can provide my users with easy database updating from any version to the current version.
Thanks!
I have embedded Lua in a C/C+= application. I want to be able to set a timeout value to prevent getting trapped with badly written scripts that can result in infinite loops (or even string searches that take an infinite time to complete).
Basically, I want to be able to set a time interval and if the script fails to complete running at the end of that time interval, I want to be able to kill the Lua script engine (gracefully, if possible).
Anyone knows of best practise way to do this?
Could anyone link me to a sample script that would allow be to resize PNG images containing transparency? Some scripts I tried create a black area in place where the image was transparent.
I had a website made for me a long time ago, and the programmer did it in CakePHP. I'm now editing his scripts.
I added a couple columns to a table, and found that doing saveField() on the new column does not do anything. How do I make CakePHP recognize the new columns?
I'd appreciate your help. I'm not too familiar with CakePHP, so please go easy on me =)
Sites lite faary.com wufoo.com/and theformsite.com help you building forms
But the output tables that being created are password protected as far as i know.
Are there sites/scripts like the above which can make the output visible to all ?
Something like a "guest book" script/form that you can edit the fields
and the output will show immediately ?
Thank you.
I launch script.sh and inside it i want to know what is his name
Is there a standard procedure to know the scripts name ? the idea is to be able to extract the name from teh full path + name contained in $0
Thanks
How can I set my intial variables in a re-usable way? I tried to do this by invoking something like this in my child script:
./init.bash
And inside init.bash:
prod="false"
if [ "$prod" == "prod" ]
then
RUN_DIR=/home/windsor/.scripts/websites
JAVA_DIR=/home/windsor/prog/websitechecker
OUT_DIR=/tmp/
DB="prod"
else
if [ ! -a /tmp/test ]
then
mkdir /tmp/test
fi
DB="mydb"
OUT_DIR=/tmp/test/
RUN_DIR=/home/windsor/workspaces/bash/websites
JAVA_DIR=/home/windsor/workspaces/java/testrun
fi
cd $RUN_DIR
What are the differences between mod_php and cgi php script?
I mean, why it's better (is it?) to use mod_php instead simple php scripts, running them as CGIs?
Thanks
http://maven.apache.org/settings.html As per documentation the user specific settings can be either copied to the .m2 folder or under the maven installation. If a developer changes a machine or gets a new user id, such properties have to be copied manually to these newer machines.
Would it be possible to store user specific setting information in the repository itself (say SVN) and somehow have the mvn scripts load it on startup.
Dear All,
Any help would be appreciated since I really can't figure out what happen.
I made some PHP scripts that are working normal locally, but when I upload into PLESK suddenly the code inside the tag is not being read and the same goes to the HTML code below it (only the html code that is above the php tag is being read).
Thanks before for all your help.
Hi .. im wondering how to make some posted texts be deleted on some certain date/time on a django site. Is it done with scripts to delete content in the database?
Hello,
I want to build a web based admin tools that allow the system admin to run pre-configured commands and scripts through a web page (simple and limited webmin), what is the best approach?
I already started with Ubuntu installing LAMP and give the user www-data root's privileges !!!
as I learned (please check the link) this is a really bad move !!!, so how to build such web-based system without the security risk?
cheers
I am looking for a way to insert javascript code block to end of ASP.NET page.
Page.ClientScript.RegisterClientScriptBlock(typeof(Page), "showVideo", sScript, true);
is appending to body but js codes are always requesting some js files didn't load or some functions are below of the script.
How can i append scripts that i generated dynamically to the bottom of body?
Thanks for your help.
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 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 am new to any scripting language. But, still I worked on scripting a bit like tailoring other scripts to work for my purpose. For me, what is the best online resource to learn Perl?
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,
Hello,
This is my first shot at trying out cgi-perl scripts. I have SSH keys set up between my (root user) local machine and a remote machine. I'm trying to run a command on the remote box and display the output on a webpage hosted from my local machine. The script runs fine from command line however, it throws SSH key error when called from the webpage because the user running the script is apache and not root. Is there a way to get around this issue?
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.
Hi
My zend framework render function returns:
Warning: include(C:\wamp\www\cms\application\modules\default\views\scripts) [function.include]: failed to open stream: Permission denied...
It's being called in a postDispatch function on the controller, but that doesn't matter as no matter where i put it, it fails.
Any ideas? My view and layout are started in the bootstrap. Thanks