Standard escape codes are prefixed with Escape:
- Ctrl-Key:
^[ - Octal:
\033 - Unicode:
\u001b - Hexadecimal:
\x1B - Decimal:
27
| { | |
| "background" : "#1d2021", | |
| "black" : "#665C54", | |
| "blue" : "#7DAEA3", | |
| "brightBlack" : "#928374", | |
| "brightBlue" : "#7DAEA3", | |
| "brightCyan" : "#89B482", | |
| "brightGreen" : "#A9B665", | |
| "brightPurple" : "#D3869B", | |
| "brightRed" : "#EA6962", |
Ever wanted to delete all your likes/favorites from Twitter but only found broken/expensive tools? You are in the right place.
setInterval(() => {
for (const d of document.querySelectorAll('div[data-testid="unlike"]')) {
d.click()
}macOS has ncurses version 5.7 which does not ship the terminfo description for tmux. There're two ways that can help you to solve this problem.
Instead of tmux-256color, use screen-256color which comes with system. Place this command into ~/.tmux.conf or ~/.config/tmux/tmux.conf(for version 3.1 and later):
| [alias] | |
| wip = for-each-ref --sort='authordate:iso8601' --format=' %(color:green)%(authordate:relative)%09%(color:white)%(refname:short)' refs/heads | |
iperf3 serverwg-quick down wg0/etc/wireguard/wg0.conf fileNB: 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:
| package main | |
| import ( | |
| "bytes" | |
| "encoding/csv" | |
| "encoding/json" | |
| "fmt" | |
| "io/ioutil" | |
| "log" | |
| "net/http" |
| { | |
| "65536": [ | |
| "alphashift" | |
| ], | |
| "131072": [ | |
| "shift" | |
| ], | |
| "196608": [ | |
| "alphashift", | |
| "shift" |