- QQ 看点
- 百度好看
- 百度贴吧
- 百家号
- 抖音
- 华为
- 华为云
- 火山
- 快手
- 美拍
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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1" /> | |
| <title>The title</title> | |
| <link rel="shortcut icon" href="favicon.ico"> | |
| <link href="" rel="stylesheet" type="text/css"> | |
| <script type="text/javascript" src="" ></script> | |
| <!-- Auto refresh --> |
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
| #!/bin/bash | |
| get_latest_release() { | |
| curl --silent "https://api.github.com/repos/gohugoio/hugo/releases/latest" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/;s/v//g' | |
| } | |
| version=$(get_latest_release) | |
| sha256sums() { | |
| curl -fsSL "https://github.com/gohugoio/hugo/releases/download/v${version}/hugo_${version}_checksums.txt" | grep "hugo_${version}_linux-amd64.deb" | cut -d " " -f 1 |
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
| #!/bin/bash | |
| # 优先运行 Firefox-devlopper | |
| if [ `command -v firefox-dev` ]; then | |
| start firefox-dev -private-window "http://127.0.0.1:1313" | |
| else | |
| start chrome -incognito "http://127.0.0.1:1313" | |
| fi | |
| hugo server -w -D -p 1313 -t DoIt --bind 0.0.0.0 --contentDir example --forceSyncStatic --ignoreCache --noHTTPCache --disableFastRender -e production --enableGitInfo |
scoop install spicetify-cli
scoop install spotify
下载自己的配置文件 eallion/dotfiles
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
| <link href="https://fonts.googleapis.com/css?family=Quicksand:400,700" rel="stylesheet"> | |
| <body id="top"> | |
| <h1> | |
| Scroll To Top | |
| </h1> | |
| <div class="long-text"> | |
| <p>Scroll down to see the button.</p> | |
| <p>Click the button to see smooth scroll to top.</p> | |
| Leverage agile frameworks to provide a robust synopsis for high level overviews. Iterative approaches to corporate strategy foster collaborative thinking to further the overall value proposition. Organically grow the holistic world view of disruptive innovation via workplace diversity and empowerment.<br><br> |
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
| <div id="ticker"> | |
| <div id="ticker-wrapper"> | |
| <ul id="ticker-wrapper-inner"> | |
| <li> | |
| <figure> | |
| <img src="http://placehold.it/80x80" alt="" /> | |
| </figure> | |
| <h3>Item #1</h3> | |
| </li> | |
| <li> |
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
| for((i=1;i<=10302;i++)); | |
| do | |
| echo "" | |
| echo "" | |
| echo "Start download book from $i" | |
| echo "" | |
| echo "" | |
| curl "https://www.tianlangbooks.com/$i.html" -H 'authority: www.tianlangbooks.com' --data-raw 'secret_key=359198&Submit=%E6%8F%90%E4%BA%A4' --compressed | grep "蓝奏云盘" >> download.txt | |
| done |
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
| #!/bin/sh | |
| # extracts date from file in the format | |
| # date: 2013-08-23 14:52:59 | |
| # and prepends this to the filename | |
| for f in *.md; do | |
| c="$(grep -Eo 'date:\W\"(....-..-..)' $f | cut -d'"' -f2 | xargs)" | |
| s="$(grep -Eo 'slug:\W\"(.+)' $f | cut -d'"' -f2 | xargs)" | |
| mv "$f" "$c-$s.md" | |
| done |
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
| // Website you intended to retrieve for users. | |
| const upstream = 'api.openai.com' | |
| // Custom pathname for the upstream website. | |
| const upstream_path = '/' | |
| // Website you intended to retrieve for users using mobile devices. | |
| const upstream_mobile = upstream | |
| // Countries and regions where you wish to suspend your service. |
OlderNewer