Table: cnotas, rows: 170

Página 1 de 9
           


Deprecated: strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /home/http/docs/santaclara5/libraries/src/HTML/Helpers/Grid.php on line 48

Deprecated: strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /home/http/docs/santaclara5/libraries/src/HTML/Helpers/Grid.php on line 48

Deprecated: strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /home/http/docs/santaclara5/libraries/src/HTML/Helpers/Grid.php on line 48
id titulo contenido
198install windows 11 from iso fileinstall woeusb:
sudo pamac build woeusb

make bootable USB:
sudo woeusb --device Win11_22H2_EnglishInternational_x64v2.iso /dev/sda
197Cambiar fecha a un directorio de fotosexiftool -AllDates="2023:07:05 11:30:00" .
196fedora httpd firewallDespues de la instalacion
-------------------------------------
sudo firewall-cmd --add-service=http
sudo firewall-cmd --add-service=https
195export import m_dbhttp://picota/phpmyadmin
select m_db
export
Custom - display all possible options
Object creation options
Add statements:
Add CREATE DATABASE / USE statement
Add DROP TABLE / VIEW / PROCEDURE / FUNCTION / EVENT / TRIGGER statement

Go

Save file en ~/bin/sql/picota/m_db.sql
cd ~/bin/sql/picota
./m_dbImport
194Joomla tmp filesudo mkdir /home/http/tmp
sudo chown www-data:martinez /home/http/tmp
sudo nano /etc/php/7.4/apache2/php.ini
edit:
file_uploads = On
upload_tmp_dir ="/home/http/tmp"
upload_max_filesize = 100M
post_max_size = 100M

sudo systemctl restart apache2
193uninstall mariadbIf you are using ubuntu, I suggest you to use the apt-get command to remove the database package, for instance:

$ sudo apt-get purge mariadb-server

You may check which mariadb packages are installed with:

$ sudo dpkg -l | grep mariad
192ubuntu mysql root$ sudo mysql -u root # I had to use "sudo" since is new installation

mysql> USE mysql;
mysql> SELECT User, Host, plugin FROM mysql.user;

+------------------+-----------------------+
| User | plugin |
+------------------+-----------------------+
| root | auth_socket |
+------------------+-----------------------+
As you can see in the query, the root user is using the auth_socket plugin

There are 2 ways to solve this:

You can set the root user to use the mysql_native_password plugin
You can create a new db_user with you system_user (recommended)

Option 1:

$ sudo mysql -u root # I had to use "sudo" since is new installation

mysql> USE mysql;
mysql> UPDATE user SET plugin='mysql_native_password' WHERE User='root';
mysql> FLUSH PRIVILEGES;
mysql> exit;

$ sudo service mysql restart

Option 2: (replace YOUR_SYSTEM_USER with the username you have)

$ sudo mysql -u root # I had to use "sudo" since is new installation

mysql> USE mysql;
mysql> CREATE USER 'YOUR_SYSTEM_USER'@'localhost' IDENTIFIED BY 'YOUR_PASSWD';
mysql> GRANT ALL PRIVILEGES ON *.* TO 'YOUR_SYSTEM_USER'@'localhost';
mysql> UPDATE user SET plugin='auth_socket' WHERE User='YOUR_SYSTEM_USER';
mysql> FLUSH PRIVILEGES;
mysql> exit;

$ sudo service mysql restart
191imagick manjaro php 8Ubuntu:
-----------
sudo apt install php-imagick

manjaro
----------
sudo pacman -S php-imagick

File:
/etc/php/conf.d/imagick.ini
descomentar:
extension=imagick

ubuntu
-----------
sudo systemctl restart apache2

manjaro
-----------
sudo systemctl restart httpd
190manjaro php 8 httpdFile /etc/httpd/conf/httpd.conf
comentar:
#LoadModule php7_module modules/libphp7.so
#AddHandler php7-script .php
#

poner al final:
LoadModule php_module modules/libphp.so
AddHandler php-script php
Include conf/extra/php_module.conf
Include conf/extra/phpmyadmin.conf

189phpmyadminQuitar el error tmp
-------------------------
sudo mkdir /usr/share/webapps/phpMyAdmin/tmp/
sudo mkdir /usr/share/webapps/phpMyAdmin/tmp/twig
sudo chown -R http /usr/share/webapps/phpMyAdmin/tmp/

quitar phpMyAdmin ERROR: mysqli_real_connect(): (HY000/1045): Access denied
--------------------------------------------------------------------------------------------------------------
CREATE USER 'phpmyadmin'@'%' IDENTIFIED BY 'gurugu';
GRANT ALL PRIVILEGES ON *.* TO 'phpmyadmin'@'%' WITH GRANT OPTION;

En manjaro editar /etc/php/php.ini y descomentar
extension=iconv



188ssh start remote apparranca el file manager nautilus
-----------------------------------
ssh -Y picota nautilus
187Enviar mensaje a Telegraminstalar 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:
186cups printer manjarosudo 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
185How 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
184borrar keyringrm ~/.local/share/keyrings/login.keyring
183ubuntu 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
182mysql password cd c:\wamp64\bin\mysql\mysql5.7.26\bin
mysql -uroot mysql
mysql> set password for root@localhost=password('gurugu');
181manjaro HP Laserjet M1120n MFP$ sudo hp-plugin
start programm HP device Manager
180mysql from remote host torrein host giraldo:
----------------------
create user 'martinez'@'torre' identified by 'gurugu';

grant all privileges on *.* to 'martinez'@'torre.%' identified by 'gurugu' with grant option;
179banco popularCuenta banco popular Nombre: Maria Encarnacion Martinez Santamaria

Entidad: 0075
Oficina: 0250
D.C: 73
Num. Cuenta: 0700504028
IBAN: ES19 0075 0250 7307 0050 4028