Before starting, check the git history to determine if this is a follow-up review:
git log --oneline -10 | grep -i "Co-Authored-By: Claude"| ---Utility for keymap creation. | |
| ---@param lhs string | |
| ---@param rhs string|function | |
| ---@param opts string|table | |
| ---@param mode? string|string[] | |
| local function keymap(lhs, rhs, opts, mode) | |
| opts = type(opts) == 'string' and { desc = opts } | |
| or vim.tbl_extend('error', opts --[[@as table]], { buffer = bufnr }) | |
| mode = mode or 'n' | |
| vim.keymap.set(mode, lhs, rhs, opts) |
| // Remove everyone following you on twitter.com | |
| // https://gist.github.com/ramsey/bdeefda66d6e2294d3466edcea30187b | |
| // | |
| // 1. Go to https://twitter.com/YOUR_USER_NAME/followers | |
| // 2. Open the Developer Console. (COMMAND+ALT+I on Mac) | |
| // 3. Paste this into the Developer Console and run it | |
| // | |
| // If you start seeing error messages in the console with the code | |
| // "429," this means Twitter is rate-limiting you. Stop the script | |
| // (i.e., reload or close the browser tab), and try again later. |
| { | |
| "65536": [ | |
| "alphashift" | |
| ], | |
| "131072": [ | |
| "shift" | |
| ], | |
| "196608": [ | |
| "alphashift", | |
| "shift" |
| package main | |
| import ( | |
| "bytes" | |
| "encoding/csv" | |
| "encoding/json" | |
| "fmt" | |
| "io/ioutil" | |
| "log" | |
| "net/http" |
NB: The following is only of interest if you want to share the host network with your virtual machine. The most common way this gets implemented is by setting up a bridge which includes the physical interface. Using a [MACVTAP] inerface is suposed to be more efficient, since it avoids the additional bridge in the network setup.
In this gist, we extend the information provided in the documenation on linux virtual interfaces.
In the following, we assume you host interface is eth0. IP addresses used:
iperf3 serverwg-quick down wg0/etc/wireguard/wg0.conf file| [alias] | |
| wip = for-each-ref --sort='authordate:iso8601' --format=' %(color:green)%(authordate:relative)%09%(color:white)%(refname:short)' refs/heads | |