Skip to content

Instantly share code, notes, and snippets.

View fhmd-94's full-sized avatar
🎯
Focusing

fhmd-94

🎯
Focusing
View GitHub Profile
@fhmd-94
fhmd-94 / minio.txt
Last active November 6, 2020 07:51
Minio Images S3
# Step 1 : Start minio server with non-persistent data storage policy
#
# Description: -p 9000:9000: Minio server runs on port 9000 inside the docker container, -e 9000:9000 command is exposing the internal port on
# on external port.
#
# -e "MINIO_ACCESS_KEY=access_key": It sets an envrionment variable inside container named as MINIO_ACCESS_KEY
# with the value provided by user. It will be used when a user wants to access
# minio server
#
# -e "MINIO_SECRET_KEY=access_key_secret": It sets an envrionment variable inside container named as MINIO_SECRET_KEY
@fhmd-94
fhmd-94 / tips-trik-mysql.md
Last active October 1, 2020 03:32
Tips And Trik Database Mysql

Login mysql cli another server

mysql -u username -p -h host_ip --port=port

Export/Dump database

mysqldump -u user -p database [table, table] > name_file.sql
@fhmd-94
fhmd-94 / magento-static-file-generate-without-version.md
Last active February 7, 2022 14:54
Remove Version Number In File Paths in Magento 2

Hide Version js/css

insert into core_config_data (config_id, scope, scope_id, path, value) values (null, 'default', 0, 'dev/static/sign', 0);
$php bin/magento setup:static-content:deploy -f
$php bin/magento cache:flush
$php bin/magento cache:clean