Thursday, 26 May 2022

Moodle

Di [1] ada instruksi untuk mengubah settingan mysql menjadi : 



[mysqld]
innodb_file_per_table = 1

character-set-server = utf8mb4
collation-server = utf8mb4_unicode_ci
skip-character-set-client-handshake

Konfigurasi ini, terutama : innodb_file_per_table,  jika diterapkan di TAO, apakah dapat meningkatkan performa nya ?

Referensi

  1. MySQL full unicode support, https://docs.moodle.org/400/en/MySQL_full_unicode_support

Wednesday, 13 October 2021

WhatsApp Blaster

Baileys API


git clone https://github.com/ookamiiixd/baileys-api.git

cd baileys-api

npm i 

npm i @adiwajshing/keyed-db

sudo npm install pm2@latest -g

pm2 start --name="baileys-api" npm -- start

Referensi

  1. whatsapp-play, A command line software through which you can play with your WhatsApp, https://github.com/whatsplay/whatsapp-play
  2. WhatsBlaster, https://github.com/kyleissuper/WhatsBlaster
  3. Baileys - Typescript/Javascript WhatsApp Web API, https://github.com/adiwajshing/Baileys
  4. Baileys API, https://github.com/ookamiiixd/baileys-api

Tuesday, 12 October 2021

Kutt : Free Modern URL Shortener

cd /opt/webapps/kutt

sudo -u www-data pm2 startup

sudo env PATH=$PATH:/usr/bin pm2 startup systemd -u wildanm --hp /var/www

sudo -u www-data pm2 save

Referensi

  1. Kutt, a modern URL shortener with support for custom domains. Shorten URLs, manage your links and view the click rate statistics, https://github.com/openthinklabs/kutt
  2. pm2 startup script, https://pm2.keymetrics.io/docs/usage/startup/
  3. How to ensure Kutt process starts on server start? , https://github.com/thedevs-network/kutt/issues/273