Skip to content

Instantly share code, notes, and snippets.

Hendra Permana hynra

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 gist:2a254c6ee29e9bc2c6dd5e40c71f5be4
uploadVideo = (e, order, sectionId) => {
const userData=reactLocalStorage.getObject("userData");
const react = this
const tempFile =[0]
if(this.state.createLessonTitle == "" ||
this.state.createLessonSummary == "" ||
this.state.createLessonTitle == null ||
this.state.createLessonSummary == null){
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;
public void onTokenRefresh() {
String refreshedToken = FirebaseInstanceId.getInstance().getToken();
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.