Skip to content

Instantly share code, notes, and snippets.

@yograf
yograf / .eslintrc.js
Created July 17, 2018 07:16
eslint rc js to put on home
module.exports = {
parserOptions: {
ecmaVersion: 8
},
"ecmaFeatures": {
"arrowFunctions": true,
"binaryLiterals": true,
"blockBindings": true,
"classes": true,
"defaultParams": true,
sudo vim /usr/share/X11/xkb/symbols/us
--------------------------------------------------
key <AC06> { [ h, H, Left ] };
key <AC07> { [ j, J, Down ] };
key <AC08> { [ k, K, Up ] };
key <AC09> { [ l, L, Right ] };
key <AC10> { [ semicolon, colon, BackSpace ] };
key <AC04> { [ f, F, Escape ] };
key <CAPS> {[ISO_Level3_Shift]};
@yograf
yograf / box-linux.sh
Created December 6, 2015 08:43 — forked from eladc/box-linux.sh
Mount your Box.com Account Using davfs2
#!/bin/bash
## davfs2 installation and Box.com account configuration script for Linux
## Tested on Ubuntu, Fedora and OpenSuse
## Update 1.032615
## This script must be run as root
if [ ! $UID = 0 ]; then
echo "This script needs super user privileges to run"
echo "run it againg using sudo or login as root"
exit 1
let hintcharacters="asdfgjkl"
map H previousTab
map L nextTab
map b :buffer<Space>
map B :buffer<Space>
map u lastClosedTab
map O :tabnew<Space>
map T :tabnew&<Space>
map ; :
map - openLinkSearchBar
" Monaco font
set guifont=Monaco:h13:cANSI
let g:DisableAutoPHPFolding = 1 " disable PIV's folding
set nofoldenable " disable code folding
" Change to Drupal tabs
set tabstop=2
set shiftwidth=2
set softtabstop=2
set expandtab