Skip to content

Instantly share code, notes, and snippets.

View ChuanyuXue's full-sized avatar
🦀
Studying Rust

skewcy ChuanyuXue

🦀
Studying Rust
View GitHub Profile
@ChuanyuXue
ChuanyuXue / morandi.py
Last active January 26, 2026 14:57
Morandi Palette: A palette with 18 colors inspired by Giorgio Morandi
import os
import numpy as np
import seaborn as sns
import matplotlib.pyplot as plt
from collections import defaultdict
from gurobipy import Model, GRB
from PIL import Image
colors = [
'#686789', '#B77F70', '#E5E2B9', '#BEB1A8', '#A79A89', '#8A95A9',
@nonkronk
nonkronk / vscode-tunnel-daemon-oracle-cloud.md
Last active February 8, 2026 17:54
Setup an Always-on VSCode Tunnel on Ubuntu Server

Setup an Always-on VSCode Tunnel on Oracle Cloud Always-free Instance

Access Oracle Cloud VM from any browser on any devices

Install VSCode for arm64

wget -O vscode.deb https://code.visualstudio.com/sha/download\?build\=stable\&os\=linux-deb-arm64 && sudo apt install ./vscode.deb --fix-broken -y && rm vscode.deb
@hansrajdas
hansrajdas / vim.md
Last active January 25, 2026 19:03
VIM commands

Acronym

  • C-a ==> CTRL-a

Modes in VIM

  • Normal mode(n) When we open mode, the default mode is normal
  • Insert mode(i) When we want to insert some text, we press i, a or A etc to go in insert mode
  • Command mode(c) When we type colon(:) from normal mode, we enters command mode
  • Visual mode(v) Using v or V or C-i

Start VIM

@jeez
jeez / Scheduled Tx Tools
Last active February 12, 2026 08:56
[TSN] Scheduled Tx Tools - Examples and Helpers for testing SO_TXTIME, and the etf and taprio qdiscs
We couldn’t find that file to show.