✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨
YouTube Mount UBS Drive for Proxmox Backup
🔗 https://youtu.be/lZjMxdBPH7M
✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨
SUPPORT MY WORK - Everything Helps Thanks
YouTube 🔗 https://YouTube.GetMeTheGeek.com
Buy Me a Coffee ☕ https://www.buymeacoffee.com/getmethegeek
Hire US 🔗 https://getmethegeek.com
Digital Ocean referral 🔗 https://tiny.cc/plxdigitalocean
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Usage: | |
// Replace React.lazy(() => import('x')); | |
// with retryDynamicImport(() => import('x')); | |
import { ComponentType, lazy } from 'react'; | |
const MAX_RETRY_COUNT = 15; | |
const RETRY_DELAY_MS = 500; | |
// Regex to extract the module URL from the import statement |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// app/modules/authentication/authentication.controller.ts | |
import { Body, Controller, Post } from '@nestjs/common' | |
import { RegisterRequest } from './requests' | |
import { User } from '../../modules/user' | |
import { UsersService } from '../users/users.service' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$columns: 12; | |
$gap: 30px; | |
$breakpoints: ( | |
xs: 480px, | |
sm: 768px, | |
md: 960px, | |
lg: 1170px, | |
xl: 1280px | |
); |
${LOCAL_ADDR IP:PORT}
یعنی سرور ایرانتون و پورت داخلی که میخواهید روش ساکس داشته باشید و باید با این جایگزین بشود.
مثال:
10.10.10.10:9090
و قسمت پایین هم یوزر سرور خارجتون و آدرس IP سرور خارجیتونه که باید جایگزین کنید تو خط 7 فایل ssh-tunnel-as-systemd.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Controller, UseInterceptors, Post } from '@nestjs/common'; | |
import { AppService } from './app.service'; | |
import { diskStorage } from 'multer'; | |
import { Request } from 'express'; | |
import { MyNewFileInterceptor } from './file.interceptor'; | |
@Controller() | |
export class AppController { | |
constructor(private readonly appService: AppService) {} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// using in a Vue CLI 3, tailwindcss app but can be adjusted | |
"scripts": { | |
"build": "vue-cli-service build", | |
"postbuild": "yarn purgecss", | |
"purgecss": "node_modules/purgecss/bin/purgecss --config ./purgecss.config.js --out ./dist/css" | |
}, |
NewerOlder