This file contains hidden or 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
| /** @param {NS} ns */ | |
| export async function main(ns) { | |
| ns.disableLog("scan"); // ignore scan log messages | |
| const servers = scanAllServers(ns); | |
| for (const hostname of servers) { | |
| rerunScriptsOnHost(ns, hostname); | |
| } | |
| } | |
| /** Helper to get a list of all hostnames on the network |
This file contains hidden or 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
| require 'asciidoctor/extensions' unless RUBY_ENGINE == 'opal' | |
| MAP_CHARS = { | |
| '@,,' => '„', | |
| '@,' => '‚', | |
| '@´´' => '“', | |
| '@´' => '‘', | |
| }; | |
| class ReplaceSubsProcessor < Asciidoctor::Extensions::Postprocessor | |
| FindReplacementTokensRx = /@(,,?|´´?)/ |
This file contains hidden or 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
| public static class SessionMessage | |
| { | |
| private const string SessionKey = "TL:MSGLIST"; | |
| /// <summary> | |
| /// The type of message to be displayed | |
| /// </summary> | |
| public enum MessageType | |
| { | |
| /// <summary> |
This file contains hidden or 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
| #region copyright | |
| // /* Copyright (C) think2infinity LLC - All Rights Reserved | |
| // * | |
| // * TimeJack | |
| // * | |
| // * Written by Stephen Reindl <stephen@think2infinity.com>, 09 2013 | |
| // * | |
| // */ | |
| #endregion |
This file contains hidden or 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
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Reflection; | |
| using System.Text; | |
| using System.Threading.Tasks; | |
| using RazorEngine; | |
| namespace ConsoleApplication1 | |
| { |