.app {
box-shadow: 0 0 5px @window_shadow;
background-color: @window_bg;
border: 1px solid @window_border_color;
border-radius: 4px;
margin: -20px; /*override black area when window effect is disabled*/
}
{ | |
"title": "Change caps_lock to Esc and Control", | |
"rules": [ | |
{ | |
"description": "Post Esc if Caps is tapped, Control if held.", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "caps_lock", |
Getting an error after migrating to a new system when adding private keys to ssh-agent | |
/usr/bin/keychain -q --nogui $HOME/.ssh/id_rsa.key | |
* Error: Problem adding; giving up | |
Manually adding the key shows a permission problem | |
ssh-add ~/.ssh/id_rsa.key | |
chmod 700 /home/pwi/.ssh/*.key | |
In .bashrc |
// ==UserScript== | |
// @name Hypothes.is everywhere | |
// @namespace http://tampermonkey.net/ | |
// @version 0.2 | |
// @description Enable Hypothesis scriptlet on all pages | |
// @author https://github.com/potter0815 | |
// @match http://*/* | |
// @include http://* | |
// @include https://* | |
// @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw== |
{ | |
"title": "Change caps_lock to Esc and Control", | |
"rules": [ | |
{ | |
"description": "Post Esc if Caps is tapped, Control if held.", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "caps_lock", |
fay() { | |
packages=$(awk {'print $1'} <<< $(yay -Ss $1 | awk 'NR%2 {printf "\033[1;32m%s \033[0;36m%s\033[0m — ",$1,$2;next;}{ print substr($0, 5, length($0) - 4); }' | fzf -m --ansi)) | |
[ "$packages" ] && yay -S $(echo "$packages" | tr "\n" " ") | |
} | |
fzfman() { | |
packages="$(awk {'print $1'} <<< $(pacman -Ss $1 | awk 'NR%2 {printf "\033[1;32m%s \033[0;36m%s\033[0m — ",$1,$2;next;}{ print substr($0, 5, length($0) - 4); }' | fzf -m --ansi --select-1))" | |
[ "$packages" ] && pacman -S $(echo "$packages" | tr "\n" " ") | |
} |
macOS has ncurses version 5.7 which doesn't ship the terminfo description for tmux. There're two ways that can help you to solve this problem.
Instead of tmux-256color
you can use screen-256color
, place this command into your ~/.tmux.conf
.
set-option -g default-terminal "screen-256color"
Podman is a container engine that is similar to and fully compatible with Docker that has the peculiarity of not requiring a daemon to run and to allow for rootless containers, which are often deemed safer than privileged containers running as root. Podman is a drop-in replacement for Docker that even supports the same syntax and it has good support from Red Hat.
However, running podman rootless containers on Arch Linux may not be obvious, so I'm writing the instructions I have used to achieve that here.
Podman works using control groups and users from which said containers need to be launched need to be assigned an appropriate range of subordinate user and group IDs. On Arch Linux, these files are not present and they need to be created.
From a root shell:
This is a guide for aligning images.
See the full Advanced Markdown doc for more tips and tricks