1、debian、ubuntu更新并升级软件包
apt update && apt upgrade -y
2、docker compose重新部署
docker compose down && docker compose up -d
1、debian、ubuntu更新并升级软件包
apt update && apt upgrade -y
2、docker compose重新部署
docker compose down && docker compose up -d
#!/bin/sh | |
if [ "$(whoami)" != "root" ]; then | |
echo "Please run this script as root." | |
exit | |
fi | |
printf "This script will\n\n- Remove Snap\n- Install the deb version of Firefox\n- Install Flatpak\n- Optionally replace Ubuntu Desktop with GNOME\n\n" | |
read -p "Continue? (Y/n) " start_prompt | |
case $start_prompt in | |
[nN] | [nN][oO] ) | |
exit |
You need to provide some classes and decorators yourself to maintain the same style as [email protected]
.
@EntityRepository(UserEntity)
export class UserRepository extends Repository<UserEntity> {}
↓
An extremely fast JavaScript bundler written in Go.
import 'vite/dynamic-import-polyfill'; | |
import '../css/app.css'; | |
import { createApp, h } from 'vue' | |
import { App, plugin } from '@inertiajs/inertia-vue3' | |
let asyncViews = () => { | |
return import.meta.glob('./Pages/**/*.vue'); | |
} | |
const app = createApp({ |
Source: https://docs.microsoft.com/en-us/windows/wsl/install-win10
wsl --install
0px 0rem .p-0 | |
4px 0.25rem .p-1 | |
8px 0.5rem .p-2 | |
12px 0.75rem .p-3, .leading-3, .text-xs | |
14px 0.875rem .text-sm | |
16px 1rem .p-4, .leading-4, .text-base | |
18px 1.125rem .text-lg | |
20px 1.25rem .p-5, .leading-5, .text-xl | |
24px 1.5rem .p-6, .leading-6, .text-2xl | |
28px 1.75rem .leading-7 |
@use 'sass:map'; | |
@use 'variants' as * with ( | |
$breakpoints: ( | |
'small': 640px, | |
'medium': 768px, | |
'large': 1024px, | |
'wide': 1280px, | |
) | |
); |