• sage


    sage
    
    FROM sagemath/sagemath:9.1-py3
    
    RUN sage -pip install pip -i https://pypi.mirrors.ustc.edu.cn/simple/ --upgrade 
        && sage -pip install pandas -i https://pypi.mirrors.ustc.edu.cn/simple/ 
        && sage -pip install pydes -i https://pypi.mirrors.ustc.edu.cn/simple/ 
        && sage -pip install pyaes -i https://pypi.mirrors.ustc.edu.cn/simple/ 
        && sage -pip install pycryptodomex -i https://pypi.mirrors.ustc.edu.cn/simple/ 
        && sage -pip install jupyter_contrib_nbextensions -i https://pypi.mirrors.ustc.edu.cn/simple/ 
        && sage -pip install jupyter_nbextensions_configurator -i https://pypi.mirrors.ustc.edu.cn/simple/ 
        && sage -jupyter contrib nbextension install --user 
        && sage -jupyter nbextensions_configurator enable --user 
        && sage -jupyter nbextension enable highlight_selected_word/main 
        && sage -jupyter nbextension enable hinterland/hinterland 
        && sage -jupyter nbextension enable toc2/main
    
    
    
    sage
    
    wsl --import fedora D:WSLUFULL fedora-34.20211001-x86_64.tar
    
    sudo sed -e 's|^metalink=|#metalink=|g' 
             -e 's|^#baseurl=http://download.example/pub/fedora/linux|baseurl=https://mirrors.ustc.edu.cn/fedora|g' 
             -i.bak 
             /etc/yum.repos.d/fedora.repo 
             /etc/yum.repos.d/fedora-modular.repo 
             /etc/yum.repos.d/fedora-updates.repo 
             /etc/yum.repos.d/fedora-updates-modular.repo
    
    dnf update -y
    dnf install zsh git perl gcc g++ make vim nano util-linux-user wget curl proxychains -y
    sh -c "$(proxychains curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
    chsh -s $(which zsh)
    sed -i '/^ZSH_THEME=/cSH_THEME="ys"' ~/.zshrc
    git clone https://github.com/zsh-users/zsh-syntax-highlighting $ZSH_CUSTOM/plugins/zsh-syntax-highlighting
    git clone https://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions
    git clone https://github.com/zsh-users/zsh-completions $ZSH_CUSTOM/plugins/zsh-completions
    [ -z "`grep "autoload -U compinit && compinit" ~/.zshrc`" ] && echo "autoload -U compinit && compinit" >> ~/.zshrc
    sed -i '/^plugins=/cplugins=(git sudo z zsh-syntax-highlighting zsh-autosuggestions zsh-completions)' ~/.zshrc
    echo -e "
    export LANG="zh_CN.UTF8"" >>~/.zshrc
    source ~/.zshrc
    #install Miniforge 
    conda config --add channels conda-forge
    conda config --set channel_priority strict
    conda install mamba
    mamba create -n sage sage python=X
    mamba activate sage
    mamba install jupyter_contrib_nbextensions jupyter_nbextensions_configurator
    
    #nbextensions>>
    #ExecuteTime
    #Hinterland
    #Toggle all line numbers
    
    
  • 相关阅读:
    oracle expdp和impdp常用命令选项
    oracle expdp导出远程数据到本地
    oracle目录操作
    反射
    设置查询对话框的F7
    Uncaught TypeError: timeout.close is not a function. when try to use clearInterval
    timestamp to time 时间戳转日期
    react+antd 选项卡切换
    react antd Warning: must set key for <rc-animate> children
    微信企业号报Error: echostr校验失败,请您检查是否正确解密并输出明文
  • 原文地址:https://www.cnblogs.com/yzpopulation/p/15357154.html
Copyright © 2020-2023  润新知