Skip to content

Instantly share code, notes, and snippets.

@churnd
churnd / netpbm_error
Created July 29, 2011 11:51
brew netpbm error
==> Downloading http://sourceforge.net/projects/netpbm/files/super_stable/10.35.80/netpbm-10.35.80.tgz
File already downloaded in /Users/heatv4/Library/Caches/Homebrew
/usr/bin/tar xf /Users/heatv4/Library/Caches/Homebrew/netpbm-10.35.80.tgz
==> cp Makefile.config.in Makefile.config
cp Makefile.config.in Makefile.config
==> make
make
/private/tmp/homebrew-netpbm-10.35.80-17B1/netpbm-10.35.80/Makefile.common:551: Makefile.depend: No such file or directory
cat /dev/null >Makefile.depend
make -C /private/tmp/homebrew-netpbm-10.35.80-17B1/netpbm-10.35.80/buildtools/ -f /private/tmp/homebrew-netpbm-10.35.80-17B1/netpbm-10.35.80/buildtools/Makefile \
@churnd
churnd / netpbm_brew_doctor
Created July 29, 2011 11:53
netbpm error brew doctor
Some folders in /usr/local/share/man aren't writable.
This can happen if you "sudo make install" software that isn't managed
by Homebrew. If a brew tries to add locale information to one of these
folders, then the install will fail during the link step.
You should probably `chown` them:
/usr/local/share/man/de
/usr/local/share/man/de/man1
/usr/local/share/man/es
/usr/local/share/man/es/man1
# zsh is kinda tight
set-option -g default-shell $SHELL
# copy and paster
set-option -g default-command "reattach-to-user-namespace -l zsh"
# look good
set -g default-terminal "screen-256color"
# act like GNU screen
@churnd
churnd / gist:7087018
Created October 21, 2013 16:48
kibana_nginx
#
# HTTPS server configuration
#
server {
listen 443;
server_name kibana.example.com;
access_log /var/log/nginx/kibana.log;
ssl on;
ssl_certificate /etc/nginx/ssl/server.crt;
@churnd
churnd / gist:7138696
Last active December 26, 2015 10:39
kibana proxy ssl
#
# Nginx proxy for Elasticsearch + Kibana
#
# In this setup, we are password protecting the saving of dashboards. You may
# wish to extend the password protection to all paths.
#
# Even though these paths are being called as the result of an ajax request, the
# browser will prompt for a username/password on the first request
#
# If you use this, you'll want to point config.js at http://FQDN:80/ instead of
@churnd
churnd / gist:7530974
Last active December 28, 2015 16:48
es no-index hosts
curl -XPUT localhost:9200/new_index -d '
{
"mappings": {
"host": { "type": "string", "index": "not_analyzed" }
}
}
'
#
# Nginx proxy for Elasticsearch + Kibana
#
# In this setup, we are password protecting the saving of dashboards. You may
# wish to extend the password protection to all paths.
#
# Even though these paths are being called as the result of an ajax request, the
# browser will prompt for a username/password on the first request
#
# If you use this, you'll want to point config.js at http://FQDN:80/ instead of
@churnd
churnd / gist:9891542
Created March 31, 2014 12:47
grok debug
{
"SYSLOGLINE": [
[
"Mar 28 14:14:01 host rgmanager[8180]: [script] Executing /etc/init.d/clvmd status"
]
],
"SYSLOGBASE2": [
[
"Mar 28 14:14:01 host rgmanager[8180]:"
]
@churnd
churnd / .vimrc
Created April 18, 2014 15:32
.vimrc
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" => General
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Sets how many lines of history VIM has to remember
set history=700
" Enable filetype plugins
filetype plugin on
filetype indent on
@churnd
churnd / afpd.conf
Created May 10, 2014 20:30
afpd.conf
;
; Netatalk 3.x configuration file
;
[Global]
; Global server settings
log file = /var/log/netatalk.log
uam list = uams_dhx.so,uams_dhx2.so
save password = no
aclinherit = passthrough