This file contains 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
#!/bin/bash | |
for i in $(drush sqlq "show tables;"|grep -v Tables_in_); | |
do | |
drush sql:dump --tables-list=$i --result-file=wherever-you-need/backup-$i.sql; | |
done |
This file contains 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
# Only in Linux kernel >= 4.9.0 (Debian 9) | |
# Add to /etc/sysctl.d/10-bbr.conf or append to sysctl.conf | |
# https://www.cyberciti.biz/cloud-computing/increase-your-linux-server-internet-speed-with-tcp-bbr-congestion-control/ | |
# TCP BBR | |
net.core.default_qdisc=fq | |
net.ipv4.tcp_congestion_control=bbr |
This file contains 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
# My tmux configuration, partly based on https://github.com/wbkang/wbk-stow/blob/master/tmux-config/.tmux.conf | |
# Scroll History | |
set -g history-limit 50000 | |
# show messages for 4 seconds instead | |
set -g display-time 4000 | |
# set first window to index 1 (not 0) to map more to the keyboard layout | |
set-option -g renumber-windows on |
This file contains 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
Red wifi de alsa supra, la versión de los autobuses con pantallas individuales en el asiento | |
El router es un H2 Automotive http://www.teldat.com/es/telecomunicaciones/router-para-transporte/h2-automotive-router-rugerizado-para-bus-coche-lte-4g-3g-wifi/ | |
192.168.10.1 -> router | |
192.168.10.0/24 -> rango ip wifi pública | |
puertos abiertos 192.168.10.1 | |
21 ftp | |
22 ssh |