/etc/security/limits.conf
elasticsearch hard memlock 100000
/etc/default/elasticsearch
set-option -g default-terminal "xterm-256color" | |
set-window-option -g xterm-keys on | |
run-shell "tmux setenv -g TMUX_VERSION $(tmux -V | cut -c 6-)" | |
setw -g mode-keys vi | |
unbind C-b | |
# remap prefix to Control + Space |
{ | |
"ETHNIC / FOLK / SPIRITUAL MUSIC": [ | |
{ | |
"url": "http://radcap.ru/indian.html", | |
"title": "INDIAN", | |
"name": "Indian Folk/Ethnic", | |
"img": "http://radcap.ru/stylegraf/indian1.jpg", | |
"asx": "http://radcap.ru/play/rc3/radio+caprice-indian+folk.asx", | |
"m3u": "http://radcap.ru/play/rc3/radio+caprice-indian+folk.m3u", | |
"pls": "http://radcap.ru/play/rc3/radio+caprice-indian+folk.pls", |
/* | |
backbone_auth.js | |
Provides bi-directional HMAC hooked in to Model and Collection. | |
Author: github.com/adoc | |
Location: https://gist.github.com/adoc/8613376 | |
*/ | |
define(['underscore', 'backbone', 'config', 'events', 'auth_client', 'persist'], |
worker_processes 1; | |
events { | |
worker_connections 1024; | |
} | |
http { | |
include /home/t/nginx/conf/mime.types; | |
default_type application/octet-stream; |
###################################################################### | |
# CURRENT AWARE LOCAL DATETIME | |
###################################################################### | |
from datetime import datetime | |
from tzlocal import get_localzone | |
local_tz = get_localzone() | |
local_dt = datetime.now(local_tz) |
rsync (Everyone seems to like -z, but it is much slower for me)
Authored by Peter Rybin , Chrome DevTools team
In this short guide we'll review some new Chrome DevTools features for "function scope" and "internal properties" by exploring some base JavaScript language concepts.
Let's start with closures – one of the most famous things in JS. A closure is a function, that uses variables from outside. See an example: