Skip to content

Instantly share code, notes, and snippets.

@chenxiex
chenxiex / interacting-with-clip.ipynb
Created July 21, 2025 07:43
Interacting with CLIP.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@chenxiex
chenxiex / warp-cli-team.md
Created June 21, 2025 12:22
Cloudflare warp-cli 在无浏览器的服务器上加入团队
  1. 首先注册
warp-cli registration new <team name>

此时命令行回显一个链接。在本地浏览器打开该链接,正常完成验证,验证完后F12,切换到网络,点击页面上的打开warp的按钮,获得该按钮对应的URL

  1. 将URL的Key注册进warp
warp-cli registration token <url>
@chenxiex
chenxiex / flash_archive_on_genymotion.sh
Last active May 31, 2024 10:09
flash archive on genymotion using adb
adb shell flash-archive.sh /sdcard/Download/system.zip
adb reboot
@chenxiex
chenxiex / Microsoft.PowerShell_profile.ps1
Last active May 31, 2024 10:00
Set UTF-8 as default encoding in PowerShell 7+
# write to $PROFILE to persist
$OutputEncoding = [Console]::InputEncoding = [Console]::OutputEncoding = New-Object System.Text.UTF8Encoding
@chenxiex
chenxiex / boxes-unknown.xml
Last active October 14, 2024 08:25
Configuration for ssh into Gnome Boxes
# https://unix.stackexchange.com/questions/627187/ssh-into-gnome-boxes-os
# Edit first line
-<domain type='kvm'>
<domain xmlns:qemu="http://libvirt.org/schemas/domain/qemu/1.0" type="kvm">
# Delete "interface" section
-<interface>
-...
-</interface>