This file contains 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
import collections | |
import json | |
import re | |
import requests | |
import tqdm | |
from bs4 import BeautifulSoup | |
def bilibili_search(keyword, pages=[1], order='', duration=0, typeid=0, headers=dict()): | |
'''Bilibili 综合搜索 |
This file contains 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
# mitmdump -s __file__ -p 8888 | |
from mitmproxy import http | |
idx = 1 | |
def request(flow): | |
pass | |
def response(flow): |
This file contains 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
\documentclass[11pt]{letter} | |
% Packages | |
\input{preamble.tex} | |
% Information | |
\Who{Dr. Niko Bellic} | |
\Title{, PhD} | |
\authordetails{ | |
Department of Mathematics \\ % your department | |
123 Broadway \\ % Your address | |
Berkeley CA 12345 \\ % Your city, zip code, country, etc |
This file contains 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
<style>.bmc-button img{width: 35px !important;margin-bottom: 1px !important;box-shadow: none !important;border: none !important;vertical-align: middle !important;}.bmc-button{padding: 7px 10px 7px 10px !important;line-height: 35px !important;height:51px !important;min-width:217px !important;text-decoration: none !important;display:inline-flex !important;color:#FFFFFF !important;background-color:#FF813F !important;border-radius: 5px !important;border: 1px solid transparent !important;padding: 7px 10px 7px 10px !important;font-size: 28px !important;letter-spacing:0.6px !important;box-shadow: 0px 1px 2px rgba(190, 190, 190, 0.5) !important;-webkit-box-shadow: 0px 1px 2px 2px rgba(190, 190, 190, 0.5) !important;margin: 0 auto !important;font-family:'Cookie', cursive !important;-webkit-box-sizing: border-box !important;box-sizing: border-box !important;-o-transition: 0.3s all linear !important;-webkit-transition: 0.3s all linear !important;-moz-transition: 0.3s all linear !important;-ms-transition: 0.3s all linear |
This file contains 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
#!/usr/bin/python3 | |
# -*- encoding: utf-8 -*- | |
''' | |
@File : netease_music.py | |
@Time : 2019/11/13 | |
@Author : Vian Lee | |
@Contact : <no contact> | |
@Docstring : <no docstring> | |
''' |
This file contains 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
# -*- encode: utf-8 -*- | |
from itertools import product | |
from math import pi,e | |
from re import findall, sub | |
def find_formula(formula:str, constants:dict=dict(), methods:dict=dict(), eps:float=1e-2): | |
"""Example | |
>>> f = "[-9~9,bi]*pi+[0~10,bi]*e" | |
>>> bi = lambda i,j: range(i,j+1) |
This file contains 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
<!-- This file should in `templates` directory --> | |
{% extends "base.html" %} | |
{% block title %}网址缩短 - Page Not Found{% endblock %} | |
{% block page_content %} | |
<div class="page-header"> | |
<h1>Not Found</h1> | |
</div> | |
{% endblock %} |
NewerOlder