-
git stash
保存当前的工作进度。会分别对暂存区和工作区的状态进行保存
-
git stash save "message..."
这条命令实际上是第一条 git stash 命令的完整版
| % https://sikouhjw.gitee.io/2021/02/14/2021-02-14-fontset-overleaf/ | |
| % https://www.overleaf.com/latex/templates/using-the-ctex-package-on-overleaf-zai-overleafping-tai-shang-shi-yong-ctex/gndvpvsmjcqx | |
| % https://zhuanlan.zhihu.com/p/145429470 | |
| \GetIdInfo$Id: ctex.dtx 81d4c90 2020-10-19 20:24:58 +0800 Qing Lee <[email protected]> $ | |
| {SUSTech fonts definition (CTEX)} | |
| \ProvidesExplFile{ctex-fontset-sustech.def} | |
| {\ExplFileDate}{2.5.5}{\ExplFileDescription} | |
| \RequirePackage{xpatch} | |
| \xpatchcmd \fontspec_new_script:nn | |
| { \__fontspec_warning:nxx } |
| import requests | |
| import json | |
| import random | |
| Back_URL = 'https://api.bilibili.com/x/web-interface/archive/stat?aid=' | |
| headers = { | |
| 'Cookie': "Replace Me With REAL COOKIE" , | |
| 'Pragma': 'no-cache', |
| RAR registration data | |
| WinRAR | |
| Unlimited Company License | |
| UID=4b914fb772c8376bf571 | |
| 6412212250f5711ad072cf351cfa39e2851192daf8a362681bbb1d | |
| cd48da1d14d995f0bbf960fce6cb5ffde62890079861be57638717 | |
| 7131ced835ed65cc743d9777f2ea71a8e32c7e593cf66794343565 | |
| b41bcf56929486b8bcdac33d50ecf773996052598f1f556defffbd | |
| 982fbe71e93df6b6346c37a3890f3c7edc65d7f5455470d13d1190 | |
| 6e6fb824bcf25f155547b5fc41901ad58c0992f570be1cf5608ba9 |
| """ | |
| Hierarchial Clustering. | |
| The goal of gist is to show to use scikit-learn to perform agglomerative clustering when: | |
| 1. There is a need for a custom distance metric (like levenshtein distance) | |
| 2. Use the distance in sklearn's API. | |
| Adapted from: sklearn's FAQ. | |
| http://scikit-learn.org/stable/faq.html | |
| """ |
| # Copy line by line and paste to an interactive shell | |
| # Update system | |
| sudo apt-get update && sudo apt-get dist-upgrade | |
| # Install Java | |
| sudo add-apt-repository ppa:openjdk-r/ppa | |
| sudo apt-get update | |
| sudo apt-get install openjdk-7-jdk |
| # Hello, and welcome to makefile basics. | |
| # | |
| # You will learn why `make` is so great, and why, despite its "weird" syntax, | |
| # it is actually a highly expressive, efficient, and powerful way to build | |
| # programs. | |
| # | |
| # Once you're done here, go to | |
| # http://www.gnu.org/software/make/manual/make.html | |
| # to learn SOOOO much more. |
| import BaseHTTPServer | |
| from SimpleHTTPServer import SimpleHTTPRequestHandler | |
| import sys | |
| import base64 | |
| key = "" | |
| class AuthHandler(SimpleHTTPRequestHandler): | |
| ''' Main class to present webpages and authentication. ''' | |
| def do_HEAD(self): |
| class Graph: | |
| def __init__(self): | |
| self.nodes = set() | |
| self.edges = defaultdict(list) | |
| self.distances = {} | |
| def add_node(self, value): | |
| self.nodes.add(value) | |
| def add_edge(self, from_node, to_node, distance): |