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
#!/bin/bash -e | |
echo "==================================================================" | |
echo "= Updated file with removed 'command' in authorized_keys for root" | |
echo "==================================================================" | |
# github.com/jawj/IKEv2-setup | |
# Copyright (c) 2015 – 2021 George MacKerron | |
# Released under the MIT licence: http://opensource.org/licenses/mit-license |
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
-- Generate temporary table to hold procedure call tree | |
IF OBJECT_ID('tempdb..#procdeps') IS NOT NULL DROP TABLE #procdeps | |
CREATE TABLE #procdeps (id_child INT, name_child NVARCHAR(128), id_parent INT, name_parent NVARCHAR(128), level INT, hierarchy VARCHAR(900)) | |
ALTER TABLE #procdeps ADD CONSTRAINT uk_child_parent UNIQUE (id_child, id_parent) | |
CREATE INDEX idx_hierarchy ON #procdeps (hierarchy) | |
GO | |
BEGIN | |
DECLARE @proccnt INT | |
DECLARE @prevcnt INT |
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
// https://github.com/quilljs/quill/issues/979 | |
interface NestedElement { | |
content: string; | |
indent: number; | |
classes: string; | |
} | |
export function quillDecodeIndent(text: string) { | |
if (!text || text.length === 0) { |