Skip to content

Instantly share code, notes, and snippets.

@GZLiew
GZLiew / CMakeLists.txt
Created December 7, 2022 12:44 — forked from Lightnet/CMakeLists.txt
SDL 2 Project build test.
#================================================
# CMAKE BUILD
# WINDOW BUILD CURRENTLY
#================================================
cmake_minimum_required(VERSION 3.20) # FetchContent is available in 3.11+
message("CMAKE_BUILD_TYPE >>> " ${CMAKE_BUILD_TYPE})
#convert checks for deubug / release
string(TOLOWER ${CMAKE_BUILD_TYPE} CMAKE_BUILD_TYPE)
if(CMAKE_BUILD_TYPE STREQUAL "debug")
@GZLiew
GZLiew / IOS_SAVE_SPACE_INSTRUCTIONS.md
Last active March 7, 2022 12:06
IOS_SAVE_SPACE_INSTRUCTIONS.md
xcrun simctl list devices # find device uuid
xcrun simctl delete <DEVICE_UUID>

delete derived data
delete archives
delete caches
[["notifications",[["title","Notification"],["newNotifications","new notifications"],["markAll","Mark All As Read"],["errors",[["open","Unable to open notification"]]]]],["alerts",[["deleteFailed","Delete Failed"],["checkAppPermission","Please check your app permission."],["cardBlocked","Card blocked"],["failedBlockedCard","Failed to block card"],["contactNoCard","Contact does not have a card yet"],["balanceInsufficient","Your balance is insufficient"],["failedPin","Failed to change pin"],["failedFacebookConnect","Failed to connect to Facebook. Please try again."],["sessionExpired","Your session is expired. Please relogin to continue."],["emailResent","Email resent! Please check your mailbox."],["unknownError","Unknown error. Please try again later"],["emailAlreadyRegister","Email has already been registered. Please try again."],["temporaryPinSent","Temporary PIN sent to your number."],["failedRequestOtp","Failed to request OTP code"],["phoneNoExist","Phone number does not exist."],["failPinReset","Fail to re
@GZLiew
GZLiew / kyc.js
Created May 28, 2020 15:28
w2 react native
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import { connect } from 'react-redux';
import { View, StyleSheet, Image } from 'react-native';
import { KeyboardAwareScrollView } from 'react-native-keyboard-aware-scroll-view';
import DocumentVerificationClientCapture from 'w2-document-verification-capture-client-react-native';
import Actions from 'actions';
import Selectors from 'selectors';
import Text from 'common/Text';