superhj1987/awesome-mac-things
关于
some useful mac things:scripts, shells, doc, shortcut keys
开发工具实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文awesome-mac-things 
some useful things in MAC OS.
- scripts
- shells
- tips of some common useful apps
Requirement
- Linux
- Mac
- git1.7+
Install
Three methods:
curl -s "https://raw.githubusercontent.com/superhj1987/awesome-mac-things/master/get.sh" | bash -s- Download the source and
make install - Download the source and set
binto the System Path to use the common usage shells
Uninstall
mthings uninstall
Usage
mthings
show system command
mtings list
show command list
mthings update
update mthings
mthings show_doc [doc_name]
show the contents of the specified doc
Docs and Commands
:watch: Document
useful_shells
some mac useful shells
shortcut_keys_intro
introduce mac shortcut keys
st_shortcut_keys
SublimeText2 shortcut keys
zsh_tips
zsh useful tips
ssh_timeout_solution
solution of ssh timeout
ssh_keys_save
solution of save password of the ssh keys to avoid input password
:coffee: bin
show_memory_usage
show memory usage in python`
git_init
init git repository
Usage:
git_init [git_repos_url] [to_dir]Option:
- when git_repos_url is empty,init .gitignore, otherwise clone the repository to [to_dir],and int .gitignore
- when to_dir is empty, the to_dir is the end of the git_repos_url,for example mac_useful_thins.git
Example:
git_init [email protected]:superhj1987/mac_useful_things.git mac_useful_things
rm_ds
delete .DS_Store in current dir
show_net_stats
show the count of each status connection,including time_wait、close_wait and so on.
generate_md_contents
generate the contents of a markdown doc.The doc's format meets:the first line is the title:# [title],the other title such as ##,###,####... is the contents and there must be a blank between #,##,###... and title text. The example docs are in the test dir.
Usage:
generate_md_contents [-a] doc_name [to_doc_name]Option:
- -a means generate the contents with append the anchor to the sub title.
- when to__doc_name is empty,the generate content will overwrite the doc_name file, otherwise the content will be in the to__doc_name file.
Example:
generate_md_contents ../test/test_doc.md test__doc_with_contents.md
change_git_origin_remote
change current origin remote repos to a new url
Usage:
change_git_origin_remote [new_git_repos_url]
word_count
get the word total count in a doc
Usage:
word_count [doc_name]
search_aj
search java resources from https://github.com/superhj1987/awesome-tech-collections/blob/master/awesome-java.md
Usage:
search_aj [project_name | category_name]
探索相关项目
加载中…