Skip to content

Instantly share code, notes, and snippets.

View rodricels's full-sized avatar
🏠
Working from home

Rodrigo rodricels

🏠
Working from home
View GitHub Profile
@rodricels
rodricels / drush-dump-by-tables.sh
Created December 7, 2020 16:19
Drush mysql dump by tables
#!/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
@rodricels
rodricels / 10-bbr.conf
Created October 15, 2017 22:09
TCP BBR congestion
# 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
@rodricels
rodricels / .tmux.conf
Last active April 21, 2024 12:22
tmux configuration, mouse copy & paste added
# 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
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