Thursday, 31 December 2015

Memarahi diri sendiri

Nantilah kau kerjakan itu..
Tidak pakai tanda seru
Tidak memaki

Program that detect mouse left button down or up | Small Basic

The code below simply output a text "Mouse UP" when mouse left button is clicked is up and a text "Mouse Down" when mouse left click is down or clicked.

GraphicsWindow.MouseDown = mousedown
loopz:

If Mouse.IsLeftButtonDown = "False" then
TextWindow.WriteLine("Mouse UP")
endif
Program.Delay(100)
Goto loopz

Sub mousedown
  If Mouse.IsLeftButtonDown = "True" Then
    TextWindow.WriteLine("Mouse DOWN")
  EndIf
EndSub
While x <> 9
  x = Math.GetRandomNumber(10)
  j = j + 1
EndWhile
TextWindow.WriteLine(j)

Wednesday, 30 December 2015

What is bandwidth monitoring?

Bandwidth monitoring create simple reports on bandwidth usage by:
port for traffic sent from your system.
port for traffic routed through your system.

Bandwidth monitoring useful for both stand-alone hosts and gateway.

Before bandwidth monitoring can be used, module must setup firewall rules and a syslog entry.
And after that, you must select the system's external network interface, on which


Tuesday, 29 December 2015

Kongruensi

You eat 1/4 of a pizza that has radius of 2cm.
You eat 1/2 of a dunnot that has radius of 2cm for outer circle and 1cm inner for circle. How big is that you eat?
You drink 3/4 volume a spherical left. How big is that you drink?

Graphic

Graphics helps you explain a function, like:
What is value between two point of interval

Function distinguished into:
- Discrete function, and
- Continuous function

Sunday, 27 December 2015

Kak bagaimana sih cara appand suatu nilai ke suatu array?

Cara gampangnya gini dek:
1. Cari panjang/length array-nya dulu
2. Kemudian x[length+1] = data

Atau kalau mau yang lebih praktis, pakai fungsi built-in javascript push dek.