Skip to content

Instantly share code, notes, and snippets.

View howljs's full-sized avatar

Lê Hậu howljs

  • Ho Chi Minh city, Vietnam
  • 06:18 (UTC +07:00)
  • Facebook 5515886
View GitHub Profile
@howljs
howljs / vsmart.js
Last active October 18, 2025 07:17
vsmart
import { Zcl } from "zigbee-herdsman";
import * as exposes from "zigbee-herdsman-converters/lib/exposes";
import * as m from "zigbee-herdsman-converters/lib/modernExtend";
const e = exposes.presets;
const ea = exposes.access;
const VSMART_MANUFACTURER_CODE = 0x1379;
const COMMAND_DELAY_MS = 100;
@howljs
howljs / TabAnimation.tsx
Last active May 8, 2024 04:53
Tab animation
import { useTheme } from '@react-navigation/native';
import React, { FC } from 'react';
import {
DimensionValue,
StyleSheet,
TouchableOpacity,
View,
} from 'react-native';
import Animated, {
SharedValue,