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
def ipv4_to_uint32(ip_address: str) -> int: | |
"""Convert an IPv4 address string to a 32-bit unsigned integer. | |
This function parses an IPv4 address string and converts it to its | |
equivalent 32-bit unsigned integer representation. | |
Args: | |
ip_address (str): A string representing an IPv4 address in dotted-decimal notation. | |
Raises: |
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
api.Hints.style(` | |
font-family: 'MonoLisa Nerd Font', monospace; | |
font-size: 12px; | |
`); | |
api.mapkey('<Ctrl-d>', 'Scroll down half page', function () { | |
api.Normal.scroll('pageDown'); | |
}); | |
api.mapkey('<Ctrl-u>', 'Scroll up half page', function () { | |
api.Normal.scroll('pageUp'); |