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
/** @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 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 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 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 <[email protected]>, 09 2013 | |
// * | |
// */ | |
#endregion |
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
#region copyright | |
/*The MIT License (MIT) | |
Copyright (c) 2015 Stephen Reindl | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Reflection; | |
using System.Text; | |
using System.Threading.Tasks; | |
using RazorEngine; | |
namespace ConsoleApplication1 | |
{ |