Coder Social home page Coder Social logo

tsing-answer's Introduction

Eren Chenyang Zhao

import random
import time
import uuid

class Eren:
    def __init__(self, uuid: uuid.UUID) -> None:
        self.uuid = uuid
        self.gender = 'boy with long hair'
        self.pronouns = {'he', 'him', 'his'}
        self.skills = ['Python', 'Linux', 'NLP']
        self.os = ('MacOS', 'Linux')

    def career(self, year: int) -> str:
        current_year = time.localtime().tm_year
        if year < current_year:
            return f"In {year}, I was a student."
        elif year == current_year:
            return f"Now, I'm an NLP researcher!"
        else:
            return "Maybe in the future, I'll become a writer!"

    def hobby(self) -> str:
        interests = [
            'Science Fiction', 'Machine Learning', 'Running',
            'Astronomy', 'Software Defined Radio', 'Japanese',
            'Playing Guitar', 'Sketching', 'Cooking',
            'Hiking', 'Photography', 'Gaming'
        ]
        return random.choice(interests)

world = 'Universe'
uuid_ = uuid.uuid5(uuid.NAMESPACE_DNS, 'Eren Zhao')

me = Eren(uuid_)

print(f"Hi! I'm Eren, a {me.gender} with skills in {', '.join(me.skills)}.")
print(f"I'm interested in {me.hobby()}, and my OS of choice is {me.os[0]}.")
print(f"just contact me through [email protected]!")

江水、高墙、犬吠决不能阻止他们的出逃,因为他们的心中有一座灯塔,比主体思想塔更明亮,更永垂不朽,他们的心中有一座宫殿,比锦绣山太阳宫更屹立不倒。

The rivers, high walls, and barking dogs cannot stop their escape, because in their hearts, there is a lighthouse brighter and more eternal than the Tower of Juche ideology. In their hearts, there is a palace more unshakable than the Kumsusan Palace of the Sun.

See More At

My Anecdote

my Personal Info

profile profile
profile profile

tsing-answer's People

Contributors

lr-tsinghua11 avatar zhaochen20 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

kungfu-crab

tsing-answer's Issues

st

alias sqm='squeue --Format=jobid,partition,username,quotatype,numnodes,reasonlist:200 | egrep 'Model' | grep -v 'UCG_BigModel' | grep -v 'TCG_BigModel''
alias sqs="squeue | egrep 'Model|LM|sku_model|STCShare_A100|TCG_BigModel|UCG_BigModel|pat_op|pat_rd|vc_research_5|Zoetrope|ToolChain|pat|basemodel|phx-test' | grep spot"
alias sqa="squeue | egrep 'Model|LM|sku_model|STCShare_A100|TCG_BigModel|UCG_BigModel|pat_op|pat_rd|vc_research_5|Zoetrope|ToolChain|pat|basemodel|phx-test'"
alias sqai="squeue --Format=jobid,partition,username,quotatype,numnodes,reasonlist:200 | egrep 'Model|LM|sku_model|STCShare_A100|TCG_BigModel|UCG_BigModel|pat_op|pat_rd|vc_research_5|Zoetrope|ToolChain|pat|bas$
alias rmo="rm -rf *.out"
alias nyt=New_York_Times
alias gcb="git checkout -b"
alias gb="git branch"
alias gc="git checkout"
alias gpso="git push --set-upstream origin"
alias gpl="git pull"
alias ope="nano ~/.bashrc"
alias gcm="git commit -m"
alias ga="git add ."
alias gl="git log --graph --pretty=oneline --abbrev-commit"
export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.aliyun.com/homebrew/homebrew-bottles
alias ipy="ipython"
alias op="open '$(pwd)'"
alias duh="du -hs"
alias ca="conda activate"
alias gpu="python3 ~/.GPU.py"
alias sa="source activate"
alias cie="conda info -e"alias ciy="conda install -y"
alias pi="pip install"
alias le="less"
alias ju="jupyter notebook"
alias his="history"
alias clr="conda list -e > requirements.txt"
alias sz="source ~/.bashrc"
alias 成都="cd"
alias sgpu4="sbatch --preempt --gres=gpu:4 --ntasks-per-node=1 --cpus-per-task 16 -p LM --quotatype=spot "
alias sgpu8="sbatch --preempt --gres=gpu:8 --ntasks-per-node=1 --cpus-per-task 16 -p LM --quotatype=spot "
alias scpu="sbatch --preempt --gres=gpu:0 --ntasks-per-node=1 --cpus-per-task 16 -p cpu --quotatype=spot "
alias squ="squeue -u zhaochenyang"
alias sca="scancel -u zhaochenyang"
alias wd="watch -n 0.1 du -hs"
alias pi="pip install"
alias le="less"
alias ju="jupyter notebook"
alias his="history"
alias clr="conda list -e > requirements.txt"
alias sz="source ~/.bashrc"
alias 成都="cd"
alias sgpu4="sbatch --preempt --gres=gpu:4 --ntasks-per-node=1 --cpus-per-task 16 -p LM --quotatype=spot "
alias sgpu8="sbatch --preempt --gres=gpu:8 --ntasks-per-node=1 --cpus-per-task 16 -p LM --quotatype=spot "
alias scpu="sbatch --preempt --gres=gpu:0 --ntasks-per-node=1 --cpus-per-task 16 -p cpu --quotatype=spot "
alias squ="squeue -u zhaochenyang"
alias sca="scancel -u zhaochenyang"
alias wd="watch -n 0.1 du -hs"
conda activate /mnt/cache/zhaochenyang/envs/pt1.12.1_cuda11.6
clear

alias

alias nyt=New_York_Times
alias gcb="git checkout -b"
alias gcm="git commit -m"
alias gc="git checkout"
alias gpso="git push --set-upstream origin"
alias gp="git push"
alias gpl="git pull"

alias ope="code ~/.zshrc"
alias ga="git add ."
alias gl="git log --graph --oneline --decorate --abbrev-commit --all"
export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.aliyun.com/homebrew/homebrew-bottles
alias ipy="ipython"
alias duh="du -hs"
alias ca="conda activate"
alias sa="source activate"
alias cie="conda info -e"
alias ciy="conda install -y"
alias pi="pip install"
alias le="less"
alias ju="jupyter notebook"
alias his="history"
alias clr="conda list -e > requirements.txt"
alias sz="source ~/.zshrc"
alias 成都="cd"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.