Some notes on trading
Short form
Entry price (EP)
Stop loss (SL) atau cut loss (CL)
Take profit / target price (TP)
Some notes on trading
Short form
Entry price (EP)
Stop loss (SL) atau cut loss (CL)
Take profit / target price (TP)
If you are building site for customer, you probably want to design it on your own web hosting first. After the design completed, then only you will transfer it to your customer web hosting.
Below are quick steps on how to transfer complete Divi website from one wordpress setup to another (within same server or different server.
1. Export wordpress content
Go to Tools > Export. Choose “All content” then click “Download Export File”
2. Export Divi Theme Options
In navigation menu. Go to Divi > Theme Options.
Click the “arrow up and down” icon at top right.
Then click on “Export Divi Theme Options” button
3. Export Divi Theme Customizer
In navigation menu. Go to Divi > Theme Customizer
Click the “arrow up and down” icon at top left.
Then click on “Export Divi Theme Customizer” button
After setting up new WordPress, don’t forget to do the following steps before importing
Once all done and set, you can now start importing all exported files. Start with the 3, 2 and 1.
Some useful extension I’m using
The whole process may take 2-5 minutes. The estimation given is 1minute for ever 1GB disk size but normally it is a lot faster.
DO reference:
https://docs.digitalocean.com/products/droplets/how-to/resize/
To deploy the application securely
1. All application and system source code to be placed not in public_html directory

public_html should contain index.php, assets with css and js files and .htaccces that should look like this if you want to get rid of the index.php thing in the routing)
2. Modify .htaccess file
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]
3. Update config files such as config.php, database.php and routes.php
4. Modify index.php set
$system_path = '../system';$application_folder = '../application'Steps to install can refer here
https://flutter.dev/docs/get-started/install
Install Flutter for Mac
export PATH="$PATH:`pwd`/flutter/bin" Install VS Code extension
Start new application in VS Code
It is safe to disable a default action when you double click a file.

When double click, set the action to “None”. So you won’t get trouble replacing some files on server by mistake!
Some notes for me to refer and remind myself
unlike PHP, a variable must be declared first before been assigned. or it can be declared and assigned at the same time
var myVar = 1;
to get string length:
stringLength = aString.length;
to get nth letter in a string
letter = aString[aString.length-1] // get the last letter
array in javascript. array can also contains array as element
myArray = [“this is string”, 200, true, [“Bulls”, 23]];
use .push() to push element to an array. .pop() to remove last element. .shift() to remove first element and return the element (can assign to a variable)
myArray.push(“another element”);
deletedLastElement = myArray.pop();
Put files in your /public to /public_html directory
The remaining should be place in the home directory (same level as public_html directory)
To make it more readable, you can put the remaining files in another new directory like /my_project
Update /public_html/index.php to point path to correct path
Download Divi.zip from Divi member page
Install a wordpress using softaculous
Go to Appearance > Themes > Add New > Upload Theme
Choose Divi.zip and click on “Install Now”
If error ““The link you followed has expired.” is displayed, go to cPanel > MultiPHP INI Editor. Change “post_max_size” and “upload_max_filesize” to bigger than Divi.zip file size (e.g. 15MB)