/etc/security/limits.conf
elasticsearch hard memlock 100000
/etc/default/elasticsearch
server { | |
client_body_in_file_only clean; | |
client_body_buffer_size 32K; | |
client_max_body_size 300M; | |
sendfile on; | |
send_timeout 300s; | |
# Port that the web server will listen on. | |
#listen 80; |
form.select :timezone, ActiveSupport::TimeZone.all.map{|tz| [ "(GMT#{tz.formatted_offset}) #{tz.name}", tz.tzinfo.canonical_zone.name] }, {prompt: "Elija zona horaria"}, class: 'form-control' |
{ | |
"editor.insertSpaces": true, | |
"editor.tabSize": 2, | |
"files.trimTrailingWhitespace": true, | |
"files.insertFinalNewline": true, | |
"editor.formatOnType": false, | |
"editor.wordBasedSuggestions": false, | |
"editor.trimAutoWhitespace": false, | |
"gitlens.hovers.avatars": false, | |
"gitlens.hovers.currentLine.details": false, |
feh --no-fehbg --bg-fill $(find "${HOME}/Pictures/wallpapers/" -type f -name *.jpg | shuf -n 1) |
server { | |
location /phpmyadmin { | |
root /usr/share/; | |
index index.php index.html index.htm; | |
location ~ ^/phpmyadmin/(.+\.php)$ { | |
try_files $uri =404; | |
root /usr/share/; | |
fastcgi_pass 127.0.0.1:9000; | |
fastcgi_index index.php; | |
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; |
su - postgres | |
psql | |
CREATE ROLE rolename WITH LOGIN PASSWORD 'password'; | |
CREATE DATABASE databasename OWNER rolename; | |
# working 2020-09-13 | |
sudo -u postgres -i | |
psql | |
CREATE ROLE tom WITH LOGIN PASSWORD 'password'; |
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# All Vagrant configuration is done below. The "2" in Vagrant.configure | |
# configures the configuration version (we support older styles for | |
# backwards compatibility). Please don't change it unless you know what | |
# you're doing. | |
Vagrant.configure("2") do |config| | |
# The most common configuration options are documented and commented below. | |
# For a complete reference, please see the online documentation at |
{ | |
"segments": [ | |
"time", | |
"ruby_version", | |
"virtual_env", | |
"username", | |
"hostname", | |
"ssh", | |
"cwd", | |
"git", |
[Desktop Entry] | |
Encoding=UTF-8 | |
Name=Postman | |
Exec=postman | |
Icon=/opt/Postman/resources/app/assets/icon.png | |
Terminal=false | |
Type=Application | |
Categories=Development; |