Skip to content

Instantly share code, notes, and snippets.

@feifei9606
feifei9606 / sci-hub.py
Created March 4, 2022 06:25
[批量从sci-hub下载文件]
# -*- coding: utf-8 -*-
"""
Sci-API Unofficial API
[Search|Download] research papers from [scholar.google.com|sci-hub.io].
@author zaytoun
"""
import re
@feifei9606
feifei9606 / lftp_tutorial.md
Last active September 10, 2025 03:50
[lftp用法] 使用lftp进行上传/下载操作 #ftp

install lftp

lftp sophisticated command line file transfer program (ftp, http, sftp, fish, torrent)

yum install lftp

连接到ftp服务器

@feifei9606
feifei9606 / zsh_tutorial.md
Created July 5, 2021 02:51
[zsh相关] zsh相关操作 #zsh
  1. zsh安装 ohmyzsh

  2. bash/zsh互相切换

  • chsh -s /bin/zsh
  • chsh -s /bin/bash
@feifei9606
feifei9606 / pigar.sh
Last active September 15, 2020 01:14
[Generate requirement] generate requirements.txt for python script or project #python
## install
conda install -c conda-forge pigar
## change directory to your project
pigar
# project/foo.py: 2,3
# project/bar/baz.py: 2,7,8,9
# foobar == 3.3.3