Giter Site home page Giter Site logo

awesome-mac-things's Introduction

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

⌚ 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

☕ 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]

awesome-mac-things's People

Contributors

superhj1987 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.