This file contains 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
{ | |
"log": { | |
"disabled": false, | |
"level": "info", | |
"timestamp": true | |
}, | |
"experimental": { | |
"clash_api": { | |
"external_controller": "127.0.0.1:9090", | |
"external_ui": "metacubexd", |
This file contains 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
mixed-port: 7890 # HTTP(S) 和 SOCKS 代理混合端口 | |
allow-lan: true # 允许局域网连接 | |
external-controller: 0.0.0.0:9090 | |
geodata-mode: true | |
geo-auto-update: true # 是否自动更新 geodata | |
geo-update-interval: 24 # 更新间隔,单位:小时 | |
geox-url: | |
geoip: "https://git.chenx221.cyou/chenx221/v2ray-rules-dat/raw/branch/release/geoip.dat" | |
geosite: "https://git.chenx221.cyou/chenx221/v2ray-rules-dat/raw/branch/release/geosite.dat" |
This file contains 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
<?php | |
namespace app\models; | |
use JsonException; | |
use Webauthn\PublicKeyCredentialSource; | |
use Yii; | |
use yii\db\ActiveQuery; | |
use yii\db\ActiveRecord; |
This file contains 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
<h5> | |
<i class="fa-solid fa-key"></i> | |
Webauthn | |
</h5> | |
<div class="input-group" id="totp_area"> | |
<input type="text" class="form-control" placeholder="New Name" aria-label="New Name" name="fido_name" | |
id="fido_name"> | |
<?= Html::button('Add', ['id' => "webauthn_add", 'type' => 'button', 'class' => 'btn btn-primary btn-sm']) ?> | |
<?= Html::button('Verify', ['id' => "webauthn_verify", 'type' => 'button', 'class' => 'btn btn-primary btn-sm']) ?> | |
</div> |
This file contains 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
const { startRegistration } = SimpleWebAuthnBrowser; | |
const elemBegin = document.getElementById('webauthn_add'); | |
const elemSuccess = document.getElementById('webauthn_success'); | |
const elemError = document.getElementById('webauthn_error'); | |
elemBegin.addEventListener('click', async () => { | |
elemSuccess.innerHTML = ''; | |
elemError.innerHTML = ''; | |
elemSuccess.parentElement.hidden = true; | |
elemError.parentElement.hidden = true; |
This file contains 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
public function actionCreateCredentialOptions(): Response | |
{ | |
$id = Yii::$app->params['domain']; | |
$user = Yii::$app->user->identity; | |
$rpEntity = PublicKeyCredentialRpEntity::create( | |
'NetDisk Application', | |
$id | |
); | |
$userEntity = PublicKeyCredentialUserEntity::create( | |
$user->username, |
This file contains 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
127.0.0.1 ij0gdyrfka.adobe.io | |
127.0.0.1 23ynjitwt5.adobe.io |
This file contains 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
# Chrome OS recovery images manual download | |
https://dl.google.com/dl/edgedl/chromeos/recovery/recovery2.json | |
https://dl.google.com/dl/edgedl/chromeos/recovery/recovery.json | |
# Google Chrome OS Flex images manual download | |
https://dl.google.com/dl/edgedl/chromeos/recovery/cloudready_recovery2.json | |
https://dl.google.com/dl/edgedl/chromeos/recovery/cloudready_recovery.json |