A little “script” to move your mysql database to another Server.
mysqldump -uusername -ppassword database | ssh username_ssh@hostname.com “mysql -uusername -ppassword database“
Sat 23 Feb 2008
A little “script” to move your mysql database to another Server.
mysqldump -uusername -ppassword database | ssh username_ssh@hostname.com “mysql -uusername -ppassword database“
Sat 9 Feb 2008
A small javascript (mootools) for load javascript files.
This is great if you have a lots of javascript and you dont want have your <head> with this javascript.
With this script you can load a javascrip file when you want.
function include_js(file_path){
var js = new Element(’script’)
.setProperties({’src’:file_path,’type’:'text/javascript’})
.injectInside(document.head);
}
Ex.
include_js(’thm/js/calendar.js’);
Sorry, mootools has http://docs.mootools.net/Remote/Assets.js