Implementasi - Chetabahana/method GitHub Wiki
Pada project ini kita akan bahas tentang pengejawantahan dari implementasi lebih ke realisasi aplikasi, atau pelaksanaan rencana, ide, model, desain, spesifikasi, standar, algoritma, atau kebijakan untuk spesifikasi atau standar perhitungan kedalam bahasa pemrograman.
Detilnya dibahas terpisah yang berujung pada konfigurasi Program dalam tiga (3) proses: (1). Bagan (formasi-329), (2). Diagram (formasi-289), dan (3). Mapping (formasi-168).
directory _assets
directory a
file a1 <- weight: 1
file a2 <- weight: 2
directory b
file b1 <- weight: 1
file b2 <- weight: 2
directory c
file c1 <- weight: 1
file c2 <- weight: 2
#!/bin/sh
# (replace "find ." with "find ./<path>" below, to work with only specific paths)
# (these lines are really all one line, on multiple lines for clarity)
# ...find symlinks which do not dereference to directories...
find . -type l -exec test '!' -d {} ';' -print -exec sh -c \
# ...remove the symlink blob, and add the content diff, to the index/cache
'git rm --cached "$1"; diff -au /dev/null "$1" | git apply --cached -p1 -' \
# ...and call out to "sh".
"process_links_to_nondir" {} ';'
# the end
Tehnik ini sering sekali digunakan dalam pembuatan plugin,component dalam suatu aplikasi baik cms,ecommerce,intranet aplikasi.
Secara default direktori hooks adalah $ GIT_DIR / hooks, tetapi itu dapat diubah melalui variabel konfigurasi core.hooksPath (lihat git-config (1)).
Sebelum Git memanggil sebuah hook, ia mengubah direktori kerjanya menjadi $ GIT_DIR dalam repositori kosong atau root dari pohon yang berfungsi dalam repositori non-telanjang.
Pengecualian adalah kait yang dipicu selama push (pra-terima, perbarui, pasca-terima, pasca-pembaruan, push-to-checkout) yang selalu dijalankan dalam $ GIT_DIR.
Hooks bisa mendapatkan argumen mereka melalui lingkungan, argumen command-line, dan stdin. Lihat dokumentasi untuk setiap kait di bawah ini untuk detailnya.
git init dapat menyalin kait ke repositori baru, tergantung pada konfigurasinya. Lihat bagian "TEMPLATE DIRECTORY" di git-init (1) untuk detailnya. Ketika sisa dokumen ini mengacu pada "kait default", itu berbicara tentang templat default yang dikirimkan bersama Git.
Alur 6 ke 9 berasal dari alur 5 ke 6 adalah proses ke-1/2 Formasi 25-29 (id: 83) pada Partisi ke-5 atau ke-11/12 dari Flowchart. Scope: Blok 16 ke (39,50) via (25,26).
Angka 1771 memiliki sekaligus dua (2) angka tujuh (7) demikian juga dengan akar digitalnya sehingga menjadikannya sebagai angka paling dominan disini.
+-----+-----+-----+-----+-----+-----+-----+
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
+-----+-----+-----+-----+-----+-----+-----+
| | | | | | | |
+-----+-----+-----+-----+-----+-----+-----+
Cermin
11 is the top left prime position it cascades out to the left and circles back around the system.
+-----+-----+-----+-----+-----+-----+-----+
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
+-----+-----+-----+-----+-----+-----+-----+
| | | | 11 | | | |
+-----+-----+-----+-----+-----+-----+-----+
Batas
1 or 19 is rather the top right prime position it mirrors 11, cascading out to the right and back around the system.
+-----+-----+-----+-----+-----+-----+-----+
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
+-----+-----+-----+-----+-----+-----+-----+
| 19 | | | 11 | 19 | | |
+-----+-----+-----+-----+-----+-----+-----+
Mirror
2 and 10 act as "doubler" alternating between the doubling of prime next to them and across (Red: illustrated by an hexagon covering number 2).
The number 6 multiplies itself trough the system as a straight line.
13 is rather the top right prime position it mirrors 18, cascading out to the left and back around the system.
+-----+-----+-----+-----+-----+-----+-----+
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
+-----+-----+-----+-----+-----+-----+-----+
| 19 | 17 | | 11 | 19 | 18 | |
+-----+-----+-----+-----+-----+-----+-----+
The number 3 multiplies itself trough the system as a perfect square.. It bounces from position 3 to 6, to 9, to 12. All multiplies of 3 are found in these positions (Red: illustrated by a perfect square covering number 3).
+-----+-----+-----+-----+-----+-----+-----+
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
+-----+-----+-----+-----+-----+-----+-----+
| 19 | 17 | 12 | 11 | 19 | 18 | |
+-----+-----+-----+-----+-----+-----+-----+
5 is the first prime position. It functions as a star in some respects bouncing back and forth across the system counter clockwise (Red: illustrated by counter clockwise of bouncing star polygon)
+-----+-----+-----+-----+-----+-----+-----+
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
+-----+-----+-----+-----+-----+-----+-----+
| 1771 |
+-----+-----+-----+-----+-----+-----+-----+
+-----+-----+-----+-----+-----+-----+-----+
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
+-----+-----+-----+-----+-----+-----+-----+
17 | 71 - 17
+-----+-----+-----+-----+-----+-----+-----+
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
+-----+-----+-----+-----+-----+-----+-----+
17 | 11 | 71 - 17 - 11
7 is the second prime position. It mirrors the path of 5 touching each postions exactly opposite criss-crossing 5's path clockwise (Red: illustrated by clockwise of bouncing star polygon)
X7 = 71 - 17 - 11 = 43
+-----+-----+-----+-----+-----+-----+-----+
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
+-----+-----+-----+-----+-----+-----+-----+
| 19 | 17 | 12 | 11 | 19 | 18 | 43 |
+-----+-----+-----+-----+-----+-----+-----+
Twin Primes:
P(5, 7), (11, 13), (17, 19)
β β β
5:19 β β
β 7:17 β
βββ 5 + 7 = 12
11 β
β βββ 12 + 7 = 19
β
βββ 11 + 7 = 18
βββ 71 - 17 - 11 = 43
βββ 4 + 3 = 7
βTerms = 19 + 17 + 12 + 11 + 19 + 18 + 43 = 139
βββ 1 + 3 + 9 = 13
βββ 1 + 3 = 4
Permutations:
β(5,7,11,13,17,19)=72
6 & 7 = 67 = 19th prime
6+7=13, 7+2=9, 67+72=139
Untuk selanjutnya kita sebut saja formasi ini sebagai formasi 1-3-9.
Sampai disini kita sudah menentukan metoda untuk kunci pertama yaitu 139.
+-----+-----+-----+-----+-----+-----+-----+
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
+-----+-----+-----+-----+-----+-----+-----+
| 19 | 17 | 12 | 11 | 19 | 18 | 43 | 139
+-----+-----+-----+-----+-----+-----+-----+
Keistimewaan angka 139 menurut wikipedia:
- 139 adalah bilangan prima ke-34.
- Ini adalah prime kembar dengan 137.
- Karena 141 adalah semiprime, 139 adalah prima Chen.
- 139 adalah prime terkecil sebelum gap prime length 10. [1]
- Angka ini adalah jumlah dari lima bilangan prima berurutan ( 19 + 23 + 29 + 31 + 37 ).
- Ini adalah faktor terkecil dari 64079.
- Ini juga merupakan faktor terkecil dari sembilan istilah pertama dari urutan Euclid-Mullin, menjadikannya istilah kesepuluh.
- 139 adalah angka bahagia dan angka yang sangat non-palindromik.
- Simak untuk keistimewaanΒ² lainnya.
Dari teori DNA maka fenomena yang paling cocok dengan uraian di atas adalah Rekombinasi DNA yaitu mencakup pemutusan dan penggabungan kembali sel kromososm.
Alur 9 ke 10 berasal dari alur 6 ke 9 adalah proses ke-2/2 Formasi 25-29 (id: 83) pada Partisi ke-5 atau ke-12/12 dari Flowchart. Scope: Blok 17 ke (51,68) via (27,29).
Pada bagian ini kita akan bahas tentang detil pewarisan dari Diagram Flowchart berikut dengan instantiation dan implementasinya.
id: 43
---+-----+-----
1 | 1 | 8
---+-----+-----
2 | 9 | 14
---+-----+-----
3 | 15 | 25
---+-----+-----
4 | 26 | 45
---+-----+-----
5 | 46 | 56
---+-----+-----
6 | 57 | 66
---+-----+-----
7 | 67 | 73
---+-----+-----
8 | 74 | 80
---+-----+-----
9 | 81 | 89
---+-----+-----
Twin Primes:
(5,7), (11,13), (17,19)
Horizontal
+----+----+----+----+----+----+
| 5 | 7 | 11 | 13 | 17 | 19 |
+----+----+----+----+----+----+
1 | 2 | 3 |
+----+----+----+----+----+----+
| 5 | 7 | 11 | 13 | 17 | 19 |
+----+----+----+----+----+----+
7 | 13 | 19 |
Permutations:
7 x 13 x 19 = 1729
1729 = 19 x 91
Untuk mendapatkan kombinasi ulang maka kita lakukan pemecahan dan penyatuan kembali seperti peta Rekombinasi DNA berikut ini:
Transformasi
1 | 2 | 3 | 3 | 2 | 1 |
+----+----+----+----+----+----+----+----+----+----+----+----+
| 5 | 7 | 11 | 13 | 17 | 19 | | | | | | |
+----+----+----+----+----+----+----+----+----+----+----+----+
| Ξ¦ |
- Posisi-1
1 or 13 is rather the top right prime position it mirrors 11, cascading out to the right and back around the system.
Seharusnya:
1 or 19 is the top right prime position it mirrors 11, cascading out to the right and back around the system.
Sequence:
| 1 2 3 4 5 6 7
+----+----+----+----+----+----+----+----+----+----+----+----+
| 5 | 7 | 11 | 13 | 17 | 19 | | | | | | |
+----+----+----+----+----+----+----+----+----+----+----+----+
|
- Posisi-2
2 and 10 act as "doubler" alternating between the doubling of prime next to them and across (Red: illustrated by an hexagon covering number 2).
| 1 2 3 4 5 6 7
+----+----+----+----+----+----+----+----+----+----+----+----+
| 5 | 7 | 11 | 13 | 17 | 19 | | | | | | |
+----+----+----+----+----+----+----+----+----+----+----+----+
| | 17
| ^
ββ β β ββ
| 1 2 3 4 5 6 7
+----+----+----+----+----+----+----+----+----+----+----+----+
| 5 | 7 | 11 | 13 | | 19 | 17 | | | | | |
+----+----+----+----+----+----+----+----+----+----+----+----+
| β
- Posisi-3
The number 3 multiplies itself trough the system as a perfect square. It bounces from position 3 to 6, to 9, to 12. All multiplies of 3 are found in these positions (Red: illustrated by a perfect square covering number 3).
| 1 2 3 4 5 6 7
+----+----+----+----+----+----+----+----+----+----+----+----+
| 5 | 7 | 11 | 13 | | 19 | 17 | | | | | |
+----+----+----+----+----+----+----+----+----+----+----+----+
| | 12
| ^
ββ β β β β β β ββ
| 1 2 3 4 5 6 7
+----+----+----+----+----+----+----+----+----+----+----+----+
| 5 | 7 | 11 | | | 19 | 17 | 12 | | | | |
+----+----+----+----+----+----+----+----+----+----+----+----+
| β
- Posisi-4
11 is the top left prime position it cascades out to the left and circles back around the system (Red: illustrated by counter clockwise of golden ratio)
| 1 2 3 4 5 6 7
+----+----+----+----+----+----+----+----+----+----+----+----+
| 5 | 7 | 11 | | | 19 | 17 | 12 | | | | |
+----+----+----+----+----+----+----+----+----+----+----+----+
| | 11
| ^
ββ β β β β β β β ββ β β β ββ
| 1 2 3 4 5 6 7
+----+----+----+----+----+----+----+----+----+----+----+----+
| 5 | 7 | | | | 19 | 17 | 12 | 11 | | | |
+----+----+----+----+----+----+----+----+----+----+----+----+
| β
- Posisi-5
5 is the first prime position. It functions as a star in some respects bouncing back and forth across the system counter clockwise (Red: illustrated by counter clockwise of bouncing star polygon)
All other exception are multiplies of 5 and 7 or 11 and 13. All squarred primes land in position 1. All twin primes (pairs on the sides of 6 and 12 up) to be a multiplies of 12.
| 1 2 3 4 5 6 7
+----+----+----+----+----+----+----+----+----+----+----+----+
| 5 | 7 | | | | 19 | 17 | 12 | 11 | | | |
+----+----+----+----+----+----+----+----+----+----+----+----+
| | 19
| ^
ββ β β β β β β β ββ
| 1 2 3 4 5 6 7
+----+----+----+----+----+----+----+----+----+----+----+----+
| 5 | 7 | | | | 19 | 17 | 12 | 11 | 19 | | |
+----+----+----+----+----+----+----+----+----+----+----+----+
| β
- Posisi-6
The number 6 multiplies itself trough the system as a straight line. It bounces back and forth between 6 and 12 (Red: illustrated by a straight line).
All other exception are multiplies of 5 and 7 or 11 and 13. All squarred primes land in position 1. All twin primes (pairs on the sides of 6 and 12 up) to be a multiplies of 12.
| 1 2 3 4 5 6 7
+----+----+----+----+----+----+----+----+----+----+----+----+
| 5 | 7 | | | | 19 | 17 | 12 | 11 | 19 | | |
+----+----+----+----+----+----+----+----+----+----+----+----+
| | | 11+7
| | ^
βββ β β β β β β β β ββ β β β β βββ β β ββ
| 1 2 3 4 5 6 7
+----+----+----+----+----+----+----+----+----+----+----+----+
| 5 | | | | | 19 | 17 | 12 | 11 | 19 | 18 | |
+----+----+----+----+----+----+----+----+----+----+----+----+
| β
- Posisi-7
7 is the second prime position. It mirrors the path of 5 touching each postions exactly opposite criss-crossing 5's path clockwise (Red: illustrated by clockwise of bouncing star polygon).
| 1 2 3 4 5 6 7
+----+----+----+----+----+----+----+----+----+----+----+----+
| 5 | | | | | 19 | 17 | 12 | 11 | 19 | 18 | |
+----+----+----+----+----+----+----+----+----+----+----+----+
| | 18+5 ?
| ^
ββ β β β β β β β ββ β β β β β β β β β β β β β β ββ
Exception to the prime position occur when prime interact with each other. The first exception (25) to the prime position is when 5 multiplies by itself or is squared. The second exception (35) is 5 interracting with 7.
- 114 + 18 + 5Β² = 114 + 43 = 157
| 1 2 3 4 5 6 7
+----+----+----+----+----+----+----+----+----+----+----+----+
| 5 | | | | | 19 | 17 | 11 | 12 | 19 | 18 | |
+----+----+----+----+----+----+----+----+----+----+----+----+
| | 18+5Β²
| ^
ββ β β β β β β β ββ β β β β β β β β β β β β β β ββ
| 1 2 3 4 5 6 7
+----+----+----+----+----+----+----+----+----+----+----+----+
| | | | | | 19 | 17 | 12 | 11 | 19 | 18 | 43 |
+----+----+----+----+----+----+----+----+----+----+----+----+
| β
Twin Primes:
(5,7), (11,13), (17,19)
+-----+-----+-----+-----+-----+-----+-----+
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
+-----+-----+-----+-----+-----+-----+-----+
| 1771 |
+-----+-----+-----+-----+-----+-----+-----+
+-----+-----+-----+-----+-----+-----+-----+
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
+-----+-----+-----+-----+-----+-----+-----+
17 | 71 - 17
+-----+-----+-----+-----+-----+-----+-----+
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
+-----+-----+-----+-----+-----+-----+-----+
17 | 11 | 71 - 17 - 11 = 43
+-----+-----+-----+-----+-----+-----+-----+
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
+-----+-----+-----+-----+-----+-----+-----+
| 19 | 17 | 12 | 11 | 19 | 18 | 43 | 139
+-----+-----+-----+-----+-----+-----+-----+ |
| 1 | 3 | 9 | βββ 1Β»3Β»9
+-----+-----+-----+-----+-----+-----+-----+
Permutations:
19, 17+12=29, 11+19=30, 18+43=61 Β» d(1,2,3,7)
139 = d(1,2+3,7) = d(1,5,7) = d(67) = d(13) = d(4)
119 + 217 + 312 + 411 + 519 + 618 + 743 = 2939 = 29 & 39
Rekombinasi melibatkan pemecahan dan penyatuan kembali dua (2) kromosom (M dan F) untuk menghasilkan dua (2) kromosom yang disusun ulang (C1 dan C2).
Disini formasi bilateral ada di angka 30 ke 60 yang bergabung dengan angka 9 menjadi 69 objek karenanya proses kita alihkan ke angka dua (2) pada bagan berikutnya.
https://jekyllrb.com/docs/templates/
sort: 'weight'
{% assign assets = site.assets | sort: 'weight' %} {% for asset in assets %} { "title": {{ asset.title }} } {% unless forloop.last %},{% endunless %} {% endfor %}
{ "title": file a1 &lt;- weight: 1 }, { "title": file b1 &lt;- weight: 1 }, { "title": file c1 &lt;- weight: 1 }, { "title": file a2 &lt;- weight: 2 }, { "title": file b2 &lt;- weight: 2 }, { "title": file c2 &lt;- weight: 2 }
{ "title": directory a, "files": [ { "title": file a1 &lt;-- weight: 1 }, { "title": file a2 &lt;-- weight: 2 } ] }, { "title": directory b, "files": [ { "title": file b1 &lt;-- weight: 1 }, { "title": file b2 &lt;-- weight: 2 }, { "title": directory c, "files": [ { "title": file c1 &lt;-- weight: 1 }, { "title": file c2 &lt;-- weight: 2 } ] } ] }
- Jekyll Liquid Template: Use Variable of Layout in Page
- How can I pass variables between DRY templates and ncludes in Jekyll
&#123;&#123; asset.title &#125;&#125;
=> Capital
{% assign assets = site.assets | sort: 'weight' %} {% for asset in assets %} { "title": {{ asset.title }} } {% unless forloop.last %},{% endunless %} {% endfor %}
_assets/head/head.md _assets/skema/sequence.md _assets/skema/sequence/object.md _assets/head/beranda.md _assets/skema/flowchart.md _assets/skema/sequence/method.md _assets/head/abstrak.md _assets/skema/railroad.md _assets/head/skema.md _assets/head/eksekusi.md _assets/head/portfolio.md _assets/head/network.md _assets/head/publikasi.md _assets/head/diskusi.md _assets/head/bottom.md
_assets/head/head.md _assets/head/beranda.md _assets/head/abstrak.md _assets/head/skema.md _assets/skema/sequence.md _assets/skema/sequence/object.md _assets/skema/sequence/method.md _assets/skema/flowchart.md _assets/skema/railroad.md _assets/head/eksekusi.md _assets/head/portfolio.md _assets/head/network.md _assets/head/publikasi.md _assets/head/diskusi.md _assets/head/bottom.md
_assets/head/ _assets/head/ _assets/head/ _assets/head/ _assets/skema/sequence/ _assets/skema/sequence/ _assets/skema/ _assets/skema/ _assets/skema/ _assets/head/ _assets/head/ _assets/head/ _assets/head/ _assets/head/ _assets/head/
_assets/head/ _assets/skema/sequence/ _assets/skema/
_assets/skema/sequence/ _assets/head/ _assets/skema/
_assets/skema/sequence/ _assets/skema/sequence/object.md _assets/skema/sequence/method.md
_assets/skema/sequence/md _assets/skema/sequence/object.md _assets/skema/sequence/method.md _assets/skema/flowchart.md _assets/skema/railroad.md
_assets/head/skema/md _assets/skema/sequence/md _assets/skema/sequence/object.md _assets/skema/sequence/method.md _assets/skema/flowchart.md _assets/skema/railroad.md
_assets/head/md _assets/head/beranda.md _assets/head/abstrak.md _assets/head/skema/md _assets/skema/sequence/md _assets/skema/sequence/object.md _assets/skema/sequence/method.md _assets/skema/flowchart.md _assets/skema/railroad.md _assets/head/eksekusi.md _assets/head/portfolio.md _assets/head/network.md _assets/head/publikasi.md _assets/head/diskusi.md _assets/head/bottom.md
_assets/head/md _assets/head/beranda.md _assets/head/abstrak.md _assets/head/skema/md _assets/skema/sequence/md _assets/skema/sequence/object.md _assets/skema/sequence/method.md _assets/skema/flowchart.md _assets/skema/railroad.md _assets/head/eksekusi.md _assets/head/portfolio.md _assets/head/network.md _assets/head/publikasi.md _assets/head/diskusi.md _assets/head/bottom.md
{ "title": "Beranda", --&gt; atribut.. }, { "title": "Abstrak", --&gt; atribut.. }, { "title": "Skema", --&gt; atribut.., "files": [ { "title": "Sequence", --&gt; atribut.., "files": [ { "title": "Object", --&gt; atribut.. }, { "title": "Method", --&gt; atribut.. } ] }, { "title": "Flowchart", --&gt; atribut.. }, { "title": "Railroad", --&gt; atribut.. }, ] }, { "title": "Eksekusi", --&gt; atribut.. }, { "title": "Portfolio", --&gt; atribut.. }, { "title": "Publikasi", --&gt; atribut.. }, { "title": "Diskusi", --&gt; atribut.. }, { "title": "Bottom", --&gt; atribut.. }
https://github.com/chetabahana/chetabahana.github.io/blob/master/feed.json https://github.com/chetabahana/chetabahana.github.io/blob/master/_includes/feed/Json
size: https://shopify.github.io/liquid/filters/size/
[ {% assign my_assets = site.assets | sort: 'weight' %} {% assign my_size = 0 %} {% for asset in my_assets %} {% assign my_split = asset.path | split: "/" %} {% assign size = my_split | size %} {% if my_size &lt; size %} {% assign my_size = size %} {% endif %} { "size": {{ my_size }} }{% unless forloop.last %},{% endunless %} {% endfor %} ]
Catatan: Bila dijumpai Error nil:NilClass sbb:
Error: could not read file /srv/jekyll/_assets/docs/Header: undefined method `split' for nil:NilClass
nil&.split(",")
[ { "size": 3 }, { "size": 3 }, { "size": 4 }, { "size": 4 }, { "size": 4 }, { "size": 4 }, { "size": 4 }, { "size": 4 }, { "size": 4 }, { "size": 4 }, { "size": 4 }, { "size": 4 }, { "size": 4 }, { "size": 4 }, { "size": 4 } ]
[ {% assign my_assets = site.assets | sort: 'weight' %} {% assign my_size = 2 %} {% assign my_path = "" | split: "," %} {% for asset in my_assets %} {% assign my_split = asset.path | split: "/" %} {% assign size = my_split | size %} {% if size &gt; my_size %} {% assign my_path = my_path | push:size %} {% assign my_size = size %} {% endif %} {% endfor %} {% for my_size in my_path reversed %} { "size": {{ my_size }} }{% unless forloop.last %},{% endunless %} {% endfor %} ]
[ { "size": 4 }, { "size": 3 } ]
[ {% assign my_assets = site.assets | sort: 'weight' %} {% assign my_size = 2 %} {% assign my_path = "" | split: "," %} {% for asset in my_assets %} {% assign my_split = asset.path | split: "/" %} {% assign size = my_split | size %} {% if size &gt; my_size %} {% assign my_path = my_path | push:size %} {% assign my_size = size %} {% endif %} {% endfor %} {% for my_size in my_path reversed %} {% for asset in my_assets %} {% assign my_split = asset.path | split: "/" %} {% assign size = my_split | size %} {% if size == my_size %} { "path": {{ asset.path | jsonify }} }{% unless forloop.last %},{% endunless %} {% endif %} {% endfor %} {% endfor %} ]
[ { "path": "_assets/skema/sequence/object.md" }, { "path": "_assets/skema/sequence/method.md" }, { "path": "_assets/head/head.md" }, { "path": "_assets/skema/sequence.md" }, { "path": "_assets/head/beranda.md" }, { "path": "_assets/skema/flowchart.md" }, { "path": "_assets/head/abstrak.md" }, { "path": "_assets/skema/railroad.md" }, { "path": "_assets/head/skema.md" }, { "path": "_assets/head/eksekusi.md" }, { "path": "_assets/head/portfolio.md" }, { "path": "_assets/head/network.md" }, { "path": "_assets/head/publikasi.md" }, { "path": "_assets/head/diskusi.md" }, { "path": "_assets/head/bottom.md" } ]
[ {% assign my_assets = site.assets | sort: 'weight' %} {% assign my_tab = " " %} {% assign my_size = 2 %} {% assign my_path = "" | split: "," %} {% for asset in my_assets %} {% assign my_split = asset.path | split: "/" %} {% assign size = my_split | size %} {% if size &gt; my_size %} {% assign my_path = my_path | push:size %} {% assign my_size = size %} {% endif %} {% endfor %} {% assign my_paths = "" | split: "," %} {% for my_size in my_path reversed %} {% for asset in my_assets %} {% unless asset.path contains "/head/" %} {% assign my_split = asset.path | split: "/" %} {% assign size = my_split | size %} {% if size == my_size %} {% assign my_paths = my_paths | push:asset %} {% endif %} {% endunless %} {% endfor %} {% endfor %} {% assign my_captures = "" | split: "::" %} {% for my_path in my_paths %} {% assign my_size = my_path.path | split: "/" | size %} {% capture my_capture %} {% for i in (1..my_size) %}{{ my_tab }}{% endfor %}{ {% for i in (1..my_size) %}{{ my_tab }}{% endfor %}{{ my_tab }}"path": {{ my_path.path | jsonify }} {% for i in (1..my_size) %}{{ my_tab }}{% endfor %}}{% unless forloop.last %},{% endunless %} {% endcapture %} {% assign my_captures = my_captures | push:my_capture %} {% endfor %} {% for my_capture in my_captures %} {{ my_capture }} {% endfor %} {% assign my_asset = "" | split: "," %} {% for asset in my_assets %} {% if asset.path contains "/head/" %} {% assign my_asset = my_asset | push:asset %} {% endif %} {% endfor %} {% for asset in my_asset %} {{ my_tab }}{{ my_tab }}{ {{ my_tab }}{{ my_tab }}{{ my_tab }}"path": {{ asset.path | jsonify }} {{ my_tab }}{{ my_tab }}}{% unless forloop.last %},{% endunless %} {% endfor %} {{ my_tab }}]
[ { "path": "_assets/skema/sequence/object.md" }, { "path": "_assets/skema/sequence/method.md" }, { "path": "_assets/skema/sequence.md" }, { "path": "_assets/skema/flowchart.md" }, { "path": "_assets/skema/railroad.md" }, { "path": "_assets/head/head.md" }, { "path": "_assets/head/beranda.md" }, { "path": "_assets/head/abstrak.md" }, { "path": "_assets/head/skema.md" }, { "path": "_assets/head/eksekusi.md" }, { "path": "_assets/head/portfolio.md" }, { "path": "_assets/head/network.md" }, { "path": "_assets/head/publikasi.md" }, { "path": "_assets/head/diskusi.md" }, { "path": "_assets/head/bottom.md" } ]
[ {% assign my_assets = site.assets | sort: 'weight' %} {% assign my_tab = " " %} {% assign my_size = 2 %} {% assign my_path = "" | split: "," %} {% for asset in my_assets %} {% assign my_split = asset.path | split: "/" %} {% assign size = my_split | size %} {% if size &gt; my_size %} {% assign my_path = my_path | push:size %} {% assign my_size = size %} {% endif %} {% endfor %} {% assign my_paths = "" | split: "," %} {% for my_size in my_path reversed %} {% for asset in my_assets %} {% unless asset.path contains "/head/" %} {% assign my_split = asset.path | split: "/" %} {% assign size = my_split | size %} {% if size == my_size %} {% assign my_paths = my_paths | push:asset %} {% endif %} {% endunless %} {% endfor %} {% endfor %} {% assign my_captures = "" | split: "," %} {% for my_path in my_paths %} {% assign my_split = my_path.path | split: "/" %} {% assign my_part = my_split | size | minus:2 %} {% assign my_size = my_split | size | | times: 2 | minus:2 %} {% assign my_dir = my_split[my_part] | prepend: "/" | append: "/" %} {% assign my_title = my_path.title | downcase | prepend: my_dir | append: "/" %} {% assign my_index = "" | split: "," %} {% for my_push in my_paths %} {% if my_push.path contains my_title %} {% assign my_index = my_index | push:forloop.index0 %} {% endif %} {% endfor %} {% capture my_capture %} {% for i in (1..my_size) %}{{ my_tab }}{% endfor %}{ {% for i in (1..my_size) %}{{ my_tab }}{% endfor %}{{ my_tab }}"path": {{ my_path.path | jsonify }}{% assign my_index_size = my_index | size %}{% if my_index_size &gt; 0 %}, {% for i in (1..my_size) %}{{ my_tab }}{% endfor %}{{ my_tab }}"item": [{% for index in my_index %}{{ my_captures[index] }}{% unless forloop.last %},{% endunless %}{% endfor %} {% for i in (1..my_size) %}{{ my_tab }}{% endfor %}{{ my_tab }}]{% endif %} {% for i in (1..my_size) %}{{ my_tab }}{% endfor %}} {% endcapture %} {% assign my_captures = my_captures | push:my_capture %} {% endfor %} {% assign my_asset = "" | split: "," %} {% for asset in my_assets %} {% if asset.path contains "/head/" %} {% assign my_asset = my_asset | push:asset %} {% endif %} {% endfor %} {% for asset in my_asset %} {% assign my_title = asset.title | downcase | prepend: "_assets/" | append: "/" %} {% assign my_index = "" | split: "," %} {% for my_path in my_paths %} {% assign my_size = my_path.path | split: "/" | size %} {% if my_size == 3 and my_path.path contains my_title %} {% assign my_index = my_index | push:forloop.index0 %} {% endif %} {% endfor %} {{ my_tab }}{{ my_tab }}{ {{ my_tab }}{{ my_tab }}{{ my_tab }}"path": {{ asset.path | jsonify }}{% assign my_index_size = my_index | size %}{% if my_index_size &gt; 0 %}, {{ my_tab }}{{ my_tab }}{{ my_tab }}"item": [{% for index in my_index %}{{ my_captures[index] }}{% unless forloop.last %},{% endunless %}{% endfor %} {{ my_tab }}{{ my_tab }}{{ my_tab }}]{% endif %} {{ my_tab }}{{ my_tab }}}{% unless forloop.last %},{% endunless %} {% endfor %} {{ my_tab }}]
[ { "path": "_assets/head/head.md" }, { "path": "_assets/head/beranda.md" }, { "path": "_assets/head/abstrak.md" }, { "path": "_assets/head/skema.md", "item": [ { "path": "_assets/skema/sequence.md", "item": [ { "path": "_assets/skema/sequence/object.md" }, { "path": "_assets/skema/sequence/method.md" } ] }, { "path": "_assets/skema/flowchart.md" }, { "path": "_assets/skema/railroad.md" } ] }, { "path": "_assets/head/eksekusi.md" }, { "path": "_assets/head/portfolio.md" }, { "path": "_assets/head/network.md" }, { "path": "_assets/head/publikasi.md" }, { "path": "_assets/head/diskusi.md" }, { "path": "_assets/head/bottom.md" } ]Dengan beberapa penyempurnaan didapat code dengan hasil yang cukup stabil sbb:
{ "version": "https://jsonfeed.org/version/1", "title": "{{ site.title | xml_escape }}", "description": {{ site.description | jsonify }}, "home_page_url": "{{ "/" | absolute_url }}", "feed_url": "{{ "/feed.json" | absolute_url }}", "user_comment": "This feed allows you to read the posts from this site in any feed reader that supports the JSON Feed format.", "items": [{% assign assets = site.assets | sort:0 %}{% assign my_tab = " " %}{% assign my_size = 2 %}{% assign my_path = "" | split: "," %}{% assign atributs = "weight, title, next, content, output, previous, relative_path, id, collection, excerpt, categories, ext, tags, path, url, draft, slug" | split:", " %}{% for asset in assets %}{% assign my_split = asset.path | split: "/" %}{% assign size = my_split | size %}{% if size &gt; my_size %}{% assign my_path = my_path | push:size %}{% assign my_size = size %}{% endif %}{% endfor %}{% assign assets = site.assets | sort: 'weight' %}{% assign my_paths = "" | split: "," %}{% for my_size in my_path reversed %}{% for asset in assets %}{% unless asset.path contains "/head/" %}{% assign my_split = asset.path | split: "/" %}{% assign size = my_split | size %}{% if size == my_size %}{% assign my_paths = my_paths | push:asset %}{% endif %}{% endunless %}{% endfor %}{% endfor %}{% assign my_captures = "" | split: "," %}{% for my_asset in my_paths %}{% assign my_split = my_asset.path | split: "/" %}{% assign my_path_size = my_split | size %}{% assign my_part = my_split | size | minus:2 %}{% assign my_size = my_split | size | times:2 | minus:2 %}{% assign my_dir = my_split[my_part] | prepend: "/" | append: "/" %}{% assign my_title = my_asset.title | downcase | prepend: my_dir | append: "/" %}{% assign my_index = "" | split: "," %}{% for my_push in my_paths %}{% assign my_num = my_push.path | split: "/" | size | minus:my_path_size %}{% if my_num == 1 and my_push.path contains my_title %}{% assign my_index = my_index | push:forloop.index0 %}{% endif %}{% endfor %}{% capture my_capture %} {% for i in (1..my_size) %}{{ my_tab }}{% endfor %}{ {% for i in (1..my_size) %}{{ my_tab }}{% endfor %}{{ my_tab }}"weight": {{ my_asset.weight | jsonify }}, {% for i in (1..my_size) %}{{ my_tab }}{% endfor %}{{ my_tab }}"title": {{ my_asset.title | jsonify }},{% for item in my_asset %}{% unless atributs contains item %} {% for i in (1..my_size) %}{{ my_tab }}{% endfor %}{{ my_tab }}{{ item | jsonify }}: {{ my_asset[item] | jsonify }},{% endunless %}{% endfor %} {% for i in (1..my_size) %}{{ my_tab }}{% endfor %}{{ my_tab }}"path": {{ my_asset.path | jsonify }}, {% for i in (1..my_size) %}{{ my_tab }}{% endfor %}{{ my_tab }}"input": {% assign input = "" %}{% for item_hash in site.data.skema %}{% assign item = item_hash[1] %}{% unless item.title == null %}{% if item.title == my_asset.slug %}{% assign input = item.content %}{% endif %}{% endunless %}{% endfor %}{{ input | jsonify }}, {% for i in (1..my_size) %}{{ my_tab }}{% endfor %}{{ my_tab }}"content": {{ my_asset.content | jsonify }}, {% for i in (1..my_size) %}{{ my_tab }}{% endfor %}{{ my_tab }}"output": {{ my_asset.output | jsonify }},{% assign my_index_size = my_index | size %}{% if my_index_size &gt; 0 %} {% for i in (1..my_size) %}{{ my_tab }}{% endfor %}{{ my_tab }}"items": [{% for index in my_index %}{{ my_captures[index] }}{% unless forloop.last %},{% endunless %}{% endfor %} {% for i in (1..my_size) %}{{ my_tab }}{% endfor %}{{ my_tab }}]{% else %} {% for i in (1..my_size) %}{{ my_tab }}{% endfor %}{{ my_tab }}"items": []{% endif %} {% for i in (1..my_size) %}{{ my_tab }}{% endfor %}}{% endcapture %}{% assign my_captures = my_captures | push:my_capture %}{% endfor %}{% assign my_assets = "" | split: "," %}{% for asset in assets %}{% if asset.path contains "/head/" %}{% assign my_assets = my_assets | push:asset %}{% endif %}{% endfor %}{% for my_asset in my_assets %}{% assign my_title = my_asset.title | downcase | prepend: "_assets/" | append: "/" %}{% assign my_index = "" | split: "," %}{% for my_path in my_paths %}{% assign my_size = my_path.path | split: "/" | size %}{% if my_size == 3 and my_path.path contains my_title %}{% assign my_index = my_index | push:forloop.index0 %}{% endif %}{% endfor %} {{ my_tab }}{{ my_tab }}{ {{ my_tab }}{{ my_tab }}{{ my_tab }}"weight": {{ my_asset.weight | jsonify }}, {{ my_tab }}{{ my_tab }}{{ my_tab }}"title": {{ my_asset.title | jsonify }},{% for item in my_asset %}{% unless atributs contains item %} {{ my_tab }}{{ my_tab }}{{ my_tab }}{{ item | jsonify }}: {{ my_asset[item] | jsonify }},{% endunless %}{% endfor %} {{ my_tab }}{{ my_tab }}{{ my_tab }}"path": {{ my_asset.path | jsonify }}, {{ my_tab }}{{ my_tab }}{{ my_tab }}"input": {% assign input = "" %}{% for item_hash in site.data %}{% assign item = item_hash[1] %}{% if item.title == my_asset.slug %}{% assign input = item.content %}{{ input | jsonify }}{% endif %}{% endfor %}{% if input == "" %}{{ input | jsonify }}{% endif %}, {{ my_tab }}{{ my_tab }}{{ my_tab }}"content": {{ my_asset.content | jsonify }}, {{ my_tab }}{{ my_tab }}{{ my_tab }}"output": {{ my_asset.output | jsonify }},{% assign my_index_size = my_index | size %}{% if my_index_size &gt; 0 %} {{ my_tab }}{{ my_tab }}{{ my_tab }}"items": [{% for index in my_index %}{{ my_captures[index] }}{% unless forloop.last %},{% endunless %}{% endfor %} {{ my_tab }}{{ my_tab }}{{ my_tab }}]{% else %} {{ my_tab }}{{ my_tab }}{{ my_tab }}"items": []{% endif %} {{ my_tab }}{{ my_tab }}}{% unless forloop.last %},{% endunless %}{% endfor %} {{ my_tab }}] }
Penyederhanaan Hasil: https://chetabahana.github.io/feed.json
[ { "weight": 1, "title": "Head", "items": [] }, { "weight": 2, "title": "Beranda", "items": [] }, { "weight": 3, "title": "Abstrak", "items": [] }, { "weight": 4, "title": "Skema", "items": [ { "weight": 1, "title": "Sequence", "item": [ { "weight": 1, "title": "Object", "items": [] }, { "weight": 2, "title": "Method", "items": [] } ] }, { "weight": 2, "title": "Flowchart", "items": [] }, { "weight": 3, "title": "Railroad", "items": [] } ] }, { "weight": 5, "title": "Eksekusi", "items": [] }, { "weight": 6, "title": "Portfolio", "items": [] }, { "weight": 7, "title": "Network", "items": [] }, { "weight": 8, "title": "Publikasi", "items": [] }, { "weight": 9, "title": "Diskusi", "items": [] }, { "weight": 10, "title": "Bottom", "items": [] } ]
- Input API: https://github.com/MarketLeader
- Dokumentasi: https://github.com/MarketLeader/marketleader.github.io/wiki
- Implementasi: https://chetabahana.github.io/#chetabahana-skema
- Dokumentasi Implementasi: https://github.com/MarketLeader/marketleader.github.io/wiki