Catatan

In app purchase Ionic 3

In App Purchase 2 Ionic 3 https://ionicframework.com/docs/v3/native/in-app-purchase-2/#QUIET In App Purchase 2 Ionic (default page) https://ionicframework.com/docs/native/in-app-purchase-2 Platform https://ionicframework.com/docs/angular/platform Guide IAP In App Purchases with Ionic (3+ & InAppPurchase2) https://medium.com/@captaincole/in-app-purchases-with-ionic-3-af13b21f49f2 Progress IAP 7/6/2020 In-app purchase in Android using Ionic 4 https://enappd.com/blog/in-app-purchase-in-android-app-using-ionic-4/97/ In App Purchases with Ionic (3+ & InAppPurchase2) https://medium.com/@captaincole/in-app-purchases-with-ionic-3-af13b21f49f2 Use app signing by Google Play https://support.google.com/googleplay/android-developer/answer/7384423

Sign Ionic 3 apk

Apk Metainfo Warning https://stackoverflow.com/a/52132597 How to check certificate name and alias in keystore files? https://stackoverflow.com/a/12894334 Ionic4 Unoptimized APK (.aab) https://forum.ionicframework.com/t/ionic4-unoptimized-apk/166337/6

Upload image in local storage phone using Ionic 3

Nota ni bakal dikemaskini~ Gunakan plugin - camera - file - webview - domsanitizer const   options :  CameraOptions  = {                quality :   70 ,                destinationType :   this . camera . DestinationType . FILE_URI ,                encodingType :   this . camera . EncodingType . JPEG ,                sourceType  :   this . camera . PictureSourceType . CAMERA ,                mediaType :   this . camera . MediaType . PICTURE ,                allowEdit  :   true ,       ...

Cara setup python di apache

Imej
Hi Assalamualaikum semua. Hari ni Lee post tentang cara - cara untuk run code python di server apache. 1. Download python di https://www.python.org/downloads/ 2. This PC -> Right Click ‘Properties’ -> System Properties ‘Advanced’ -> Environment Variables 3. Cari dir python, paste C:\Users\______\AppData\Local\Programs\Python\Python38-32\Scripts di PATH 4. Install pip, secara default python akan install pip untuk pengguna. Install jika pip tiada di PC anda. 5. Install env ‘py -m pip install --user virtualenv’ 6. Create a virtual environment in specific project (jangan lupa untuk masukkan project file di htdocs). 7. Activate env 8. Install python library pymysql pandas datetime math scipy numpy relativedelta requests norm json 9. Di xampp, buka httpd.conf 10. Di file httpd.conf, cari coding dan tambah config seperti di bawah (Rujukan seperti di bawah); Sumber https://www.python.o...

LINUX TRICKS

Imej
How to Remove Files and Directories Using Linux Command Line https://linuxize.com/post/how-to-remove-files-and-directories-using-linux-command-line/ CentOS / RHEL 7 : Shutting Down, Suspending, or Rebooting Commands (systemctl) https://www.thegeekdiary.com/centos-rhel-7-shutting-down-suspending-or-rebooting-commands-systemctl/ How do I find Apache http server log files? https://blog.codeasite.com/how-do-i-find-apache-http-server-log-files/ Error  502 Bad Gateway The server returned an invalid or incomplete response.  Resolving a 502 bad gateway error message -  https://www.allconnect.com/blog/502-bad-gateway-error-explained What Is 502 Bad Gateway Error and How to Fix It in WordPress? -  https://www.cloudways.com/blog/wordpress-502-bad-gateway-error/ NGINX 502 Bad Gateway: PHP-FPM -  https://www.datadoghq.com/blog/nginx-502-bad-gateway-errors-php-fpm/ - - *Suggestion  Linux chattr Command Tutorial for Beginners -  https:...

JS - Calculate Date in Javascript

JavaScript Date Formats https://www.w3schools.com/js/js_date_formats.asp Subtract days from a date in JavaScript https://stackoverflow.com/a/1296398 Get difference between 2 dates in JavaScript? https://stackoverflow.com/q/3224834 Calculate week and get the day balance Convert int to whole number using floor() https://www.w3schools.com/jsref/jsref_floor.asp Get the balance using % https://stackoverflow.com/a/4228376 How to calculate the number of days between two dates in javascript? https://www.geeksforgeeks.org/how-to-calculate-the-number-of-days-between-two-dates-in-javascript/

Deploy CodeIgniter project on Ubuntu

htaccess Ubuntu https://askubuntu.com/a/942755 https://stackoverflow.com/questions/44438644/500-internal-server-error-after-changing-allowoverride-to-all-in-ubuntu https://www.vultr.com/docs/setup-a-codeigniter-application-on-ubuntu-16-04