...
Referensi
- ID-PHPSentiAnalysis - Indonesian Sentiment Analysis in PHP, https://github.com/yasirutomo/php-sentianalysis-id
Dream.Make.Believe
...
...
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
install extention imap
install mailparse : pecl install mailparse
Setelah composer install, jika ada error :
Executing script cache:clear [KO]
[KO]
Script cache:clear returned with error code 1
!!
!! In ArrayNode.php line 220:
!!
!! The child node "key" at path "cspoo_swiftmailer_mailgun" must be configured
!! .
!!
!!
!!
Script @auto-scripts was called via post-update-cmd
Ikuti langkah disini : https://github.com/tehplague/swiftmailer-mailgun-bundle/issues/74#issuecomment-428552701
Untuk proses update jangan menuliskan perintah composer update, tapi lakukan hal berikut :
MAILER_URL=smtp://smtp.mailgun.org:587?encryption=tls&username=ausername&password=apassword###< symfony/swiftmailer-bundle ###MAILGUN_DOMAIN="domain.com"MAILGUN_API_KEY="domain_key"MAILGUN_SENDER="info@domain.com"
php bin/console swiftmailer:email:send --from=<from email> --to=<to email> --subject="Foo" --body="Bar"
....Mailbox refreshed successfully !!!PHP Fatal error: Uncaught ErrorException: Notice: Unknown: [ALERT] Filesystem notification initialization error -- contact your mail administrator (check for configuration errors with the FAM/Gamin library) in Unknown:0Stack trace:#0 [internal function]: Symfony\Component\Debug\ErrorHandler->handleError(8, 'Unknown: [ALERT...', 'Unknown', 0, NULL)#1 {main}thrown in Unknown on line 0Fatal error: Uncaught ErrorException: Notice: Unknown: [ALERT] Filesystem notification initialization error -- contact your mail administrator (check for configuration errors with the FAM/Gamin library) in Unknown:0Stack trace:#0 [internal function]: Symfony\Component\Debug\ErrorHandler->handleError(8, 'Unknown: [ALERT...', 'Unknown', 0, NULL)#1 {main}thrown in Unknown on line 0
Export Tickets
Jika berlangganan paket Suite Team, maka kita tidak akan mendapat akses ke fungsionalitas Report untuk mengexport data ticket-ticket yang masuk. Jika menggunakan custom view, yg bisa diexport hanya 2000 tiket.
Ada beberapa solusi menggunakan API yg telah dibuat oleh komunitas. Dintaranya timpalac/zendeskexport [1], kelemahannya, hanya bisa meng-export maksimal 1000 tiket dalam satu requeat.
Zenpy pun menawarkan solusi, salah satu nya adalah yg telah ditulis oleh Paul [2][3], tapi sepertinya API nya sudah kadaluarsa (?). Setelah mencoba memodifikasi script diatas, Alhamdulillah, akhirnya bisa menarik data tiket Zendesk :
Dari ekosistem Pentaho, ada yang menawarkan plugin untuk Zendesk [4], tapi ketika mencoba untuk dibuild, masih error :
[INFO] Scanning for projects... [INFO] [INFO] -----------------< org.pentaho.pdi:pdi-zendesk-plugin >----------------- [INFO] Building PDI Zendesk Plugin 1.3.2-SNAPSHOT [INFO] --------------------------------[ jar ]--------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.149 s [INFO] Finished at: 2021-09-08T20:07:24+07:00 [INFO] ------------------------------------------------------------------------ [ERROR] Plugin org.pentaho.maven.plugins:license-helper-maven-plugin:1.26 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.pentaho.maven.plugins:license-helper-maven-plugin:jar:1.26: Could not transfer artifact org.pentaho.maven.plugins:license-helper-maven-plugin:pom:1.26 from/to maven-default-http-blocker (http://0.0.0.0/): Blocked mirror for repositories: [pentaho-public (http://nexus.pentaho.org/content/groups/omni/, default, releases+snapshots)] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException