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
| # sudo /sbin/rcvboxdrv -h | |
| # Unloading modules: | |
| # Loading modules: modprobe: FATAL: Module vboxnetadp not found in directory /lib/modules/4.4.3-1-ARCH | |
| # modprobe: FATAL: Module vboxnetflt not found in directory /lib/modules/4.4.3-1-ARCH | |
| # modprobe: FATAL: Module vboxpci not found in directory /lib/modules/4.4.3-1-ARCH | |
| # modprobe: FATAL: Module vboxdrv not found in directory /lib/modules/4.4.3-1-ARCH | |
| # Solution | |
| # from https://forum.antergos.com/topic/818/can-t-run-my-vitualbox/4 |
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
| # draft | |
| # view current data quota | |
| sudo iptables -nvL -t filter --line-numbers | |
| # init | |
| sudo iptables -I OUTPUT -p tcp --sport <target-port> -m quota --quota <quota-bytes> -j ACCEPT | |
| sudo iptables -I OUTPUT -p tcp --sport <target-port> -j DROP | |
| # reset quota |
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
| /* Tiny web server in Golang for sharing a folder | |
| Copyright (c) 2010-2014 Alexis ROBERT <alexis.robert@gmail.com> | |
| Contains some code from Golang's http.ServeFile method, and | |
| uses lighttpd's directory listing HTML template. */ | |
| package main | |
| import "net/http" | |
| import "net/url" |