fetch('link-to-external-js-library')
.then(response => response.text())
.then(text => eval(text))
example, loading lodash
:
#!/bin/bash | |
# This script will backup your Coolify instance and move everything to a new server. Docker volumes, Coolify database, and ssh keys | |
# 1. Script must run on the source server | |
# 2. Have all the containers running that you want to migrate | |
# Configuration - Modify as needed | |
sshKeyPath="$HOME/.ssh/your_private_key" # Key to destination server | |
destinationHost="server.example.com" |
/** | |
[강의 영상 스킵] | |
1. 재생버튼을 눌러 한양대 로딩 영상이 끝나고(약 4초) 강의가 재생된 후 F12 버튼을 눌러 개발자 콘솔을 연 뒤 console 탭으로 이동한다. | |
2. 아래 스크립트를 붙여넣는다. | |
3. 사이트에서 나갈 것이냐고 묻는 창이 뜨면 '나가기'를 누른다. | |
4. 다시 영상이 로드되면 재생 버튼을 눌러 재생하고 영상 끝으로 컨트롤 버튼을 움직여 영상 시청을 완료한다. | |
**/ |
#pragma once | |
#include <Siv3D.hpp> | |
/// @brief Simple text box | |
/// @tparam T Text box value | |
template<typename T> | |
struct SimpleTextBox { | |
mutable TextEditState edit; | |
String label; | |
T init; |
This is a sample script for uploading local file to Google Drive without the authorization using HTML form. A selected file in your local PC using HTML form is uploaded to Google Drive and saved to Google Drive.
When you use this, at first, please deploy Web Apps. The script is doPost()
of following scripts.
function doPost(e) {
var data = Utilities.base64Decode(e.parameters.data);
<?php | |
namespace App\Filament\Resources; | |
use App\Filament\Resources\CommentResource\Pages; | |
use App\Filament\Resources\CommentResource\RelationManagers; | |
use App\Filament\Resources\PostResource\RelationManagers\CommentsRelationManager; | |
use App\Models\Comment; | |
use App\Models\Post; | |
use App\Models\User; |
I recommend running Dmitry’s latest resonance testing branch and using the pulses method outlined below:
https://github.com/Klipper3d/klipper/issues/4560
https://github.com/dmbutyugin/klipper/tree/resonance-test-methods
I would only go down this path if you're getting ghosting with really high speed prints. On the Annex Engineering K3 for example, no matter how perfect the graphs looked, I was still getting some ghosting. That prompted me to go down this path. I'm now able to print at 20-30k acceleration, 250-350mm/s, and 15scv with perfect quality that can usually only be seen at significantly slower speeds.
The default settings in Klipper have the damping ratio set to .1. This should be fine for most people with sane settings. I like to go for the insane.
Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.
{//服务器使用的方案:VLESS+TLS+WS+NGINX+CDN,看情况替换成自己的 | |
"log": { | |
"access": "/dev/null", | |
"error": "/var/log/xray_error.log", | |
"loglevel": "warning" | |
}, | |
"inbounds": [ | |
{ | |
"tag":"transparent", | |
"port": 12345, |
import { PrismaClient } from "@prisma/client"; | |
let prisma: PrismaClient; | |
declare global { | |
namespace NodeJS { | |
interface Global { | |
prisma: PrismaClient; | |
} | |
} | |
} |