You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An example network service with systemd-activated socket in Python. #systemd #python #socket #socket-activation
README
The example below creates a TCP server listening on a stream (i.e. SOCK_STREAM) socket. A similar approach can be followed to
create a UDP server on a datagram (i.e. SOCK_DGRAM) socket. See man systemd.socket for details.
An example server
Create an simple echo server at /opt/foo/serve.py.
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
SQL language injection for PHPStorm which specifically ignores the Doctrine DQL language
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
Mounting VirtualBox shared folders on Ubuntu Server 16.04 LTS
Update 28 July 2019: An updated version of this guide for Ubuntu Server 18.04 LTS is now available. Feel free to check it out.
Update 23 May 2020: This guide is ALREADY OUTDATED and might no longer work with new versions of Ubuntu and VirtualBox. Please consider switching to the updated guide instead. I will no longer respond to the replies to this gist. Thank you.
Mounting VirtualBox shared folders on Ubuntu Server 16.04 LTS
This guide will walk you through steps on how to setup a VirtualBox shared folder inside your Ubuntu Server guest. Tested on Ubuntu Server 16.04.3 LTS (Xenial Xerus)
Disable youtube volume normalization (allow true video 100% volume)
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