Skip to content

Instantly share code, notes, and snippets.

View shiburagi's full-sized avatar
Coding use Rubic's Cube

Muhammad Norzariman Razari shiburagi

Coding use Rubic's Cube
  • Petaling Jaya, Selangor, Malaysia
View GitHub Profile
name: Frontend CI
permissions:
contents: write
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
name: Deploy
permissions:
contents: write
env:
CI: false
on:
workflow_dispatch: {}
{
"CompanyName": "Dattel Sdn. Bhd. (9098767-X)",
"CompanyRegistrationNo": "adsasdsadas",
"BusinessTypeId": 1058,
"CompanyAddress": "asdasdadsa",
"Postcode": "12312",
"CompanyCity": "sadasdasd",
"StateId": 3,
"Name": "Muhammad Norzariman",
"NIRC": "010101010101",
{
"Name": "Muhammad Norzariman",
"NIRC": "010101010101",
"DateOfBirth": "2001-01-01T00:00:00",
"MobileNo": "0123456789",
"CompanyName": "Dattel Sdn. Bhd. (9098767-X)",
"CompanyRegistrationNo": "13123213",
"BusinessTypeId": 1059,
"EmergencyName": "asdsads",
"FamilyRelationId": 2,
const useVoucherParameter = (key) => {
const [params, setParams] = useState({})
const findRef = useRef();
useLayoutEffect(() => {
VoucherApi.initParameter().then({
complete: (res, e) => {
if (res.data) {
const params = res.data
// params.MinAmount = 600
<div style="display: flex;">
<img src="https://images.dattel.asia/i/mybox.png" alt="Malaysia" width="45" height="30">
<a href="https://images.dattel.asia/d/behave-arch2.pdf" target="_blank" style="margin: auto 8px auto;">
30 Behaviour Archetypes
</a>
</div>
<div style="display: flex;">
<img src="https://images.dattel.asia/i/thbox.png" alt="Thailand" width="45" height="30">
<a href="https://images.dattel.asia/d/behave-arch2.pdf" target="_blank" style="margin: auto 8px auto;">
30 Behaviour Archetypes
Widget build(BuildContext context) {
String loadUrl =
"https://www.thevocket.com/rakaman-mak-cik-ini-terpaksa-langgar-axia-untuk-keluar-parkir-curi-tumpuan-ramai/";
return Scaffold(
appBar: AppBar(
// Here we take the value from the MyHomePage object that was created by
// the App.build method, and use it to set our appbar title.
title: Text(widget.title),
),
body: WebView(
fn=(delay=5,rands=[20,10,15])=>{
if(!loop) return;
console.log("click")
document.dispatchEvent(new Event('keydown', {keyCode: 'a'}))
setTimeout(fn, rands.reduce((s,v)=>s+Math.random()*v) +5);
}
startFn=()=>{
loop = true
fn()
}
import 'dart:developer';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
class PinInput extends StatefulWidget {
PinInput(
{Key? key,
this.numberOfBlock = 6,
this.controller,
import 'dart:developer';
import 'package:dio/dio.dart';
import 'package:flutter_network_call_with_auth/interceptor/app.dart';
class AppRepo {
AppRepo._();
static final AppRepo instance = AppRepo._();