Skip to content

Instantly share code, notes, and snippets.

:shipit:
`

Hendra Permana hynra

:shipit:
`
Block or report user

Report or block hynra

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View test
{
"rc": "0000",
"status": "Sukses",
"elapsed_time": "0.40760397911072 seconds",
"message": {
"0": {
"kode": "PAYKAI",
"nama_produk": "Bayar Tiket KAI",
"kategori_produk": "RESERVASI",
"kategori_sub": "KERETA API",
View FirebaseInstanceIDService
// Java
public class FirebaseInstanceIDService extends FirebaseInstanceIdService {
private final String TAG = this.getClass().getSimpleName();
private Context context;
@Override
public void onTokenRefresh() {
String refreshedToken = FirebaseInstanceId.getInstance().getToken();
sendTokenToServer(refreshedToken);
@hynra
hynra / PopulateProduct.js
Created Nov 9, 2016
Grouping product berdasarkan kategori
View PopulateProduct.js
var _jsn = [{
"nominal": "0",
"price": "0",
"product_code": "BPJSKS",
"product_name": "BPJS Kesehatan",
"product_category": "BPJS"
}, {
"nominal": "5000",
"price": "5050",
"product_code": "SN5",
You can’t perform that action at this time.