| Font | Device Targeted |
|---|---|
| -apple-system (San Francisco) | iOS Safari, macOS Safari, macOS Firefox |
| BlinkMacSystemFont (San Francisco) | macOS Chrome |
| Segoe UI | Windows |
| Roboto | Android, Chrome OS |
| Oxygen / Oxygen-Sans | KDE |
| Fira Sans | Firefox OS |
This file contains hidden or 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
| class NodeItem { | |
| constructor(value, next = null) { | |
| this.value = value | |
| this.next = next | |
| } | |
| } | |
| class LinkedList { | |
| constructor(head = null, tail = null) { | |
| this.head = head; |
This file contains hidden or 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
| If you're using a GTK3 build (uses vte3), you can put this in ~/.config/gtk-3.0/gtk.css: | |
| VteTerminal, vte-terminal { | |
| padding: 16px; | |
| } |
This file contains hidden or 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
| let app = document.querySelector('#app'), | |
| inputNumber = document.querySelector('.number'), | |
| resultContainer = document.querySelector('#result'); | |
| function Rupiaf(number) { | |
| number = number.toString(); | |
| number = number.replace(/\./g,''); | |
| let step = 3, | |
| sisa = number.length % step, | |
| counter = Math.floor(number.length / step); |
This file contains hidden or 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
| var str = "abcde"; | |
| var start = 0, | |
| end = 1; | |
| for (let i=0; i<str.length; i++) { | |
| if (i == str.length - 1) | |
| { | |
| for (let o=str.length - 1; o > 0; o--) | |
| { | |
| console.log(str.substr(start, end)) |
This file contains hidden or 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
| {{ $data := getJSON "public/lunr.json" }} | |
| {{ $data | jsonify }} |
This file contains hidden or 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
| [ | |
| { | |
| "nama":"A.H. Nasution ", | |
| "nama2":"Jendral Besar Dr.Abdul Haris Nasution", | |
| "kategori":"Pahlawan Nasional", | |
| "asal":"Sumatera Utara", | |
| "lahir":"Selasa, 3 Desember 1918 di Kotanopan, Mandailing Natal, Sumatera Utara", | |
| "usia":"81 tahun", | |
| "gugur":"Selasa Wage, 5 September 2000 di Jakarta, Indonesia", | |
| "lokasimakam":"Taman Makam Pahlawan (TMP) Kalibata, Jakarta.", |
This file contains hidden or 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
| def main(): | |
| print("Hello world") | |
| main() |