-
Continue reading →: install composer
curl -sS https://getcomposer.org/installer -o /tmp/composer-setup.php HASH=curl -sS https://composer.github.io/installer.sig php -r «if (hash_file(‘SHA384’, ‘/tmp/composer-setup.php’) === ‘$HASH’) { echo ‘Installer verified’; } else { echo ‘Installer corrupt’; unlink(‘composer-setup.php’); } echo PHP_EOL;» sudo php /tmp/composer-setup.php –install-dir=/usr/local/bin –filename=composer composer
-
Continue reading →: Procedimientos almacenados en mysql
Crear procedimiento almacenado Listar procedimientos almacenados select * from mysql.proc; — Ó select name from mysql.proc; Mostrar procedimiento almacenado SHOW CREATE PROCEDURE nombre_procedimiento;
-
Continue reading →: Install wpscan to audit sites in wordpress
sudo apt update sudo apt install curl git libcurl4-openssl-dev make zlib1g-dev gawk g++ gcc libreadline6-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 autoconf libgdbm-dev libncurses5-dev automake libtool bison pkg-config ruby ruby-bundler ruby-dev -y sudo gem install wpscan wpscan –update wpscan –url http://site_maked_with_wordpress.xxx
-
Continue reading →: Install anaconda 2023-09
The provided content outlines a series of commands to update the system, download and install Anaconda3 from its repository, navigate to the temp directory, and then install and update the scikit-learn-intelex library using conda. Finally, it lists the conda installations.
-
Continue reading →: Instalacion de cassandra 4.1.3 sobre debian / ubuntu
The text provides instructions for installing Cassandra on Debian 12 or any Debian derived distribution. It mentions that Cassandra requires Java Virtual Machine and Python3. It suggests installing open-jdk-8 for compatibility. Instructions are also given to verify the Java, Python3 versions, and Cassandra functionality after installation.
-
Continue reading →: Install mongodb – Debian 12
Esta es una alternativa a instalar mongodb sobre Debian 12 pues no están aun los paquetes (2023-09-30)
-
Continue reading →: Encontrar texto en archivos
grep -Ril «texto» * Donde * se determina el directorio donde realizara la búsqueda find -type f -exec grep -l «texto» {} +
-
Continue reading →: Omitir cambios locales en pull
git checkout master git branch new-backup-branch git fetch –all git reset –hard origin/master
-
Continue reading →: Crear proyecto con laravel 9.X
composer create-project laravel/laravel NAME-PRJ && cd NAME-PRJ php artisan key:generate –ansi php artisan make:controller XXXXController // agregar el enrutador use App\Http\Controllers\XXXXController; Route::get(‘/data’, [XXXXController::class, ‘index’])->name(‘data’); // donde /data es la URI he index es una función en el controlador
-
Continue reading →: Presentar nombre de fechas, meses y días en español
SET lc_time_names = ‘es_ES’;