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
# How to mount RTL-SDR (Flightaware) USB dongle | |
# to docker container in rootless mode | |
# | |
# For example running: `docker run --device=/dev/bus/usb:/dev/bus/usb ...` | |
# | |
# or via docker compose: | |
# | |
# version: '3' | |
# services: | |
# dump1090: |
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
Inspired by: https://stackoverflow.com/questions/46408673/docker-17-06-ce-default-container-memory-limit-on-shared-host-resources/46557336#46557336 |
The best way to safely and securely use local domains pointing to 127.0.0.1 is to edit your local settings (/etc/hosts) and add your own settings. Keep in mind if you want to use subdomains, you need to enter all variations.
Example:
# Adding bottom of your current file /etc/hosts
################# MY LOCAL DOMAINS
127.0.0.1 local.com admin.local.com
127.0.0.1 domain1.com
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
Windows 7 All Online/Offline [Retail-MAK] Activation Keys | |
================================================================================= | |
. Run "Command Prompt" as Administrator | |
. slmgr.vbs -ipk Product Key | |
. slui4 | |
================================================================================= | |
Windows 7 Ultimate Retail Phone Activation Keys | |
RHTBY-VWY6D-QJRJ9-JGQ3X-Q2289 | |
V77DJ-CT8WB-Y3GXT-X3FBP-6F987 | |
JC7BV-94FD2-D86PH-XRMHR-BXKDG |
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
#!/bin/bash | |
pid_file="/path/to/destination/rsync.pid" | |
rsync_pid=$(cat $pid_file) | |
if [[ -z "${rsync_pid// }" ]] ; then | |
echo "[$(date)] no PID for seedbox rsync, exiting" | |
exit | |
else |
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
/* *********************************************************************************** | |
Hero authors of RFC 3986 (http://www.ietf.org/rfc/rfc3986.txt) gave us this regex | |
for parsing (well-formed) URLs into their constituent pieces: | |
^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))? | |
Which for the following URL: | |
http://www.ics.uci.edu/pub/ietf/uri/#Related |
05/25/2018: tested with macOS Sierra High 10.12.6
08/04/2020: added @mayesa's suggestion to fix an exception with EventMachine 08/04/2020: tested with macOS Catalina 10.15.5
Install MailCatcher:
brew install ruby
sudo gem install mailcatcher
Moved to git-repository: https://github.com/denji/awesome-http-benchmark
Located in alphabetical order (not prefer)
- ab – slow and single threaded, written in
C
- apib – most of the features of ApacheBench (
ab
), also designed as a more modern replacement, written inC
- autocannon – fast HTTP/1.1 benchmarking tool written in Node.js
- baloo – Expressive end-to-end HTTP API testing made easy, written in Go (
golang
)