This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Load pathogen | |
filetype off | |
call pathogen#runtime_append_all_bundles() | |
call pathogen#helptags() | |
filetype plugin indent on | |
set nocompatible | |
syntax on | |
" Fixes for xterm-256colors |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@ufw-test:/srv/salt/_modules# salt-call --local ufw_firewall.set_enabled | |
local: | |
Firewall is active and enabled on system startup | |
root@ufw-test:/srv/salt/_modules# salt-call --local ufw_firewall.status | |
local: | |
---------- | |
app_policy: | |
skip | |
default: | |
---------- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<root> | |
<item> | |
<name>Command-Escape to Tilde in Chrome</name> | |
<only>GOOGLE_CHROME</only> | |
<identifier>private.chrome_cmd_esc_to_cmd_tilde</identifier> | |
<autogen> | |
__KeyToKey__ | |
KeyCode::ESCAPE, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_COMMAND, | |
KeyCode::BACKQUOTE, ModifierFlag::COMMAND_R, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bind-key C command-prompt -I colour160 -p color,active-title "set-window-option window-status-format '#[fg=white,bg=%1] #I #W '; set-window-option window-status-current-format '#[fg=colour17,bg=%1]⮀#[fg=white,bg=%1,noreverse,bold] #I ⮁ #W%2 #[fg=%1,bg=colour17,nobold]⮀'" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Highlight lines longer than 80 characters as dark-red, lines longer than 90 | |
" characters as a brighter red. | |
augroup vimrc_autocmds | |
autocmd BufEnter * highlight OverLength ctermbg=red guibg=#990000 | |
autocmd BufEnter * highlight SortaOverLength ctermbg=red guibg=#330000 | |
autocmd BufEnter * match SortaOverLength /\m\%>80v.*\%<91v/ | |
autocmd BufEnter * 2match OverLength /\m\%>90v.*/ | |
augroup END |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Calculate a short checksum of the real hostname to determine a unique color | |
if [[ $TERM =~ "256color" ]]; then | |
host_color="38;5;$((16 + $(hostname | cksum | cut -c1-3) % 256))"; | |
else | |
host_color="1;$((31 + $(hostname | cksum | cut -c1-3) % 6))"; | |
fi |