Skip to content

Instantly share code, notes, and snippets.

@ChuanyuXue
ChuanyuXue / Scheduled Tx Tools
Created April 15, 2022 19:02 — forked from jeez/ Scheduled Tx Tools
[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.
@ChuanyuXue
ChuanyuXue / morandi.py
Last active November 14, 2024 08:16
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',
@ChuanyuXue
ChuanyuXue / 📊 Weekly development breakdown
Last active March 28, 2025 00:19
👨🏽‍💻 weekly dev
Other 17 hrs ██████████████▏░░░░░░ 67.6%
C 6 hrs 15 mins █████▏░░░░░░░░░░░░░░░ 24.9%
Diff 29 mins ▍░░░░░░░░░░░░░░░░░░░░ 1.9%
Bash 23 mins ▎░░░░░░░░░░░░░░░░░░░░ 1.6%
Io 23 mins ▎░░░░░░░░░░░░░░░░░░░░ 1.5%
< hello > ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
🚴‍♂️ 306km █████████████░░░░░░░
‍🏃‍♂️ 125km █████▏░░░░░░░░░░░░░░
🚶‍♂️ 38km █▌░░░░░░░░░░░░░░░░░░
🚣 0km ░░░░░░░░░░░░░░░░░░░░
468km total