This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM continuumio/miniconda3 | |
| EXPOSE 8888 | |
| RUN conda install jupyter -y --quiet | |
| RUN conda install pytorch torchvision cpuonly -c pytorch -y --quiet | |
| RUN pip3 install d2l | |
| RUN mkdir -p /opt/notebooks | |
| ENTRYPOINT [ "jupyter" ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| local wezterm = require 'wezterm'; | |
| return { | |
| font = wezterm.font("Iosevka NF"), | |
| color_scheme = "Ayu Mirage", | |
| font_size = 19.0, | |
| window_background_image = "/Users/xhu/Pictures/1380180928620.jpg", | |
| window_background_image_hsb = { | |
| brightness = 0.018, | |
| hue = 1.0, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Enable true color | |
| set -g default-terminal 'tmux-256color' | |
| set-option -ga terminal-overrides ',xterm-256color:Tc' | |
| # List of plugins | |
| set -g @plugin 'tmux-plugins/tpm' | |
| set -g @plugin 'tmux-plugins/tmux-sensible' | |
| set -g @plugin 'tmux-plugins/tmux-resurrect' | |
| set -g @plugin 'tmux-plugins/tmux-continuum' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| neovim | |
| ripgrep | |
| gopls | |
| rust-analyzer | |
| lua-language-server |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FONT_RED := $(shell tput setaf 1) | |
| FONT_GREEN := $(shell tput setaf 2) | |
| FONT_YELLOW := $(shell tput setaf 3) | |
| FONT_BLUE := $(shell tput setaf 4) | |
| FONT_PURPLE := $(shell tput setaf 5) | |
| FONT_CYAN := $(shell tput setaf 6) | |
| FONT_GRAY := $(shell tput setaf 7) | |
| FONT_BLACK := $(shell tput setaf 8) | |
| FONT_BOLD := $(shell tput bold) | |
| FONT_RESET := $(shell tput sgr0) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| header, .GlobalSideBar.GlobalSideBar--old, .TopstoryTabs.Topstory-tabs, .Card>img, .CommentsV2-footer, .ColumnPageHeader, .Recommendations-Main, .ContentItem-actions .Popover, .Button.ContentItem-action.Button--withIcon, .VoteButton--up>span>svg, .VoteButton--down, .AuthorInfo-avatar, .Voters>button { | |
| display:none; | |
| } | |
| .Topstory-container { | |
| display: block; | |
| width: 100%; | |
| padding: 0 150px; | |
| } | |
| .Topstory-mainColumn { | |
| background-color: #555; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # install https://github.com/edc/bass using fisher/omf | |
| # place this file in .config/fish/functions | |
| function gvm | |
| bass source ~/.gvm/scripts/gvm ';' gvm $argv | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM debian:stable-slim | |
| RUN sed -i 's/deb.debian.org/mirrors.ustc.edu.cn/g' /etc/apt/sources.list | |
| RUN apt-get update && apt-get install -y unzip expect | |
| WORKDIR /gfriends | |
| COPY ./Gfriends-Inputer-ubuntu-latest.zip /gfriends/ | |
| RUN unzip Gfriends-Inputer-ubuntu-latest.zip \ | |
| && mv Gfriends\ Inputer gfriends-inputer \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| clone this project to /root/work |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| volumes | |
| docker/caddy/index.html:/etc/caddy/index/index.html | |
| docker/caddy/caddyfile:/etc/caddy/Caddyfile | |
| port | |
| 8008:80 |
NewerOlder