Skip to content

Instantly share code, notes, and snippets.

View itxve's full-sized avatar
🐯

itxve itxve

🐯
View GitHub Profile
@itxve
itxve / 乙骨.gif
Last active August 11, 2023 09:39 — forked from simon300000/kkomda.jpg
🏷️酱酱~
乙骨.gif
@itxve
itxve / Tree的工具类
Last active June 24, 2022 03:27
一个从List构建到Tree的工具类
import cn.hutool.core.collection.CollectionUtil;
import cn.hutool.core.util.ReflectUtil;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
import java.util.Objects;
import java.util.function.BiPredicate;
import java.util.function.Function;
@itxve
itxve / Shell Functions
Last active April 28, 2021 05:55
A Simple and Practical Shell Functions
# A Simple and Practical Shell Functions
#!/usr/bin/env bash
prefix="===================================================================="
end="......................"
sucess="👌👌👌👌👌👌👌👌👌👌👌👌👌"
error="🙅‍🙅‍🙅‍🙅‍🙅‍🙅‍🙅‍🙅‍🙅‍🙅‍🙅‍🙅‍🙅‍"
rocket="🚀 🚀 🚀 🚀 🚀 🚀 🚀 🚀 🚀 🚀 🚀 "
# 检测上条命令是否成功
function hasSuccee() {
if [[ $? = 0 ]]
@itxve
itxve / config.txt
Last active November 14, 2020 07:43
neofetch config
# See this wiki page for more info:
# https://github.com/dylanaraps/neofetch/wiki/Customizing-Info
print_info() {
info title
info underline
info "OS" distro
info "Host" model
info "Kernel" kernel
info "Uptime" uptime