|
188 | ssh start remote app | arranca el file manager nautilus
-----------------------------------
ssh -Y picota nautilus |
|
187 | Enviar mensaje a Telegram | instalar telegram-cli:
-------------------------
sudo snap install telegram-cli
La primera vez progunta por el telefono del movil y envia un codigo
pregunta por el codigo que que es un mensaje en telegram del movil
se mira en el movil y se responde.
Mi nombre mismo es telegram
Ejemplo enviar el comando la respuesta al comando date
----------------------------------------------------------------
telegram-cli -W -e "msg Telegram 'Hoy es: `date`' "
telegram-cli -W -e "msg Urs_Jenzer 'Heute ist: `date`' "
comandos:
telegram-cli
>
To see a list of people in your contacts list who you can message, type:
> contact_list
To view a list of all current chats, groups and unread messages type:
> dialog_list
To message a contact or group, type msg followed by their name (remember that you can use tab to autocomplete) and then your message:
> msg
To view a conversation or chat history type history followed by the name of the contact or group and the number of lines you wish to see:
> history
To exit
> quit
E.g.: history Liam 10 will print the 10 most recent messages in my conversation with Liam:
|
|
186 | cups printer manjaro | sudo systemctl start cups.service
sudo systemctl status cups.service
sudo systemctl enable cups.service
lpstat -p -d
respuesta: printer HP-LaserJet-m1120n-MFP
lpr -P printer filename
lpr filename |
|
185 | How to get rid of MySQL error 'Prepared statement needs to be re-prepared' | The error went away for me when I added table_definition_cache=5000 in my /etc/my.cnf file (under the [mysqld] section), and restarted mysqld. Note that my.cnf may be in a different location for you |
|
184 | borrar keyring | rm ~/.local/share/keyrings/login.keyring |
|
183 | ubuntu 19.10 apache userdir modul | # cd /etc/apache2/conf-available
# vim httpd-userdir.conf
(editart)
# cd /etc/apache2/conf-enabled
# ln -s ../conf-avalaible/httpd-userdir.conf .
# cd /etc/apache2/mods-enabled
# ln -s ../mods-avalaible/userdir.load .
# systemctl restart apache2
# systemctl status apache2
|
|
182 | mysql password | cd c:\wamp64\bin\mysql\mysql5.7.26\bin
mysql -uroot mysql
mysql> set password for root@localhost=password('gurugu'); |
|
181 | manjaro HP Laserjet M1120n MFP | $ sudo hp-plugin
start programm HP device Manager |
|
180 | mysql from remote host torre | in host giraldo:
----------------------
create user 'martinez'@'torre' identified by 'gurugu';
grant all privileges on *.* to 'martinez'@'torre.%' identified by 'gurugu' with grant option;
|
|
179 | banco popular | Cuenta banco popular Nombre: Maria Encarnacion Martinez Santamaria
Entidad: 0075
Oficina: 0250
D.C: 73
Num. Cuenta: 0700504028
IBAN: ES19 0075 0250 7307 0050 4028
|
|
178 | fedora apache | Apache does need a 'followsymlinks' directive, and you may have to change an SELinux
/etc/selinux/config:
#SELINUX=enforcing
SELINUX=disabled
save end reboot. |
|
177 | dvd player codecs | sudo apt-get install libdvdnav4 libdvdread4 gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly libdvd-pkg
sudo dpkg-reconfigure libdvd-pkg |
|
176 | ssh: connect to host giraldo port 22: Connection refused | # vi /etc/ssh/sshd_config
X11Forwarding yes |
|
175 | arch sudo | # vim /etc/sudoers
add:
martinez ALL=(ALL) ALL |
|
174 | apache config nuc | Cambiado en php.ini:
Descomentar
extension=gd.so
|
|
173 | Increase Import Size Limit in phpMyAdmin | edit file /etc/php5/apache2/php.ini
post_max_size = 32M
upload_max_filesize = 32M
|
|
172 | Enable root acces ssh and rsync | edit file /etc/ssh/sshd_config
#PermitRootLogin without-password
PermitRootLogin yes
perform command
sudo service ssh restart
|
|
171 | share con smb | Despues de hacer sharing en el file manager hay que dar una clave smb:
sudo smbpasswd -a martinez |
|
170 | know_hosts en .ssh | Error key gen solución, Borrar la linea
ssh-keygen -R {server.name.com} |
|
169 | instalar ffmpeg video | sudo add-apt-repository ppa:kirillshkrogalev/ffmpeg-next
sudo apt-get update
sudo apt-get install ffmpeg |