Here are some notes on the various ways to check disk space usage on linux:
Disk usage of all (non-hidden) files and folders
Using the du command (disk use) with the -s (summarize) and -h (human-readable) options.
du -sh *
| scripts: [~/.mitmproxy/scripts/toggle_macos_proxies.py, ~/.mitmproxy/scripts/error_response.py] | |
| view_filter: "~dst amazon.com|google.com" | |
| console_mouse: false | |
| console_palette: dark | |
| console_eventlog_verbosity: error |
| package main | |
| import ( | |
| "context" | |
| "flag" | |
| "fmt" | |
| "log" | |
| "net/http" | |
| "os" | |
| "os/signal" |
Download FreeBSD 11.1 VMDK and create a VM with it as HDD.
Get FreeBSD source tree for your exact FreeBSD version and uncompress it to /usr/src:
fetch -o /tmp ftp://ftp.freebsd.org/pub/`uname -s`/releases/`uname -m`/`uname -r | cut -d'-' -f1,2`/src.txz
tar -C / -xvf /tmp/src.txz
Download latest Realtek network driver (you need to input an email address).
| ### KERNEL TUNING ### | |
| # Increase size of file handles and inode cache | |
| fs.file-max = 2097152 | |
| # Do less swapping | |
| vm.swappiness = 10 | |
| vm.dirty_ratio = 60 | |
| vm.dirty_background_ratio = 2 |
This guide has moved to a GitHub repository to enable collaboration and community input via pull-requests.
https://github.com/alexellis/k8s-on-raspbian
Alex
This basic guide supports Ubuntu Xenial Xerus 16.04 and will enable several external encoding and decoding libraries: libfaac (AAC encoder), libfdk-aac (AAC encoder), libmp3lame (MP3 encoder), libopencore-amr (AMR encoder/decoder), librtmp (for additional RTMP protocols), libtheora (Theora encoder), libvorbis (Vorbis encoder), libvpx (VP8 encoder/decoder), and libx264 (H.264 encoder). These are optional and may be omitted if desired. This guide will also install many filters (see the filter list in the [Filtering Guide][1].
Note: Copy and paste the whole code box for each step.
Implementation of redux inside any react.js or react-native application,
| #!/bin/bash | |
| modprobe ipv6 | |
| modprobe udp_tunnel | |
| modprobe ip6_udp_tunnel | |
| ip link add dev wg0 type wireguard | |
| wg setconf wg0 /etc/wireguard/config | |
| wg showconf wg0 | |
| brctl addbr internet | |
| brctl stp internet on | |
| ip link set up dev wg0 |
| ### Localization | |
| d-i debian-installer/locale string en_US | |
| d-i console-setup/ask_detect boolean false | |
| d-i keyboard-configuration/layoutcode string us | |
| ### Network configuration | |
| d-i netcfg/choose_interface select auto | |
| d-i netcfg/get_hostname string unassigned-hostname | |
| d-i netcfg/get_domain string example.org | |
| d-i netcfg/wireless_wep string |