layout | title | date | categories | author |
---|---|---|---|---|
post |
Welcome to Jekyll! |
2019-01-27 14:04:32 +0700 |
jekyll update |
Jye Kall |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title></title> | |
<style type="text/css"> | |
table { | |
margin-top: 10px; | |
margin-bottom: 10px; | |
} | |
table, th, td { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
String sql = "SELECT u.id, u.nama, a.id, a.nama FROM user AS u INNER JOIN user_achievement AS i ON u.id = i.user_id INNER JOIN achievement AS a ON i.achievement_id = a.id"; | |
MysqlDataReader result = ReadData(sql); | |
List<UserAchievement> listUserAchievement = new List<UserAchievement>() | |
while(result == true) | |
{ | |
User user = new User(); | |
user.id = result[0].getStringData(); | |
user.nama= result[1].getStringData(); | |
Achievement achievement = new Achievement(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fun main(args: Array<String>) { | |
var tos = Node(5) //Membuat Node 5 sebagai parent tree | |
tos.left = Node(4) //Menambahkan Node 4 sebagai left child dari parent | |
tos.right = Node(6) //Menambahkan Node 6 sebagai right child dari parent | |
var tempLeft = Node(tos.left) //Menyimpan left node dari Parent ke variabel penampung | |
tempLeft.left = Node(2) //Menambahkan Node 2 sebagai left node dari node 4 | |
tempLeft.right = Node(3, Node(8), null) //Menambahkan Node 3 sebagai right node dari node 4, lalu ditambahkan node 8 sebagai left node dari node 3 | |
tos.left = Node(tempLeft) //Mengembalikan node yang ada pada variabel penampung ke left node parent | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fun main(args: Array<String>) { | |
var boss = NodeString("H") //Menambahkan Node H sebagai parent utama | |
boss.left = NodeString("A") //Menambahkan Node A sebagai left child dari H | |
boss.right = NodeString("C") //Menambahkan Node C sebagai right child dari H | |
var templv2left = NodeString(boss.left) //Menyimpan Node A di sebuah variabel sementara | |
templv2left.left = NodeString("Z") //Menambahkan Node Z sebagai left child dari A | |
templv2left.right = NodeString("N", NodeString("D"), NodeString("F")) // Menambahkan Node N sebagai right child dari A, serta menambahkan Node D dan F sebagai child dari A. | |
boss.left = NodeString(templv2left) // Mengembalikan Node A yang ada di variabel sementara ke Left Node Parent |
layout |
---|
post |
Ini adalah hari kedua saya belajar Jekyll, perjalanan masih panjang. semangat!
layout | title | date | categories | permalink |
---|---|---|---|---|
post |
Welcome to Jekyll! |
2019-01-27 14:04:32 +0700 |
jekyll update |
/welcome |
layout | title | date | categories | permalink |
---|---|---|---|---|
post |
Welcome to Jekyll! |
2019-01-27 14:04:32 +0700 |
jekyll update |
/:categories/:title |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Build settings | |
markdown: kramdown | |
theme: minima | |
plugins: | |
- jekyll-feed | |
defaults: | |
- | |
scope: | |
path: "" |
My New Post today.
OlderNewer