Enabling multicast DNS (mDNS) on a server allows other hosts on the local network to address the server as <hostname>.local
.
mDNS is disabled by default in Ubuntu Server:
$ resolvectl mdns
Global: no
Link 2 (eno1): no
Enabling multicast DNS (mDNS) on a server allows other hosts on the local network to address the server as <hostname>.local
.
mDNS is disabled by default in Ubuntu Server:
$ resolvectl mdns
Global: no
Link 2 (eno1): no
[Desktop Entry] | |
Name=vscode-right-click-hotfix | |
Type=Application | |
Exec=/usr/bin/env vscode-right-click-hotfix |
#!/usr/bin/python | |
""" | |
Pre-commit hook for git written in Python. | |
Check if there is any migration number used more than one in each | |
migrations folder of South or Django >= 1.7. | |
You can install this pre-hook by executing the command: | |
ln -s ./git-pre-commit-hook .git/hooks/pre-commit | |
chmod +x .git/hooks/pre-commit | |
Or by calling the current script or check_migrations_files() in your | |
own file. |
tar -xvf youtube-dl-2020.09.20.tar.gz
/** | |
* Create a simple CORS proxy with Cloudflare Workers | |
* to bypass cors restrictions in the browser. | |
* Example Usage: https://<worker_subdomain>.workers.dev/https://postman-echo.com/get?foo1=bar1&foo2=bar2 | |
*/ | |
addEventListener('fetch', event => | |
event.respondWith(handleRequest(event.request)) | |
) |
/** | |
* Applies window transformation flags (WTFs) to aid in supporting | |
* edge-to-edge layouts on Android Q and higher. | |
*/ | |
fun Activity?.applyEdgeToEdge( | |
lightStatusBar: Boolean = false, | |
lightNavigationBar: Boolean = false, | |
transparentStatusBar: Boolean = true, | |
immersive: Boolean = false | |
) { |
continue | |
dir=/var/www/downloads | |
file-allocation=falloc | |
max-connection-per-server=4 | |
max-concurrent-downloads=2 | |
max-overall-download-limit=0 | |
min-split-size=25M | |
rpc-allow-origin-all=true | |
rpc-secret=YouShouldChangeThis | |
input-file=/var/tmp/aria2c.session |