Skip to content

Instantly share code, notes, and snippets.

View bradfordzhang's full-sized avatar

Bradford Zhang bradfordzhang

View GitHub Profile
@bradfordzhang
bradfordzhang / bradford.zsh-theme
Last active February 19, 2024 15:30
bradford.zsh-theme
# Clean, simple, compatible and meaningful.
# Tested on Linux, Unix and Windows under ANSI colors.
# It is recommended to use with a dark background.
# Colors: black, red, green, yellow, *blue, magenta, cyan, and white.
#
# Inspired by Yad Smood in Mar 2013
# Aug 2023 Bradford Zhang
# VCS
YS_VCS_PROMPT_PREFIX1="%{$reset_color%}%{$fg[blue]%}"

Keybase proof

I hereby claim:

  • I am bradfordzhang on github.
  • I am bradfordz (https://keybase.io/bradfordz) on keybase.
  • I have a public key ASBquIh2ZevfLRmAVn4wEAG-HFDPoVQz4itLfOIJ0vJ4zgo

To claim this, I am signing this object:

@bradfordzhang
bradfordzhang / release.sh
Last active August 19, 2022 03:12
release MSP
version=$(git describe --tags)
version1=${version#v}
VERSION=${version1%%-*}
mkdir -p deb/DEBIAN
mkdir -p deb/lib/systemd/system
mkdir -p deb/usr/bin
cp ./minecraftspeedproxy deb/usr/bin
tee deb/lib/systemd/system/Minecraft-Speed-Proxy.service <<-'EOF'
[Unit]