This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Fixed version from http://azarask.in/verbs/ + replace-all - digi@qr.cz | |
CmdUtils.CreateCommand({ | |
name: "replace", | |
takes: {"what": noun_arb_text}, | |
modifiers: {with: noun_arb_text, in: noun_arb_text}, | |
preview: function( pblock, what, mods ) { | |
// args contains .with and .in, both of which are input objects. | |
var msg = 'Replaces "{$what}" with {$with} in {$in}.'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
makeSearchCommand({ | |
name: "csfd", | |
url: "http://www.csfd.cz/hledani-filmu-hercu-reziseru-ve-filmove-databazi/?search={QUERY}", | |
icon: "http://www.csfd.cz/favicon.ico", | |
description: "Vyhledávání v Československé filmové databázi." | |
}); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Version from http://support.microsoft.com/kb/918992/en-us | |
USE master | |
GO | |
IF OBJECT_ID ('sp_hexadecimal') IS NOT NULL | |
DROP PROCEDURE sp_hexadecimal | |
GO | |
CREATE PROCEDURE sp_hexadecimal | |
@binvalue varbinary(256), | |
@hexvalue varchar (514) OUTPUT |