20090317

vmdk to vdi lotec

&nbsp;<strong>Vorchak</strong>&nbsp;said:
I personally prefer the speed of VirtualBox, but so far I have encountered many issues with USB and sound drivers.
BTW, to convert from vmdk to vdi use Gparted:&nbsp;<a href="http://gparted.sourceforge.net/" style="color: rgb(0, 0, 255); ">http://gparted.sourceforge.net/</a>
1-Get the iso image, and mount it in the VM or VB as a cdrom.<br>2-Create a new VDI disk and add as secondary in VMware<br>3-Boot VM from CDROM<br>4-Use Gparted to reduce the size of the partition in vmdk disk if necessary<br>5-Copy partition from vmdk disk to vdi disk<br>6-Shutdown VM and change vdi to primary disk<br>
on June 10, 2008 10:21 AM

20090316

dussss


CASCADE: Delete or update the row from the parent table and automatically delete or update the matching rows in the child table. ON DELETE CASCADE is supported starting from MySQL 3.23.50 and ON UPDATE CASCADE is supported starting from 4.0.8. Between two tables, you should not define several ON UPDATE CASCADE clauses that act on the same column in the parent table or in the child table. 
SET NULL: Delete or update the row from the parent table and set the foreign key column or columns in the child table to NULL. This is valid only if the foreign key columns do not have the NOT NULL qualifier specified. ON DELETE SET NULL is available starting from MySQL 3.23.50 and ON UPDATE SET NULL is available starting from 4.0.8. 
If you specify a SET NULL action, make sure that you have not declared the columns in the child table as NOT NULL. 
NO ACTION: In standard sQL, NO ACTION means no action in the sense that an attempt to delete or update a primary key value will not be allowed to proceed if there is a related foreign key value in the referenced table. Starting from 4.0.18 InnoDB rejects the delete or update operation for the parent table. 
RESTRICT: Rejects the delete or update operation for the parent table. NO ACTION and RESTRICT are the same as omitting the ON DELETE or ON UPDATE clause. (Some database systems have deferred checks, and NO ACTION is a deferred check. In MySQL, foreign key constraints are checked immediately, so NO ACTION and RESTRICT are the same.) 
SET DEFAULT: This action is recognized by the parser, but InnoDB rejects table definitions containing ON DELETE SET DEFAULT or ON UPDATE SET DEFAULT clauses.

mysqldump -u[USERNAME] -p[PASSWORD] --add-drop-table --no-data [DATABASE] | grep ^DROP | mysql -u[USERNAME] -p[PASSWORD] [DATABASE]

sfc

I don't see what private folders has to do with this. Do you have a link to
your source of info or is this just more wrong answers? I would suggest the
op do: start, run, type in: sfc /scannow, hit ok.
This will fix/replace any corrupted system files.
--
map{ map{tr|10|# |;print} split//,sprintf"%.8b\n",$_}
unpack'C*',unpack'u*',"5`#8<3'X`'#8^-@`<-CPP`#8V/C8`"

creating shortcuts from WSH with javascript

made a little function in jscript (run with wsh or csh cscript wscript) to create windows shortcuts automatically to the desktop,...


might still be a bug in it for targetpath, but it works kinda good already ;)

//createShortCut ("shortcutname","c:\windows\notepad.exe","c:\temp\somefile.txt","c:\temp")

function createShortCut(name , target, args, wdir) {

var shell = WScript.CreateObject("WScript.Shell");

var dpath = shell.SpecialFolders("Desktop");

var short = shell.CreateShortcut(dpath + "\\" + name + ".lnk");

short.TargetPath = '"'+target+'" '+args;

short.WorkingDirectory = wdir;

short.WindowStyle = 0;

short.IconLocation = target+",0";

return(short.Save());

}



                     The following special folders are available:

  • AllUsersDesktop

  • AllUsersStartMenu

  • AllUsersPrograms

  • AllUsersStartup

  • Desktop

  • Favorites

  • Fonts

  • MyDocuments

  • NetHood

  • PrintHood

  • Programs

  • Recent

  • SendTo

  • StartMenu

  • Startup

  • Templates

                     

--
map{ map{tr|10|# |;print} split//,sprintf"%.8b\n",$_}
unpack'C*',unpack'u*',"5`#8<3'X`'#8^-@`<-CPP`#8V/C8`"