I hereby claim:
- I am boyanxu on github.
- I am boyan_xu (https://keybase.io/boyan_xu) on keybase.
- I have a public key ASD7B0t3Yho7niSlbQp1KcPsMZQvIP-UVMtmqgsTH-Muego
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| ### Keybase proof | |
| I hereby claim: | |
| * I am boyanxu on github. | |
| * I am boyanxu (https://keybase.io/boyanxu) on keybase. | |
| * I have a public key ASCCiJnQ5gsYA5Q8q4IcH-XR-YCUcMlE4IL427JQB9jj3Qo | |
| To claim this, I am signing this object: |
| { | |
| "recommendations": [ | |
| "visualstudioexptteam.vscodeintellicode" | |
| ] | |
| } |
| 1. Add a virtual serial port to the VM using PVE Web GUI and restart the VM | |
| 2. Config grub | |
| When using GRUB with a generated grub.cfg, edit /etc/default/grub and enable serial input and output support: | |
| /etc/default/grub | |
| ... | |
| GRUB_TERMINAL_INPUT="console serial" | |
| ... | |
| GRUB_TERMINAL_OUTPUT="gfxterm serial" |
| [ActivityManager][Global Shortcuts] | |
| switch-to-activity-cbe4b85e-029f-4dbd-aff6-d4df740738a9= | |
| [KDE Keyboard Layout Switcher][Global Shortcuts] | |
| Switch to Next Keyboard Layout=Meta+Alt+K | |
| [StandardShortcuts] | |
| AboutApp= | |
| AboutKDE= | |
| Activate Next Tab=Ctrl+]; Ctrl+PgDown |
| #!/bin/bash | |
| # Go through each file with "sync-conflict" in its name | |
| # -type f ensures we are only dealing with files (not directories) | |
| find . -type f -name '*sync-conflict*' -print0 | while IFS= read -r -d '' file | |
| do | |
| # Check if file exists (it should, but let's be safe) | |
| if [ -f "$file" ]; then | |
| echo "Deleting $file" | |
| rm "$file" |
| pkgname=RWKV-Runner | |
| pkgver=1.2.0 | |
| pkgrel=1 | |
| pkgdesc="RWKV Runner binary" | |
| arch=('x86_64') | |
| url="https://github.com/josStorer/RWKV-Runner" | |
| license=('MIT') | |
| depends=('python' 'python-pytorch' 'python-pydantic' 'python-psutil' 'python-fastapi' 'python-sse-starlette' 'python-gputil') | |
| makedepends=('git') | |
| source=("${pkgname}_linux_x64::https://github.com/josStorer/RWKV-Runner/releases/download/v$pkgver/RWKV-Runner_linux_x64") |
| #!/usr/bin/python3 | |
| import os, json, http.client, sys | |
| from PyQt6.QtWidgets import QApplication, QMessageBox, QAbstractButton | |
| from PyQt6.QtGui import QIcon, QPixmap, QClipboard | |
| from PyQt6.QtCore import Qt | |
| from pyperclip import paste, copy | |
| from urllib.request import urlopen, Request | |
| def deepl_api(text): |
| #!/usr/local/bin/fish | |
| rm list-of-* 2> /dev/null | |
| ## Get list-of-bin, list-of-pkg | |
| exa -al /usr/local/bin | grep Cellar | awk '{ print "/usr/local/bin/" $7}' | sort | uniq >> list-of-bin | |
| exa -al /usr/local/bin | grep Cellar | awk '{ print $9}' | sort | uniq | awk -F'/Cellar/' '{split($2,a,"/"); print a[1]}' | sort | uniq >> list-of-pkg | |
| ## Get list-of-arch | |
| while read -la file |
| #include <iostream> | |
| #include <unordered_set> | |
| #include <utility> | |
| using namespace std; | |
| class Solution { | |
| public: | |
| vector<pair<int,int>> doubleCheck(vector<int> V) { | |
| unordered_set<int> H; |