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
### 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: |
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
{ | |
"recommendations": [ | |
"visualstudioexptteam.vscodeintellicode" | |
] | |
} |
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
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" |
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
[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 |
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
#!/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" |
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
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") |
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
#!/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): |
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
#!/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 |
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
#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; |
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
Server Client Server | |
(not selected) (selected) | |
v v v | |
| | | | |
| Begins initialization | | |
| | | | |
| _____________/|\____________ | | |
|/DHCPDISCOVER | DHCPDISCOVER \| | |
| | | |
NewerOlder