Instructions how to install Debian using debootstrap. Below instructions were verified to work with debootstrapping Debian 11.
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
| -- Allow changing a property with by zoom-adjusted amount | |
| function zoom_invariant_add(prop, amt) | |
| amt = amt / 2 ^ mp.get_property_number("video-zoom") | |
| mp.set_property_number(prop, mp.get_property_number(prop) + amt) | |
| end | |
| -- Resets the pan if the entire image would be visible | |
| function zoom_check_center() | |
| local zoom = mp.get_property_number("video-zoom") | |
| local rot = mp.get_property_number("video-rotate") * math.pi / 180 |
This is an example of a socket-activated per-connection service (which is usually referred to as inetd-like service). A thorough explanation can be found at http://0pointer.de/blog/projects/inetd.html.
The key point here is to specify Accept=yes, which will make the socket accept connections (behaving like inetd) and pass
only the resulting connection socket to the service handler.