Daily Weekly Monthly

Weekly Shaarli

All links of one week in a single page.

Week 34 (August 19, 2019)

Adminer | mysql tool | Echo 'System'

Adminer

Le remplacent de phpmyadmin ! pour la gestion des base de données !

Adminer (aciennement phpMinAdmin) est écrit en PHP.

Gestion de multiples base de données.

Avec une seule page php installer sur votre server.

Interface simple est léger.

Adminer est fonctionnel pour : MySQL, MariaDB, PostgreSQL, SQLite, MS SQL, Oracle, Firebird, SimpleDB, Elasticsearch and MongoDB.
Adminer - Database management in a single PHP file

Adminer ­
Database management in a single PHP file

English
Čeština
Slovenčina
Deutsch
Polski

Adminer
Adminer Editor
Plugins
News
Forums
Bugs
Code

Adminer – screenshot

Adminer (formerly phpMinAdmin) is a full-featured database management tool written in PHP. Conversely to phpMyAdmin, it consist of a single file ready to deploy to the target server. Adminer is available for MySQL, MariaDB, PostgreSQL, SQLite, MS SQL, Oracle, Firebird, SimpleDB, Elasticsearch and MongoDB.
See: Features, Requirements, Skins, References
Download
v 4.7.2, 2019-07-18
Online demo
Why is Adminer better than phpMyAdmin?

Replace phpMyAdmin with Adminer and you will get a tidier user interface, better support for MySQL features, higher performance and more security. See detailed comparison.

Adminer development priorities are: 1. Security, 2. User experience, 3. Performance, 4. Feature set, 5. Size.
Screenshots

Jellyfin: The Free Software Media System

The Free Software Media System

Jellyfin is the Free Software Media System that puts you in control of managing and streaming your media. There are no strings attached, no premium licenses or features, and no hidden agendas.

Fd – Une alternative simple et plus rapide à Find – Homputer Security

Si vous êtes utilisateur Linux, vous êtes à coup sûr familier à la commande Find et à sa complexité. Aujourd’hui, nous allons découvrir une alternative appelée fd.

Fd est un outil de recherche simple, convivial destiné à opérer plus rapidement que Find.

Ci-dessous quelques caractéristiques notables de fd:
Ne cherche pas les dossiers et fichiers cachés par défaut,
Ne cherche pas les fichiers .gitignore et .ignore par défaut,
Prend en compte l’Unicode,
Utilise un affichage coloré similaire à la comande ls,
Supporte les expression régulières.
Beaucoup plus rapide que find. Visitez ce lien pour voir des benchmarks réalisés entre find et fd.
Installation

Pour installer fd sur les systèmes basés sur Debian, rendez-vous sur la page des releases, puis téléchagez la toute dernière version. Installez-le ensuite l’outil à l’aide de dpkg.

$ wget https://github.com/sharkdp/fd/releases/download/v7.3.0/fd-musl_7.3.0_amd64.deb
$ sudo dpkg -i fd-musl_7.3.0_amd64.deb

Ci-dessous le menu d’aide de fd. Pour plus de détails, faîtes fd --help.

How to install mcrypt in php7.2 / php7.3 | Lukáš Mešťan

Verify php and pecl version

php -v
pecl version

If your php isn’t 7.2 then use /usr/bin/php7.2 instead php command.
Install mcrypt extension

Mcrypt PECL extenstion

sudo apt-get -y install gcc make autoconf libc-dev pkg-config
sudo apt-get -y install libmcrypt-dev
sudo pecl install mcrypt-1.0.1

When you are shown the prompt

libmcrypt prefix? [autodetect] :

Press [Enter] to autodetect.

After success installing mcrypt trought pecl, you should add mcrypt.so extension to php.ini.

The output will look like this:

...
_
Build process completed successfully
Installing '/usr/lib/php/20170718/mcrypt.so' ----> this is our path to mcrypt extension lib
install ok: channel://pecl.php.net/mcrypt-1.0.1
configuration option "phpini" is not set to php.ini location
You should add "extension=mcrypt.so" to php.ini

Grab installing path and add to cli and apache2 php.ini configuration.

sudo bash -c "echo extension=/usr/lib/php/20170718/mcrypt.so > /etc/php/7.2/cli/conf.d/mcrypt.ini"
sudo bash -c "echo extension=/usr/lib/php/20170718/mcrypt.so > /etc/php/7.2/apache2/conf.d/mcrypt.ini"

Verify that the extension was installed

Run command:

php -i | grep "mcrypt"

The output will look like this:


/etc/php/7.2/cli/conf.d/mcrypt.ini
Registered Stream Filters => zlib.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk, convert.iconv.*, mcrypt.*, mdecrypt.*
mcrypt
mcrypt support => enabled
mcrypt_filter support => enabled
mcrypt.algorithms_dir => no value => no value
mcrypt.modes_dir => no value => no value```