1、debian、ubuntu更新并升级软件包
apt update && apt upgrade -y
2、docker compose重新部署
docker compose down && docker compose up -d
// ==UserScript== | |
// @name Create A playlist full fill with all videos of a channel | |
// @namespace http://tampermonkey.net/ | |
// @version 1.0 | |
// @description Modify YouTube Channel ID and open new URL in foreground tab with button click | |
// @author Your Name | |
// @match https://www.youtube.com/* | |
// @grant GM_registerMenuCommand | |
// ==/UserScript== |
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.
// ES6 Async version of the "classic" JavaScript Debounce function. | |
// Works both with and without promises, so you can replace your existing | |
// debounce helper function with this one (and it will behave the same). | |
// The only difference is that this one returns a promise, so you can use | |
// it with async/await. | |
// | |
// I've converted this into a TypeScript module, and added a few more | |
// features to it, such as the ability to cancel the debounce, and also | |
// execute the function immediately, using the `doImmediately` method. | |
// |
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