Skip to content

Instantly share code, notes, and snippets.

View Rabithua's full-sized avatar
🤯
Unemployed vagrant

Rabithua Rabithua

🤯
Unemployed vagrant
View GitHub Profile
@djyde
djyde / Icon.tsx
Created September 18, 2025 08:23
微信小程序 (Taro) 使用 lucide icon
import { IconNode, Pause } from 'lucide'
import { Image } from '@tarojs/components'
import React from 'react'
const b64 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
// Regular expression to check formal correctness of base64 encoded strings
b64re = /^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/;
function btoa(string) {
string = String(string);