Skip to content

Instantly share code, notes, and snippets.

; CouchDB Configuration Settings
; Custom settings should be made in this file. They will override settings
; in default.ini, but unlike changes made to default.ini, this file won't be
; overwritten on server upgrade.
[couchdb]
;max_document_size = 4294967296 ; bytes
;os_process_timeout = 5000
EmojiOneColor-SVGinOT.ttf: "EmojiOne Color" "Regular"
LiberationMono-Regular.ttf: "Liberation Mono" "Regular"
LiberationMono-Regular.ttf: "Liberation Mono" "Regular"
DejaVuSansMono.ttf: "DejaVu Sans Mono" "Book"
NotoColorEmoji.ttf: "Noto Color Emoji" "Regular"
Ubuntu Mono derivative Powerline.ttf: "Ubuntu Mono derivative Powerline" "Regular"
FreeMono.ttf: "Liberation Mono" "Regular"
Courier_New.ttf: "Liberation Mono" "Regular"
Courier_New_Italic.ttf: "Liberation Mono" "Italic"
TlwgTypo.ttf: "Tlwg Typo" "Regular"
19 if ( $allow_address = 0 ) {
20 set $check "A";
21 }
22
23 if ( $request_uri ~ ^/wp-login\.php ) {
24 set $check "${check}B";
25 }
26
27 if ( $check = "AB" ) {
28 return 403;
if has("unix")
let s:uname = system("uname")
if s:uname == "Linux\n"
" Remote Clipboard
function! PropagatePasteBufferToOSX()
let @n=getreg('"')
call system('pbcopy-remote', @n)
echo "done"
endfunction
@arooni
arooni / -
Created September 12, 2016 19:49
health#nvim#check
================================================================================
## Remote Plugins
- SUCCESS: Up to date
## Python 2 provider
- INFO: `g:python2_host_prog` is not set. Searching for python2 in the environment.
- INFO: Executable: /usr/local/bin/python2
- INFO: Python2 version: 2.7.11
@arooni
arooni / -
Created September 10, 2016 19:41
MiniArooni: 7 windows (created Fri Sep 2 11:34:55 2016) [189x44] (group 0) (attached)
MiniArooni-group- 6583: 7 windows (created Fri Sep 2 11:35:04 2016) [189x45] (group 0)
MiniArooni-group-12178: 7 windows (created Fri Sep 2 11:35:04 2016) [189x45] (group 0)
MiniArooni-group-12271: 7 windows (created Fri Sep 2 11:35:05 2016) [189x45] (group 0)
MiniArooni-group-15695: 7 windows (created Fri Sep 2 11:35:05 2016) [189x45] (group 0)
MiniArooni-group-16042: 7 windows (created Sat Sep 10 14:38:17 2016) [189x45] (group 0) (attached)
MiniArooni-group-17429: 7 windows (created Fri Sep 2 11:35:05 2016) [189x45] (group 0)
MiniArooni-group-23331: 7 windows (created Fri Sep 2 11:35:04 2016) [189x45] (group 0)
MiniArooni-group-29848: 7 windows (created Fri Sep 2 11:35:04 2016) [189x45] (group 0)
MiniArooni-group-47340: 7 windows (created Fri Sep 2 11:35:05 2016) [189x45] (group 0)
@arooni
arooni / -
Created September 10, 2016 19:39
#!/usr/bin/env sh
# A useful wrapper to invoke tmux that I got from a guy on IRC #tmux
# 5/20/2016 -- Modified by David Parkinson
# Basically invokes a new sesion if no argument, and group attaches to an existing session
# and kills any group sessions that are unattached. Very useful.
# from https://ntnn.de/plain//tmux_attach_or_new
# Now added tmuxifier logic
link=0
#!/usr/bin/env sh
# A useful wrapper to invoke tmux that I got from a guy on IRC #tmux
# 5/20/2016 -- Modified by David Parkinson
# Basically invokes a new sesion if no argument, and group attaches to an existing session
# and kills any group sessions that are unattached. Very useful.
# from https://ntnn.de/plain//tmux_attach_or_new
# Now added tmuxifier logic
link=0
@arooni
arooni / 0_reuse_code.js
Created June 29, 2016 23:15
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
#! /bin/sh
case "${1}" in
suspend|hibernate)
;;
resume|thaw)
lsof -t -i:24800
# Is synergy already running? Then kill existing ssh and synergy clients before reconnecting
if [ $? -eq 0 ]