Skip to content

Instantly share code, notes, and snippets.

View heriipurnama's full-sized avatar
🚀

heriipurnama heriipurnama

🚀
View GitHub Profile
@heriipurnama
heriipurnama / notifGrubRescue-Ind
Created October 11, 2018 03:18
Memperbaiki grub rescue di linux versi indonesia
1. Ada kesalah saat booting seperti
Error: no such partition.
Entering rescue mode...
grub rescue >
2. Cek dimana partisi File Linux tersimpan gunakan perintah > ls
grub rescue > ls
(hd1) (hd1,gpt9) (hd1,gpt8) (hd1,gpt7) (hd1,gpt6) (hd1,gpt5) (hd1,gpt2) (hd1,gpt1)
grub rescue > ls (hd1,gpt9)
error : file system uknown [error ini menunjukkan file sistem yang ada pertisi linux tidak disana]
@heriipurnama
heriipurnama / notifGrubRescue-Eng
Last active May 6, 2023 14:03
Fix grub rescue on English version of Linux
1. There is a mistake when booting like
Error: no such partition.
Entering rescue mode ...
grub rescue>
2. Check where the Linux File partition is stored using the command> ls
grub rescue> ls
(hd1) (hd1, gpt9) (hd1, gpt8) (hd1, gpt7) (hd1, gpt6) (hd1, gpt5) (hd1, gpt6) (hd1, gpt5) (hd1, gpt2) (hd1, gpt1)
grub rescue> ls (hd1, gpt9)
error: uknown system file [this error indicates the system file that has linux content is not there]
@heriipurnama
heriipurnama / Distinct ON reactJs
Last active May 27, 2019 04:35
Distinct same value on two array object on reactjs
var avalableChannels =
[
{channel_id: "1", channel_name: "Channel A", created_date: null, access_name: "Channel A"},
{channel_id: "10", channel_name: "MKIOS", created_date: "2019-02-19T04:21:17.000Z", access_name: "mkios"},
{channel_id: "2", channel_name: "Channel B", created_date: null, access_name: "Channel B"},
{channel_id: "8", channel_name: "UPX", created_date: "2018-12-24T17:00:00.000Z", access_name: "UPX"},
{channel_id: "9", channel_name: "Channel C", created_date: "2019-01-09T17:00:00.000Z", access_name: "Channel C"}
];
var coupons1 = [
{evt_id_reff: "D1042", source: "SYSTEM", channel: "MKIOS", offer_id: "-", package_name: "-"},