Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View malikkurosaki's full-sized avatar
flutter on fire

malik kurosaki malikkurosaki

flutter on fire
View GitHub Profile
malikkurosaki / xls to json
Created October 26, 2019 15:45
xls to json javascript

xls to json javascript

<html lang="en">    

<title> Convert Excel File To JSON </title>

    <script src="js/jquery.js"> </script>
    <script lang="javascript" src="js/xlsx.full.min.js"></script>
malikkurosaki / android barcode scaner .md
Created October 26, 2019 07:15
android membuat scaner qr droid

android baarcode scaner


   // barcode reader
    implementation 'info.androidhive:barcode-reader:1.1.5'
    implementation ''
malikkurosaki / firebase ui
Created October 26, 2019 03:21
firebase ui login

firebase ui login

  // firebase
    implementation ''
    implementation ''
    implementation ''
 implementation ''
malikkurosaki / cek koneksi
Created October 26, 2019 03:03
cara cek kineksi internet

cek koneksi internet

// network manager
    implementation 'com.github.jumadeveloper:networkmanager:0.0.2'
malikkurosaki / jadikan email sebagai key .md
Created October 25, 2019 17:19
jadikan email sebagai key

jadikan email sebagai key

 public static String getGoogleMail() {
        if (user() != null){
            String[] eml = user().getEmail().split("@");
            return eml[0].replaceAll("[^A-Za-z0-9 ]","xxx");
        }else {
            return null;
malikkurosaki / android mendapatkan date
Created October 24, 2019 08:07
android mendapatkan waktu date time

android mendapatkan date time wakru

private String getDateTime() {
        SimpleDateFormat dateFormat = new SimpleDateFormat(
                "yyyy-MM-dd HH:mm:ss", Locale.getDefault());
        Date date = new Date();
        return dateFormat.format(date);
malikkurosaki / komunikasi dari fragment ke
Created October 23, 2019 16:16
komunikasi dari fragment ke fragmen

komunikasi dari fragment ke fragment

dari dialog fragment

package dev.malikkurosaki.gombalinkita.Dialog;

import android.content.Context;
import android.os.AsyncTask;
malikkurosaki / mendapatkan
Created October 23, 2019 16:14
mendapatkan view dari recyclerview

mndapatkan view dari recycler view>{
                    View vi = containerPilihSuara.findViewHolderForPosition(posisi).itemView;
                    CardView cardView = vi.findViewById(;
                    for (int i =0;i<adapterPilihSuara.getItemCount();i++){
                        View vi2 = containerPilihSuara.findViewHolderForPosition(i).itemView;
                        CardView cv = vi2.findViewById(;
malikkurosaki / top 8 search
Last active October 23, 2019 08:07
top 8 search engine sqllite

top 8 search engine sql lite

 @Query("select *,count(*) from tabel_hasil_pencarian group by nama order by 2 desc limit 10")
    List<TabelHasilPencarian> dapatkanTop8HasilPencarian();


malikkurosaki / tanda melar
Created October 23, 2019 05:57
menghilangkan tanda melar direcyclervie

Menghilangkan Tanda Melar Direcyclerview

    android:scrollbars="vertical" />