Skip to content

Instantly share code, notes, and snippets.

View NamesMT's full-sized avatar
👋

Trung Dang NamesMT

👋
View GitHub Profile
@serkodev
serkodev / vue-language-tools-v3.2.md
Last active December 29, 2025 15:27
Vue Language Tools v3.2 Release Notes
@NamesMT
NamesMT / Button.vue
Last active November 1, 2025 08:24
Shadcn/vue Button with ripple
<script setup lang="ts">
import { ref, watchEffect, type HTMLAttributes } from "vue";
import { Primitive, type PrimitiveProps } from 'reka-ui'
import { cn } from '@/lib/shadcn/utils'
import { type ButtonVariants, buttonVariants } from '.'
interface Props extends PrimitiveProps {
variant?: ButtonVariants['variant']
size?: ButtonVariants['size']
class?: HTMLAttributes['class']
ripple?: boolean
# change to root and install packages
su -c "apk add sudo openrc curl python3 python3-dev nload htop"
# if your user doesn't exists then remove sudo passwords
USERNAME=$(whoami)
su -c "grep -qxF '${USERNAME} ALL=(ALL) NOPASSWD: ALL' /etc/sudoers || echo '${USERNAME} ALL=(ALL) NOPASSWD: ALL' | tee -a /etc/sudoers"
# install compilers
sudo apk add build-base
# install pip3
sudo apk add py3-pip
# upgrade pip3