GithubHelp home page GithubHelp logo

macbook's Introduction

Macbook tips

Some tips and command for MacOS.

macos

Command

brew install git bash-completion

Add bash-completion to your ~/.bash_profile or .extra

[ -f /usr/local/etc/bash_completion ] && . /usr/local/etc/bash_completion
  1. create new folder in Desktop
mkdir ~/Desktop/screenshots/
  1. Copy and paste this command to the terminal window:
defaults write com.apple.screencapture location ~/Desktop/screenshots/

Monospaced font with programming ligatures: FiraCode

Use brew and cask: Not officially supported, might install outdated version

brew tap caskroom/fonts
brew cask install font-fira-code

screenshot: see the != symbol

firacode

Setting the Mac hostname or computer name from the terminal

See the reference. change the primary hostname of your Mac:

scutil --set HostName <new host name>

Main font-bundle for sketch icon-font plugin

  • FontAwesome
  • Material Design Icons
  • Ion Icons
  • Simple Line Icons (@bohn002)
  • Ant Design Icons

See the detail

font

jq is a lightweight and flexible command-line JSON processor. Try it online.

jq_command

IDE

Tips

Show all filename extensions in Finder

See the following screenshots:

finder

How to change the ScreenShot Keyboard Shortcut

You can see the reference.

shortcut_001

shortcut_002

Change the Shell in Mac OS X Terminal

You can see the reference.

open the terminal app and select the preferences

terminal_001

terminal_002

Using a Windows PC Keyboard on Mac with Remapped Windows & ALT Keys

See the reference

keyboard_01

  1. Select your windows keyboard.
  2. Click the dropdown next to OPTION Key and select Command
  3. Click the dropdown next to COMMAND Key and select Option

keyboard_02

Tmux scrollback in terminal (iTerm2)

You can copy my .tmux.conf config file and update the profile of iTerm2 as following screenshot:

iterm2

macbook's People

Contributors

appleboy 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.