One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| #! /usr/bin/env ruby | |
| # -*- coding: utf-8 -*- | |
| require 'logger' | |
| =begin | |
| WHATIS | |
| * ping monitoring once every 30 secs |
| // https://gist.github.com/stefansundin/9d95826a712096b24ae2 | |
| // https://devblogs.microsoft.com/oldnewthing/?p=3023 | |
| // gcc -s -o clop clop.c | |
| // Usage: | |
| // clop | gpg -v | |
| // clop /u = output is printed in Unicode | |
| // clop /a = output is printed in ANSI | |
| // otherwise, output is printed in OEM codepage |
| #!/bin/sh | |
| # This script will install the files below. | |
| # Please look through them first so you know what will happen. | |
| # Install by running this command: | |
| # curl -fL https://gist.githubusercontent.com/stefansundin/7003429/raw/install-kbd-backlight.sh | sh | |
| # Uninstall with: | |
| # sudo rm /opt/kbd-{backlight,lock}.sh /etc/pm/sleep.d/70-kbd-backlight | |
| # rm ~/.config/autostart/kbd-{backlight,lock}.sh.desktop |
| <!-- | |
| =============================================================================================== | |
| Borland.Common.Targets | |
| WARNING | |
| DO NOT MODIFY unless you have made a backup of these files. Modifying | |
| this file unless you have knowledge about MSBuild you could cause problems | |
| when loading or building projects in the IDE or building from the |
| unit UTestRecord; | |
| // By Andreas Toth | |
| // | |
| // NOTE: The greatest mistake when using $IF is to use $ENDIF instead of $IFEND | |
| // when writing code meant to be backwards compatible as $ENDIF is not | |
| // supported by older Delphi versions, in particular not Delphi 2007! | |
| // Similary, $IFDEF must be terminated by $ENDIF! | |
| //{$DEFINE INCLUDE_ERROR_E2064_LEFT_SIDE} |
| unit UMyTreeView; | |
| // TMyTreeView by Andreas Toth | |
| // | |
| // This fixes Delphi's TTreeView hint implementation which uses tooltips instead of the application's THintWindow class. | |
| // Note that tooltips not only look different to hints but their widths are limited to 80 characters. | |
| interface | |
| uses |
Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.
| unit UNetworkInterfaceMonitor; | |
| interface | |
| uses | |
| System.SysUtils, | |
| System.Classes, | |
| System.Generics.Collections, | |
| System.SyncObjs, | |
| MSI_Network, |