Skip to content

Instantly share code, notes, and snippets.

- JOB: "intercept -g $DEVNODE | dual-function-keys -c /etc/dual-function-keys-logitech.yaml | uinput -d $DEVNODE"
DEVICE:
NAME: "Logitech Wireless Keyboard PID:4023"
EVENTS:
EV_KEY: [KEY_CAPSLOCK, KEY_ENTER, KEY_LEFTSHIFT, KEY_RIGHTSHIFT, KEY_LEFTCTRL, KEY_RIGHTCTRL]
- JOB: "intercept -g $DEVNODE | dual-function-keys -c /etc/dual-function-keys-lenovo.yaml | uinput -d $DEVNODE"
DEVICE:
NAME: "AT Translated Set 2 keyboard"
EVENTS:
@shallowbit
shallowbit / multiple_ssh_setting.md
Created October 26, 2020 00:35 — forked from jexchan/multiple_ssh_setting.md
Multiple SSH keys for different github accounts

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C "your_email@youremail.com"
alias -g ...='../..'
alias -g ....='../../..'
alias -g .....='../../../..'
alias -g CA="2>&1 | cat -A"
alias -g C='| wc -l'
alias -g D="DISPLAY=:0.0"
alias -g DN=/dev/null
alias -g ED="export DISPLAY=:0.0"
alias -g EG='|& egrep'
alias -g EH='|& head'
devices: (
{
name: "Wireless Mobile Mouse MX Anywhere 2S";
smartshift:
{
on: false;
threshold: 30;
};
hiresscroll:
{
/*
Dracula theme for Vimium
by Trollwut (trollwut@trollwut.org). This code is in the public domain.
To use:
1. Copy the code.
2. Go to the Vimium options.
3. Click Show Advanced Options.
4. Under Advanced Options, scroll down to CSS for link hints.
5. Paste the code in the text field.
6. Click Save Changes.
unmap x
# Searches
map c Vomnibar.activateInNewTab keyword=d
map ; Vomnibar.activateInNewTab keyword=l
map w Vomnibar.activateInNewTab keyword=w
map t Vomnibar.activateInNewTab keyword=g
map yt Vomnibar.activateInNewTab keyword=y
map a Vomnibar.activateInNewTab keyword=a
map gh Vomnibar.activateInNewTab keyword=gh
/* @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); */
/* Tab modifications */
.tabbrowser-tab:not(:hover) .tab-close-button{ display:none; }
.tabbrowser-tab:not([pinned]):hover .tab-close-button{ display:-moz-box !important; }
/* Prevents White pre-load flash */
.browserContainer { background-color: #333 !important; }
.tabbrowser tabpanels { background-color: #333 !important; }
/* may be outdated at this point. check firefox css hacks repo or tts repo */
.tab {
height: 16px;
font-family: "open sans", "Sans", "segoe ui";
/* font-size: 10px; */
border: solid 1px #FFFFFF22;
}
/* Show title of unread tabs with red and italic font */
.tab.unread .label {
color: red !important;
ln -s show /opt/vyatta/share/vyatta-op/templates/sh
ln -s configure /opt/vyatta/share/vyatta-op/templates/config