This is really just meant to be goofy, noone should use this instead of a mouse.
Add these lines to your i3 config.
bindsym $mod+Mod1+h exec xdotool mousemove_relative -p 270 10
## General info: | |
# Function starts with @ | |
# Variable starts with $ | |
# Return of the most recently run function made by $@ | |
# Key comments marked with ## | |
## Version of IV must be set first | |
~version: "2.1" | |
# Telegram doesn't support JW Player which is used in videoheaders |
# This is something that I always forget and had a surprisingly hard time finding (or better yet, understanding). Here's the | |
# scenario: a colleague creates a new kubernetes cluster, named" cluster-foo.example.com". You want to look at it (for | |
# troubleshooting, updating the deployment, whatever). To get your kubectl installation to "see" the new cluster, take the | |
# following steps: | |
# ASSUMPTION: You have pointed kops to some location where the cluster configurations are stored | |
# (I have this in my ~/.bash_profile): | |
export KOPS_STATE_STORE=s3://example-state-store | |
# Use kops to get the list of clusters |
Create file /etc/systemd/system/docker-compose@.service
. SystemD calling binaries using an absolute path. In my case is prefixed by /usr/local/bin
, you should use paths specific for your environment.
[Unit]
Description=%i service with docker compose
PartOf=docker.service
After=docker.service
// iMacro CheatSheet - Command Reference | |
// http://wiki.imacros.net/Command_Reference | |
// iMacros supports 3 types of variables: | |
// * The macro variables !VAR0 thru !VAR9. They can be used with the SET and ADD command inside a macro. | |
// * Built-in variables. They contain certain values set by iMacros. | |
// * User-defined variables. They are defined in-macro using the SET command. | |
let g:ctrlp_buffer_func = { 'enter': 'CtrlPMappings' } | |
function! CtrlPMappings() | |
nnoremap <buffer> <silent> <C-@> :call <sid>DeleteBuffer()<cr> | |
endfunction | |
function! s:DeleteBuffer() | |
let path = fnamemodify(getline('.')[2:], ':p') | |
let bufn = matchstr(path, '\v\d+\ze\*No Name') | |
exec "bd" bufn ==# "" ? path : bufn |
/** | |
* Author: Michael Weibel <michael.weibel@gmail.com> | |
* License: MIT | |
*/ | |
var passport = require('passport') | |
, StrategyMock = require('./strategy-mock'); | |
module.exports = function(app, options) { | |
// create your verify function on your own -- should do similar things as |
o.......Open files, directories and bookmarks....................|NERDTree-o|
go......Open selected file, but leave cursor in the NERDTree.....|NERDTree-go|
t.......Open selected node/bookmark in a new tab.................|NERDTree-t|
T.......Same as 't' but keep the focus on the current tab........|NERDTree-T|
i.......Open selected file in a split window.....................|NERDTree-i|
gi......Same as i, but leave the cursor on the NERDTree..........|NERDTree-gi|
s.......Open selected file in a new vsplit.......................|NERDTree-s|
gs......Same as s, but leave the cursor on the NERDTree..........|NERDTree-gs|
O.......Recursively open the selected directory..................|NERDTree-O|