Category Archives: Uncategorized

Javascript notes

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();

List of Javascript built-in objects

Using Divi on cPanel share hosting

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)

How to manage to do lists

You prepare a to do list to make sure you get things down. End up you have too many items in the list and none gets done.

So now you have to manage the to do list.

Instead of one to do list with lots of items on it. Make 3 lists.

1. List with important and urgent items to do. Must finish it TODAY

2. List with important but not urgent items. Must do but still can wait to finish it. You still have time to plan and do.

3. List with the rest of items. Where you mix all other items in this list. You can then remove any items because they are not important after some time, or you can move items to list number 2 or number 1

Mistakes by startups

  1. Not talking to real customers for features. Too many assumptions made or talk to wrong audiences
  2. Underprice the solutions. Good to start to enter the market, but must adjust quickly
  3. Slow in making sales, do follow ups and other sales and marketing activities. Focus too much on technical and worry too much customers can’t accept what they have
  4. Not focusing on cash flow and fund raising enough. For SaaS the revenue is very slow at start.

Unit apartment untuk dijual di Sri Palma Villa Mantin (owner)

Rumah untuk dijual Sri Palma Villa, Mantin, Negeri Sembilan (direct owner)

  • Blok 1, Tingkat 9
  • Bedroom: 3
  • Bathroom: 3
  • Built Up: ~1000 sqft
  • Price: RM110k cash/140 installment (nego/offer your price)
  • Maintenance: RM130/month
  • Telah habis bayaran loan bank

Kelebihan rumah

  • Dilengkapi table top
  • Rumah dijaga dengan baik
  • Sebab jual – tinggal di rumah lain dan sukar untuk maintain kerana tinggal jauh

Kelebihan Taman

  • Suasana yang tenang dan selamat
  • Kemudahan kolam renang, bbq pit, dewan di club house
  • Kawalan keselamatan 24 jam
  • Surau dalam taman. Boleh jalan kaki
  • Kemudahan kedai runcit, kedai makan di blok dan club house
  • Taman permainan dan court
  • Akses mudah berhampiran jalan besar
  • Berhampiran kolej

Akses

  • Bandar Mantin
  • Bandar Nilai
  • Akses highway LEKAS (Tol Pajam)
  • Akses highway PLUS (Tol Nilai)
  • KLCC
  • Seremban
  • KLIA

Berminat atau ada sebarang pertanyaan boleh hubungi

Azwan 012-2815182 (prefer whatsapp)

kolam renang
Security 24 jam
Play ground
Bilik 1 (attached bath room)
Bilik 2
Bilik 3 (attached bath room)
Ruang Tamu
Ruang makan
Dapur

Rumah untuk dijual di Taman Seri Bangi (direct owner)

Rumah untuk dijual Taman Seri Bangi (direct owner)

  • 2 tingkat
  • Bedroom: 4
  • Bathroom: 3
  • Built Up: 1650 sqft
  • Land Area: 22 x 70
  • Price: RM670k (nego/offer your price)

Kelebihan rumah

  • Parking kereta yang luas
  • Dilengkapi kitchen cabinet
  • Awning dibelakang utk jemur pakaian
  • Bahagian ruang tamu, dapur dan tangga baru dicat
  • Rumah dijaga dengan baik
  • Sebab jual – untuk berpindah ke tempat lain

Kelebihan Taman

  • Kejiranan yang mesra dan baik
  • Suasana yang tenang dan selamat
  • Kawalan keselamatan 24 jam
  • Surau dalam taman. Boleh jalan kaki
  • Kemudahan kolam renang, bbq pit, dewan di club house
  • Kemudahan pelbagai kedai (di belakang rumah) boleh jalan kaki seperti restoran, pizza hut, dobi, bank, kedai elektrik, kedai barangan sekolah, klinik dsb.
  • 3 taman permainan, 1 futsal court, 1 basket ball court
  • Akses mudah. Betul-betul di tepi jalan besar
  • Kemudahan bank, restoran, klinik, kedai buku di kedai hadapan

Akses

  • Pusat Bandar Bangi
  • Tol Kajang PLUS – 10 minit
  • Tol Bangi PLUS – 7 minit
  • IOI City Mall – 12 minit
  • Alamanda Putrajaya – 15 minit
  • UKM – 7 minit
  • UPM – 10 minit
  • UNITEN – 11 minit
  • KLCC – 33 minit
  • KLIA – 37 minit
  • Seremban – 35 minit

Berminat atau ada sebarang pertanyaan boleh hubungi

Azwan 012-2815182 (prefer whatsapp)

 

seri bangi ground floor

Berminat atau ada sebarang pertanyaan boleh hubungi

Azwan 012-2815182 (prefer whatsapp)