ip route list
route
route add -net 10.0.0.0 netmask 255.0.0.0 gw 10.169.5.1
sudo route del -net 192.168.76.0/24
and
sudo route del -net 192.168.76.0 netmask 255.255.255.0
References:
[1] https://www.cyberciti.biz/faq/linux-route-add/
Software Developer, Programming, Web resources and entertaiment. Desarrollo de software, programación, recursos web y entretenimiento.
ip route list
route
route add -net 10.0.0.0 netmask 255.0.0.0 gw 10.169.5.1
sudo route del -net 192.168.76.0/24
sudo route del -net 192.168.76.0 netmask 255.255.255.0
Mode 1:Recover mode
In recover mode try to remount and after that change password
mount -o remount,rw /
Mode 2: Using live
mkdir /mnt/recover
mount /dev/sda2 /mnt/recover
chroot /mnt/recover
passwd #or
passwd user
exit
umount /mnt/recover
Other way : Using files(for root or any user)
/etc/passwd
/etc/shadow
root:x:0:0:root:/root:/bin/bash
to
root::0:0:root:/root:/bin/bash
References:
[1] http://www.microhowto.info/howto/reset_a_forgotten_root_password_using_a_live_distribution.html
[2] https://www.computersecuritystudent.com/UNIX/UBUNTU/1204/lesson5/index.html
#adduser username
#usermod -aG sudo username
$
su - username
$whoami
$sudo whoami
Examples to use
$fdisk -l
$sudo fdisk -l
$sudo ls -l /root
SHOW GLOBAL STATUS
SHOW VARIABLES LIKE '%size%';
SHOW GLOBAL VARIABLES LIKE '%size%';
SET GLOBAL join_buffer_size = 1024 * 1024 * 128 #128M
or
[mysqld]
join_buffer_size = 128M #default ~256K
References:
[0] Compute memory http://mysqlcalculator.com/
[1]
https://dba.stackexchange.com/questions/74693/how-to-break-table-into-two-without-losing-performance
join_buffer_size
[2] https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html
[3] Example tunning https://dba.stackexchange.com/questions/127862/tuning-mysql-variables-to-accommodate-high-load
[4] Query variables https://dev.mysql.com/doc/refman/8.0/en/show-variables.html
CREATE TABLE foo LIKE bar;
ALTER TABLE <tablename> CHANGE COLUMN <colname> <colname> VARCHAR(65536);
ALTER TABLE emp MODIFY COLUMN name VARCHAR(100);
Or use CHANGE, but that means you have to give the column name twice
(because CHANGE allows you to change the name of the column too).ALTER TABLE emp CHANGE COLUMN name name VARCHAR(100);
sudo lsof -i TCP:3306
netstat -lp | grep 3306
$systemctl status iptables.service
$service iptables status
import ctypes
from ctypes.util import find_library
When you install environment and install geopandas, rtree and osmnx
pip install git+git://github.com/geopandas/geopandas.git
pip install rtree
pip install osmnx
No error, everythong aparently is ok, and you try to test
Latex online
[1] Single/public https://www.papeeria.com
[2] Latex/R/Python/Octave/Julia/Shell/GPU https://cocalc.com/
[3] Single
Latex & Octave http://www.verbosus.com/ #limit 4 resources
[4] Quick snap code to image quicklatex.com
Over google docs
http://docs.latexlab.org/
Single Compiler
[1] http://latex.informatik.uni-halle.de/latex-online/latex.php
[2] http://sciencesoft.at/latex/flatex.gsp?lang=en
After register
Unlimited https://www.sharelatex.com/
Monkey http://monkeytex.bradcater.webfactional.com/
Others References
[1] http://tex.stackexchange.com/questions/3/compiling-documents-online
[2] http://texblog.net/latex-link-archive/online-compiler/
[1] Diario/Seq https://apps.odoo.com/apps/modules/17.0/sequence_for_journal