分类目录归档:科技

通过wget下载网站

通过wget下载一个网站

工具

iTerm or Terminal(终端)

示例代码

wget -r -p -np -k --restrict-file-names=nocontrol [url]

如何在电脑上安装wget

<!– more –>

简单的 shell 脚本

wget.sh

put it in /Users/$user

chmod -x wget.sh // Writable

./wget [url] // Any directory

Wiki

  • https://en.wikipedia.org/wiki/Wget
  • https://wiki.ubuntuusers.de/wget/

Git-常用命令

develop via a single branch

t branch -m {{branch}}
git fetch origin
git rebase origin/master -i
git push origin {{branch}}

create a new branch

git checkout -b {{branch}}

checkout remote branch

git checkout -b {{branch}} origin/{{branch}}

<!– more –>

merge branch to master

git checkout master
git merge {{branch}}

delete branch

git branch -D {{localBranch}}
git push --delete origin {{remoteBranch}}

rename repo

git remote -v
// View existing remotes
// origin  https://github.com/user/repo.git (fetch)
// origin  https://github.com/user/repo.git (push)

git remote set-url origin https://github.com/user/repo2.git
// Change the 'origin' remote's URL

add tag

git tag {{tag}}
git push --tags

add tag for a history commit

// Set the HEAD to the old commit that we want to tag
git checkout {{leading 7 chars of commit}}

// temporarily set the date to the date of the HEAD commit, and add the tag
GIT_COMMITTER_DATE="$(git show --format=%aD | head -1)" git tag -a {{tag}} -m "{{commit message}}"

// set HEAD back to whatever you want it to be
git checkout master

git push --tags

delete tag

git tag --delete {{tag}}
git push --delete origin {{tag}}

gh-pages

http://{{group}}.github.io/{{repo}}/

npm add owner

npm owner add {{name}}

一些链接

转自:https://github.com/fool2fish/issues/9

Webclown.net 网站版本快照记录

https://archive.webclown.net/

从开始,到现在

Since: 2014-8-11

Webclown.net 网站版本快照记录

感谢 Wayback Machine 提供的服务。

致逝去的青春,致逝去的时光。

程序员就是这样,喜欢记录(折腾)一切。🤪

v1

https://archive.webclown.net/v1

Webclown.net 网站快照 2014-10-01

v2

https://archive.webclown.net/v2

背景使用「必应」每日一图

Webclown.net 网站快照 2016-01-13

v3

https://archive.webclown.net/v3

Webclown.net 网站快照 2016-11-05

v4

https://archive.webclown.net/v4

Webclown.net 网站快照 2017-10-16

v5

https://archive.webclown.net/v5

Webclown.net 网站快照 2018-04-11

v6

https://archive.webclown.net/v6

Webclown.net 网站快照 2019-07-10

v7

https://archive.webclown.net/v7

Webclown.net 网站快照 2020-05-16

v8

https://archive.webclown.net/v8

Webclown.net 网站快照 2022-01-10

v9

https://archive.webclown.net/v9

Webclown.net 网站快照 2023-05-21

v10

https://archive.webclown.net/v10

Webclown.net 网站快照 2023-09-25

v11 当前版本

webclown.net