| arch=`uname -m` | |
| dest_kernel="hello-vmlinux.bin" | |
| dest_rootfs="hello-rootfs.ext4" | |
| image_bucket_url="https://s3.amazonaws.com/spec.ccfc.min/img/quickstart_guide/$arch" | |
| if [ ${arch} = "x86_64" ]; then | |
| kernel="${image_bucket_url}/kernels/vmlinux.bin" | |
| rootfs="${image_bucket_url}/rootfs/bionic.rootfs.ext4" | |
| elif [ ${arch} = "aarch64" ]; then | |
| kernel="${image_bucket_url}/kernels/vmlinux.bin" |
| [Service] | |
| # Prevent gaining extra privileges or executing setuid binaries. | |
| NoNewPrivileges=yes | |
| # Separate /tmp and /var/tmp | |
| PrivateTmp=yes | |
| # Make most of the filesystem read-only; whitelist writable paths below. | |
| ProtectSystem=strict |
| vim.opt.number = true | |
| vim.opt.relativenumber = true | |
| vim.opt.tabstop = 2 | |
| vim.opt.softtabstop = 2 | |
| vim.pack.add({ | |
| { src = "https://github.com/neovim/nvim-lspconfig" }, | |
| { src = "https://github.com/mason-org/mason.nvim" }, | |
| { src = "https://github.com/mason-org/mason-lspconfig.nvim" }, | |
| { src = "https://github.com/WhoIsSethDaniel/mason-tool-installer.nvim" }, |
| vim.opt.number = true | |
| vim.opt.relativenumber = true | |
| vim.opt.tabstop = 2 | |
| vim.opt.softtabstop = 2 | |
| vim.pack.add({ | |
| { src = "https://github.com/neovim/nvim-lspconfig" }, | |
| { src = "https://github.com/mason-org/mason.nvim" }, | |
| { src = "https://github.com/mason-org/mason-lspconfig.nvim" }, | |
| { src = "https://github.com/WhoIsSethDaniel/mason-tool-installer.nvim" }, |
This list gives all standard widgets (including those with and without default keybindings), a short summary, and the default key(s) for each, as found in Zsh 5.9 (emacs and vi modes).
Where available, the equivalent Bash Readline function and default keybinding are shown asCtrl-X(Bash Readline).
Widgets with no default keybinding are listed without a key.
Third-party/community/user widgets (e.g. fzf, npm, z4h, bash*) are also listed when requested, but are not present in default zsh.
- accept-and-hold
Ruby has recently merged namespaces as an experimental feature that is disabled by default, as of this writing.
This is a non-trivial development driven by @matz himself, and mainly implemented by @tagomoris, who just became a Ruby committer (🎉).
The feature has been cooking for a long time, with a first ticket opened a couple of years ago (#19744) and a revised one opened just last week (#21311).
| #!/usr/bin/env python3 | |
| # castanet.py: Script to connect a chromecast to a WiFi network. | |
| # | |
| # Allows you to put your Chromecast on WiFi and do Chromecast initial setup | |
| # without using the Google Home app at all, just using a normal computer. | |
| # | |
| # You do need your Chromecast to be on Ethernet, or (untested) to join its setup WiFi | |
| # network with your PC, and you also need to find out its IP yourself with e.g. | |
| # Wireshark. | |
| # |
| -- Public domain Lua sandboxing library intended for use with parsing Metafields | |
| -- files. Made by Jade "oatmealine" | |
| local _M = {} | |
| local ALLOWED_MODULES = { | |
| 'math', 'os', 'coroutine', 'string', 'table' | |
| } | |
| local ALLOWED_GLOBAL_FUNCTIONS = { | |
| 'tonumber', 'tostring', 'print', 'pairs', 'ipairs', 'assert', 'error', |