Tuesday 10 March 2015

Tujuan utama dari tabel periodik adalah untuk memprediksi sifat kimia dari suatu unsur.

Apa saja sifat kimia?
1. Mudah terbakar apa tidak?
2. Mudah busuk apa tidak?
3. Berkarat apa tidak?
4. Mudah meledak apa tidak?
5. Beracun apa tidak?


Javascript - Function

1. Mempermudah / meringkas penulisan program
2. Bisa menciptakan fungsi reusable. Fungsi reusable adalah fungsi menggunakan fungsi lain.

Komponen
- Nama
- Argumen/parameter
- return
Fungsi harus mempunyai return.


Contoh:
function countapples(bobapples, johnapples)
{
return bobapples+johnapples
}

Contoh reusable:
function avg(a, b)
{
return (countapples(a,b) / 2)
}

Javascript - Collection

Collection adalah koleksi dari properti-properti.

Misalnya seorang pengusaha kos-kosan yang mempunyai beberapa bangunan kos.
Kos1 = {alamat: "Jl. Adisucipto No. 38", jlhkmr: 8}
Kos2 = {alamat: "Jl. H. Subrantas No. 47", jlhkmr: 3}

Misal seorang poligami yang mempunyai istri lebih dari satu
istri1 = {nama: "siti", umur:32, anak:2}
istri2 = {nama: "rini", umur:32, anak:1}

Misal kamu punya banyak properti (tanah atau rumah):
Properti1 = {jenis:"rumah", lokasi:"Jl. Muaratakus nomor 38", Harga_beli=47000000, status: "IMB"}
Properti2 = {jenis:"tanah", lokasi: "Jl. Mataram No. 48", Harga_beli = 177000000, status: "IMB"}
Properti3 = {jenis: "tanah", lokasi: "Jl. Teropong No. 31", Harga_beli = 148000000, status: "IMB"}

Monday 9 March 2015

FTP

Penjelasan singkat tentang FTP

FTP is a transfer protocol designed to aid in the moving of files from one location to another over a network.

FTPs are widely used to access the contents of webservers, and many enthusiast groups will create FTP servers as a way to share files between members.

While you can connect to an FTP server using your browser, you will find a lot more functionality if you use a dedicated FTP client.

Tools:

1. 1 Buah FTP client.
Misal: FileZilla, SmartFTP (https://www.smartftp.com/download)

Data/Informasi yang dibutuhkan untuk melakukan koneksi FTP:

1. Alamat IP server FTP atau nama domain server FTP yang anda tuju.
2. Username dan password yang legal.
3. Alamat Port: port 21.

Sunday 8 March 2015

Halo, video singkat ini akan membahas  Digitalread serial.

Komponen yang digunakan:
1. 3 buah kabel jumper (Red, black and white) sebagai jumper ke breadboard
2. 1 buah resistor 1 Kohm sebagai resitor pull-down
3. dan, 1 buah switch tactile sebagai
4. Arduino sketch software tempat untuk memasukkan program

Yang pertama kita lakukan adalah:
1. Membuka software sketch arduino
2. Klik file, examples, basic, digital read seria
3. Kemudian upload program ke board arduinonya
4. Kemudian klik serial monitor untuk membaca


Yang perlu kita perhatikan:
1.





Saturday 7 March 2015

Algorithm to make Raspberry PI

1. Berapa pin gpio yang kamu butuhkan untuk menyalakan rangkaian?
2. Berapa pin gpio dari poin 1 diatas yang kamu jadikan mode input?
3. Berapa pin gpio dari poin 1 diatas yang akan kamu jadikan mode output?



1. Mengimport library atau mengimpor modul
2.


#!/usr/bin/python
import RPi.GPIO as GPIO
GPIO.setmode(GPIO.BCM)
GPIO.cleanup()
GPIO.setwarnings(False)
GPIO.setup(17,GPIO.out)
GPIO.setup(27,GPIO.out)
print "Lights On"
GPIO.output(17, GPIO.HIGH)
GPIO.output(27, GPIO.HIGH)



Friday 6 March 2015

algorithm to design a logo

1. Determine the text.
Contoh: kedai kopi yuli.

2. Choose the color of your text

3. Draw your text

3. Determine your main word
For instances:
grocery, bakery, goods delivery, cleaning service, etc.

4. Choose a symbol to present the main word

5. Draw your logo behind your text

4. Determine your word (adjective word):
For instances:
1. Forever; loop; continuous
2. Pure
3. Saint;
4. Happines
5. Courage
6. Strength
7. Fellow
8. Instant / flash
9. All over the world


5. Choose a symbol to perform your adjective word
For instances
1. An omega symbol is for forever or loop or continuous symbol.
2. A crystal for