Sunday, 22 February 2015

Next project:
1. Membuat bible online yang bebas dari nama Allah.

Raspberry Projects

1. Turn on Raspberry into Ad-Blocker

Langkah:
1. Login ke Pi, masukkan username dan password.
Default username: pi, default password: raspberry.

2. Paste dan enter code berikut:
curl -s "https://raw.githubusercontent.com/jacobsalmela/pi-hole/master/automated%20install/basic-install.sh" | bash

3. Tunggu proses instalasi selesai

4. Setting komputer penguji lain di network kamu supaya menggunakan alamat IP pi sebagai DNS server.



2. Turn on a Raspberry Pi as VNC server

Langkah:
1. Login ke Pi, masukkan username dan password.
Default username: pi, default password: raspberry.

2. Ketik di Terminal Window "sudo apt-get update" untuk mengupdate sistem operasi rpi kamu ke versi paling terbaru.

3. Ketik "y" ketika ditanya.

4. Setelah proses updating selesai, ketikkan perintah/command: "sudo install tightvncserver". Tekan "y" dan tekan Enter ketika ditanya.

5. Setelah tight VNC server selesai diinstalasi, kamu dapat memulai software/program tight VNC server ini dengan mengetik: "vncserver:1"

6. Hal diatas akan membuat kamu diminta untuk memasukkan/membuat satu password. Ingat di kepala bahwa password dapat paling banyak 8 karakter.

7. Setelah kamu selesai menginputkan password, kamu selesai. Sekarang kamu dapat menggunakan komputer manapun di network kamu yang ada terinstal VNC client untuk mengakses secara rpi remote.

3. Turn on a Raspberry Pi as Wireless access point Router



Python Introduction

1. Printing
2. Variables
3. Basic math operator (add/tambah, subtract/kurang, multiply/kali)
4. Basic variable types(string, integers)
5. Concatenating string
6. Casting an integer to a string
7. Booleans (True/False)
8. Inequalities (Greater than / less than)
9. If/Else statements
10. Lists
11. List method
12. Adding list together with +
13. Sets
14. For loops
15. Indexing strings
16. Splitting strings
17. Tuples
18. Dictionaries


IDLE3 (Python Programming environment) mencakup:
1. Python shell window: to see result when you Run/F5 your code.
2. Python Editor Window: in which you can write, save and test your code.





Space recognition trick (Memorize program's code)

Module Module1

    Sub Main()
        FileOpen(1, "D:/hello.txt", OpenMode.Input)

        While Not EOF(1)
            Console.WriteLine(LineInput(1))
        End While

        Console.ReadLine()

    End Sub

End Module


For example:

Module is the most left of the code.
Sub Main() is space-out 1 space from Module and shifted a litle bit to the right.
FileOpen is shift a litle bit to the right and after the Sub Main.
While Not is aligned with FileOpen and space-out 1 space from FileOpen.
Console.writeline is shifted a litle bit to the right and inside While Not and End While.
End While is aligned to While Not
Console.readline is space-out 1 space from EndWhile and aligned to EndWhile
End Sub is space-out 1 space from console.readline() and aligned with Sub Main().
EndModule is space-out 1 space from End Sub and aligned with Module.

Pergi ke suatu tempat dan pulang dari suatu tempat dengan matahari


Investing

1. Picking individual stock.
2. Tracking individual stock daily performance.
3. Constantly buying and selling.

Saturday, 21 February 2015

Man VS Machine


Algorithms are making it increasingly difficult for investors to beat the market.