Need help with awesome-mac-things?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

superhj1987
211 Stars 37 Forks Apache License 2.0 110 Commits 0 Opened issues

Description

some useful mac things:scripts, shells, doc, shortcut keys

Services available

!
?

Need anything else?

Contributors list

# 53,632
Scala
Git
Bash
vcs
95 commits

awesome-mac-things License

GitHub stars GitHub forks

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
    bin
    to 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 gitreposurl is empty,init .gitignore, otherwise clone the repository to [to_dir],and int .gitignore
    • when to_dir is empty, the todir is the end of the gitreposurl,for example **macuseful_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 timewait、closewait 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_docname is empty,the generate content will overwrite the doc_name file, otherwise the content will be in the to_docname 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]

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.