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
import kotlinx.coroutines.delay | |
import kotlinx.coroutines.flow.flow | |
import kotlinx.coroutines.runBlocking | |
import kotlinx.datetime.* | |
fun main(args: Array<String>) { | |
runBlocking { | |
timerPerMinute().collect { | |
println("collect: $it") | |
} |
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
package uts; | |
import java.util.Scanner; | |
public class DataProsesor { | |
static Prosesor[] prosesor = new Prosesor[3]; | |
final int jumlahCore = 6 ; | |
String lagi; |
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
package com.wiryatech.gitdroid | |
import androidx.appcompat.app.AppCompatActivity | |
import android.os.Bundle | |
import kotlinx.android.synthetic.main.activity_detail.* | |
class DetailActivity : AppCompatActivity() { | |
override fun onCreate(savedInstanceState: Bundle?) { | |
super.onCreate(savedInstanceState) |
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
<?xml version="1.0" encoding="utf-8"?> | |
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:app="http://schemas.android.com/apk/res-auto" | |
xmlns:tools="http://schemas.android.com/tools" | |
android:id="@+id/container" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
tools:context=".DetailActivity"> | |
<com.google.android.material.appbar.AppBarLayout |
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
/* | |
Mobilitas penduduk adalah jumlah perpindahan penduduk (baik yang masuk/keluar) dalam suatu wilayah | |
Perhatikan di halaman bawah terdapat defisnisi Data Penduduk | |
Jenis Mobilitas Penduduk : | |
1. Imigrasi -> Perpindahan Penduduk dari Negara Lain | |
2. Emigrasi -> Perpindahan Penduduk ke Negara lain | |
3. Urbanisasi -> Perpindahan Penduduk dari desa ke kota besar | |
4. Ruralisasi -> Perpindahan Penduduk dari kota besar ke desa | |
*/ |
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
public class KamuKitaNikah { | |
public static void main(String[] args) { | |
/* KAMU | |
KITA + | |
------ | |
NIKAH | |
tentukan seluruh variasi huruf yang ada : k, a, m, u, i, t, n, h | |
*/ | |
for(int k=0; k<=9; k++) { | |
for(int a=0; a<=9; a++) { |