Skip to content

Instantly share code, notes, and snippets.

View ivanlanin's full-sized avatar

Ivan Lanin ivanlanin

View GitHub Profile
@ivanlanin
ivanlanin / daftar-kementerian-kabinet-merah-putih.md
Last active October 24, 2024 02:29
Daftar Kementerian Kabinet Merah Putih
No. Nama Kementerian Nama Bahasa Inggris Kependekan
1. Kementerian Koordinator Bidang Politik dan Keamanan Coordinating Ministry for Political and Security Affairs Kemenko Polkam
2. Kementerian Koordinator Bidang Hukum, HAM, Imigrasi, dan Pemasyarakatan Coordinating Ministry for Legal, Human Rights, Immigration, and Penitentiary Affairs Kemenko Hukhamimpas*
3. Kementerian Koordinator Bidang Perekonomian
@ivanlanin
ivanlanin / kata.dat
Last active May 17, 2023 13:57
Daftar kata yang sering salah dieja dengan tiap baris terdiri atas ejaan yang benar lebih dahulu dan diikuti variannya
Benar Salah
Allah Alloh
Alquran Al Qur'an
Alquran Al-Qur'an
Alquran Al-Quran
Asar Azhar
Buddha Buda
Buddha Budha
Februari February
Februari Pebruari
@ivanlanin
ivanlanin / bentuk-terikat
Last active October 2, 2018 03:25
Daftar bentuk terikat yang ditulis serangkai dengan kata yang mengikutinya: https://ivanlanin.github.io/puebi/kata/kata-berimbuhan/. Entri dengan tanda asterisk (*) belum dimasukkan sebagai bentuk terikat di dalam KBBI IV. Awalan dan klitik tidak dimasukkan di dalam daftar ini.
a-: asusila
ab-: abnormal
adi-: adibusana
aero-*: aerodinamika
alo-*: alofon
antar-: antarkota
ante-: antemeridiem
anti-: antibiotik
apo-: apoenzim
asta-: astakona
@ivanlanin
ivanlanin / pun-yang-ditulis-serangkai
Last active October 2, 2016 09:28
Daftar dua belas "pun" yang berfungsi sebagai kata sambung dan ditulis serangkai. Di luar daftar ini, semua "pun" ditulis terpisah, misalnya "apa pun" dan "siapa pun". Entri bertanda asterisk (*) dapat ditulis terpisah (misalnya "ada pun") dengan arti berbeda. Keterangan selengkapnya dapat dibaca di https://beritagar.id/artikel/tabik/pun-yang-di…
adapun*
andaipun
ataupun
bagaimanapun*
biarpun
kalaupun
kendatipun
maupun*
meskipun
sekalipun*
@ivanlanin
ivanlanin / gabungan-kata-yang-ditulis-serangkai
Last active December 10, 2018 07:17
Daftar gabungan kata bahasa Indonesia yang ditulis serangkai
adakalanya
akhirulkalam
alhamdulillah
apalagi
astagfirullah
bagaimana
barangkali
beasiswa
belasungkawa
bilamana

This example pulls together various examples of work with trees in D3.js.

The panning functionality can certainly be improved in my opinion and I would be thrilled to see better solutions contributed.

One can do all manner of housekeeping or server related calls on the drop event to manage a remote tree dataset for example.

Dragging can be performed on any node other than root (flare). Dropping can be done on any node.

Panning can either be done by dragging an empty part of the SVG around or dragging a node towards an edge.

@ivanlanin
ivanlanin / README.md
Created February 16, 2014 12:48 — forked from 0thernet/README.md

Drag from an existing node to add a new node or link. Click to select/deselect nodes/links. Hit the DELETE key to remove the selected node or link. Drag to pan. Scroll to zoom.

Built with D3.js.

@ivanlanin
ivanlanin / README.md
Last active August 29, 2015 13:56 — forked from mbostock/.block
Wrapping long text with bar transition

This example, using satirical data from The Onion, demonstrates how to wrap long axis labels to fit on multiple lines.

Forked from Mike's Gist as a personal journey to study various aspects of D3. Some additional features added:

It turns out that some features (tooltip, alert) can only be used by using open in new window in bl.ocks.