A collection of information about accessing raw MultiTouch events on MacOS.
Compiled while building mtif (a MultiTouch interface for common lisp).
A collection of information about accessing raw MultiTouch events on MacOS.
Compiled while building mtif (a MultiTouch interface for common lisp).
/*==========================================================*/ | |
/* qutebrowser-ish Vivaldi */ | |
/*==========================================================*/ | |
.mac #header { | |
min-height: 16px !important; | |
} | |
.mac #tabs-container.top { | |
padding-left: 0 !important; | |
padding-right: 0 !important; | |
} |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>CGPDeviceCategory</key> | |
<string>GamePad</string> | |
<key>CGPDeviceType</key> | |
<string>PS3</string> | |
<key>CGPDisplayNameOvr</key> | |
<string>DualShock3 Analogue Triggers</string> |
Instead of waiting for long commands to finish one can easily get notifications when they are complete. The following procdure shows how to set his in fish shell.
Requirements: fish shell, notify-send, xdotool
vi ~/.config/fish/functions/noti.fish
with the content below:function fish_right_prompt
if test $CMD_DURATION
# Check if terminal window is hidden
# 1. Установить xkbswitch | |
git clone [email protected]:myshov/xkbswitch-macosx.git ~/.vim/plugin/xkbswitch-macosx | |
ln -s ~/.vim/plugin/xkbswitch-macosx/bin/xkbswitch /usr/local/bin/xkbswitch | |
# 2. Установить библиотеку-обёртку | |
git clone [email protected]:myshov/libxkbswitch-macosx.git ~/.vim/plugin/libxkbswitch-macosx | |
ln -s ~/.vim/plugin/libxkbswitch-macosx/bin/libxkbswitch.dylib /usr/local/lib/libxkbswitch.dylib |
if empty(glob('~/.vim/autoload/plug.vim')) | |
silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs | |
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim | |
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC | |
endif | |
call plug#begin('~/.vim/plugged') | |
Plug 'tpope/vim-sensible' | |
Plug 'altercation/vim-colors-solarized' |
# run as `python conver.py <path-to-your-zsh-history-file> | |
import sys | |
output_file = 'fish_converted_history' | |
zsh_history_file = sys.argv[1] | |
with open(zsh_history_file, 'r', errors='ignore') as ifile: | |
result = [] | |
for cmd in ifile: |
//スケジュールアシスタントが今後7日間の予定を投稿してくれる | |
function GoogleCalToMSTeams() { | |
var list = ''; | |
var calEvents = ''; | |
var calendarInUse = [ | |
// 使用するカレンダーのアドレスとそのラベリング | |
['[email protected]', '\n##■XXX\'s schedule\n'], | |
['[email protected]', '\n##■Out of office (staff)\n'], | |
['[email protected]', '\n##■XXX events\n'], | |
['[email protected]', '\n##■XXX Office events\n'], |