Skip to content

Instantly share code, notes, and snippets.

View andreferi3's full-sized avatar
🏠
Working from home

Andre Feri Saputra andreferi3

🏠
Working from home
  • Indonesia
View GitHub Profile
@andreferi3
andreferi3 / kyc-gagal.html
Created July 28, 2025 15:58
Email Template KYC
<!DOCTYPE html>
<html lang="en" xmlns:v="urn:schemas-microsoft-com:vml">
<head>
<meta charset="utf-8">
<meta name="x-apple-disable-message-reformatting">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="format-detection" content="telephone=no, date=no, address=no, email=no, url=no">
<meta name="color-scheme" content="light dark">
<meta name="supported-color-schemes" content="light dark">
<!--[if mso]>
@andreferi3
andreferi3 / tennet-mail.html
Last active July 23, 2025 19:52
Tennet Email
<!DOCTYPE html>
<html lang="id">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Laporan Kepemilikan - NOBI Dana Kripto</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f5f5f5;
<!doctype html>
<html lang="id">
<head>
<meta charset="UTF-8" />
<title>Login Akun NOBI Dana Kripto</title>
</head>
<body style="
margin: 0;
function parseNumValue(val) {
let replace = val.replace(/[.]/g, '').toString()
return replace
}
import React from 'react';
import {View, Text} from 'react-native';
import EStyleSheet from 'react-native-extended-stylesheet';
// Tambah baris kode dibawah ini di root index.js untuk setup react-native-extended-stylesheet
EStyleSheet.build({
$rem: width / 380,
...colors,
});
@andreferi3
andreferi3 / package.json
Created March 15, 2022 08:23
Create Own Project React Native Template
{
"name": "react-native-template-bistech",
"version": "0.0.1",
"description": "Clean and minimalist React Native template for a quick start with TypeScript with some cool configuration.",
"files": [
"bistechTemplate",
"template.config.js"
],
"repository": {
"type": "git",
import { Platform, Alert } from "react-native";
import {
getAvailablePurchases,
requestSubscription,
getSubscriptions,
} from "react-native-iap";
import { RenderToast } from "../components/CToast";
export const itemSkus: any = Platform.select({
ios: ["com.afterwords.ios.monthly", "com.afterwords.ios.premium"],
import React, { useEffect, useState, useContext } from "react";
import { View, Platform, ActivityIndicator, Alert } from "react-native";
import CWrapper from "../components/CWrapper";
import CText from "../components/CText";
// * Styles & Assets
import { colors } from "../assets/themes";
import { GlobalStyles } from "../public/styles/GlobalStyles";
import {
@andreferi3
andreferi3 / styles.ts
Last active October 26, 2020 08:04
This is to showing auto suggestion CSS Intelisense for react-native-extended-stylesheet. place in your styles/index.ts
import { ImageStyle, TextStyle, ViewStyle } from "react-native"
import EStyleSheet from "react-native-extended-stylesheet"
type Function<K> = () => K
type Value<T> = T | string & {}
type Variable<T> = Value<T> | Function<Value<T>>
type Extended<T> = { [K in keyof T]: Variable<T[K]> }
type AnyStyle = ImageStyle & TextStyle & ViewStyle
type AnyStyleSet = { [key: string]: AnyStyle }
function parseNumFormat(amount) {
if(amount) {
return amount.toString().replace(/\B(?=(\d{3})+(?!\d))/g, '.');
} else {
return 0
}
}