Skip to content

Instantly share code, notes, and snippets.

View nagaozen's full-sized avatar

Fabio Zendhi Nagao nagaozen

View GitHub Profile
BACKUP DATABASE {$database}
TO DISK = '{$path}'
WITH FORMAT,
NAME = '{$description}'
GO
RESTORE DATABASE {$database}
FROM DISK = '{$path}'
GO
//positions an input over an object to edit it inline
var EditInline = new Class({
Implements: [Options, Class.Occlude, Events],
Binds: ['edit', 'mouseenter', 'mouseleave', 'esc'],
options: {
//onEnter: $empty,
tag: 'input',
hoverClass: 'edit_highlight',
activeClass: 'edit_activated',