Tuesday, 24 February 2015

Scratch

Scratch help us to:
1. Create own computer games
2. Create interactive stories
3. Create animation
Without having to write code a.k.a just by drag-and-drop.

WIFI

Master said: "It just a configuration"

1. Set up wireless network

Data yang diperlukan:
Nama SSID yang akan dibuat:
Apakah SSID boleh dimunculkan atau tidak boleh.
Jenis keamanan jaringan yang akan digunakan: WPA, WPA2
Password untuk masuk ke dalam SSID:




2. Bridging 2 wireless coverage between 2 access point
Syarat: AP 1 harus bisa detek AP 2. AP2 harus bisa detek AP1.

Parameter yang perlu disetting:

3. Denying a host / MAC filtering

Data yang diperlukan:
Alamat MAC PC/laptop/gadget yang ingin dilarang masuk ke dalam SSID.

4. Set up login server / RADIUS server

5. Set up SNMP server for the access point

6.

Network Troubleshooting

ipconfig
ping
tracert
nslookup


IPconfig


ipconfig: information gathering: ip address, your router's ip address, your DNS server ip address, DHCP server iP address (ipconfig /all),

Ping

ping: allows you to send a SIGNAL to another Device on the NETWORK to see if it is ACTIVE
try:
1. ping your router a.k.a gateway a.k.a default router.
2. ping other PC.
3. ping outside the network PC.

Tracert

Tracert let's you see, the step-by-step route a packet takes to the destination you specify.

You can also use the term HOPS instead of routers. So, if it takes 10 routers to get to google.com, you can instead say. "it took 10 hops".

NSLOOKUP

This command will fetch the DNS records for a given domain name or for a given IP address. Remember the IP address and domain names are stored in DNS servers, so the nslookup command cause you to query the DNS Record to gather information.

8.8.8.8 --> google-public-dns-a.google.com

Terdiri dari:
1. Interactive mode
2. Non-interactive mode

Non-authoritative : non-your DNS server reply.

ls -a

Record type Name server

1. CNAME
Nickname; alias for a machine.
Name:
Hostname:

2. A record
Informasi yang butuh:
1. Name:
2. Address:

3. SOA record
Data yang dibutuhkan
1. Name :
2. Primary server name:
3. Minimum T T L:
4. Retry time:
5. Mail Box:
6. Refresh Time:
7. Expiry Time:

4. NS record
Data yang dibutuhkan
1. Name
2. Server name

IANA list of root server DNS
IANA list of root server DNS


Monday, 23 February 2015

Aktivasi Mandiri Internet Banking

Flowchart aktivasi layanan Mandiri Internet Banking adalah:

Registrasi melalui mesin ATM > Masukkan password OTP (biasanya angka 123456) > Aktivasi di situs www.bankmandiri.co.id > Masukkan no. kartu ATM sbg Access ID, password OTP yang di-inputkan di mesin ATM sebagai Access code > Masukkan username yang anda inginkan > Ganti password OTP anda dengan password yang anda inginkan


Resiko salah dalam memasukkan pin internet banking mandiri yang telah teraktivasi adalah:
Account internet banking anda akan terhapus secara sistem (bukan rekening anda yang terhapus; hanya account internet banking anda saja yang terhapus).

Solusi jika salah dalam memasukkan pin adalah:
Menunggu 1x24 jam dan selepas masa tunggu harus relogin lagi dari ATM untuk mulai dari awal.

Sunday, 22 February 2015

Bahan-bahan / yang perlu disediakan:

1. Sebuah cerita, contoh seperti berikut:

Once upon a time there was a wizard called Carrie Anne. She and some friends found themselves in the magic land of Turingville. This land was ruled by Ben the wizard. All of sudden a mysterious voice spoke to them from high in the sky and said you must kiss Ben the wizard to lift the curse of not being able to use technology.

2. Sebuah nama pengguna
3. Sebuah gender pengguna
4. Sebuah kondisi untuk mendapatkan pronoun berdasarkan gender pengguna, apakah he/she/it.
4. Sebuah nama hari ini.
5. 4 buah list:
List pertama : peranan / role
List kedua : nama-nama teman yang ada disekitar / names
List ketiga : nama-nama tindakan / actions
List keempat : nama-nama tempat / places
6. Dan sebuah randomisasi

Start of making

Cerita diatas bisa dibuat sebagai berikut:

Once upon a time there was a ____ called ____ . ____ and some friends found themselves in the magic land of ____. This land was ruled by ____ the ____. All of sudden a mysterious voice spoken to them from high in the sky and said you must ____ ____ the ____ to lift the curse of not being able to use technology.

Yang pada akhirnya bisa dibuat sebagai berikut:

Once upon a time, there was a  actor_role called name. " pronoun and some friends found themselves in the magic land of magic_place. This land was ruled by actor_name the actor_role. All of a sudden a mysterious voice spoke to them from high in the sky and said you must quest actor_name the actor_role to lift the curse of not being able to use technology.

List

List yang dipakai:
roles = ["Knight", "Princess", "Prince", "Frog", "Wizard", "ogre"]
names = ["Ben", "Dave", "Liz", "Alex", "Rachel", "Clive", "Eben"]
actions = ["slay", "kiss", "save", "marry", "rescue", "eat"]
places = ["Computopia", "Turringville", "Digitopolis", "Bool city"]

Randomisasi

Randomisasi yang akan dipakai tapi sebelumnya harus mengimpor module random. Sebagai berikut:

import random

actor_name =  random.choice(names)
actor_role = random.choice(roles)
quest = random.choice(actions)
magic_place = random.choice(places)

Jika diperhatikan variabel hasil randomisasi inilah yang akan dipakaikan kedalam cerita dan taruh perintah import random di paling atas program.

Kondisi untuk mendapatkan pronoun

Tapi sebelumnya harus mendapatkan gender pengguna. Jadi langkah 3 dan 4 disatukan sebagai berikut:
gender = input ('Apakah kamu cowok atau cewek? ')
if gender == "girl":
    pronoun = "she"
elif gender == "boy":
    pronoun = "he"
else
    pronoun = "it"

Sebuah nama pengguna


Untuk mendapatkan nama pengguna sebagai berikut dan disimpan ke dalam variabel name.
name = input ('What is your name? ')

Merangkumkan program

name = input ('What is your name? ')
gender = input('Apakah kamu boy atau girl? ')
if gender == "girl":
    pronoun = "she"
elif gender == "boy"
    pronoun = "he"
else
    pronoun = "it"

 'List
roles = ["Knight", "Princess", "Prince", "Frog", "Wizard", "Ogre"]
names = ["Ben", "Dave", "Liz", "Alex", "Rachel", "Clive", "Eben"]
actions = ["slay", "kiss", "save", "marry", "rescue", "eat"]
places = ["Computopia", "Turringville", "Digitopolis", "Bool city"]

'Randomization
actor_name = random.choice(names)
actor_role = random.choice(roles)
quest = random.choice(actions)
magic_place = random.choice(places)

'Now, the story
Story = "Once upon a time, there was a " + actor_rule + "called " + name + ". " + pronoun + " and some friends found themselves in the magic land of " + magic_place + ". This land was ruled by " + actor_name + " the " + actor_role + ". All of sudden a mysterious voice spoke to them from high in the sky and said you must " + quest + " "  + actor_name + " the " + actor_role + " to lift the curse of not being able to use technology... "

The video to show:
 
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