All Projects → appleboy → macbook

appleboy / macbook

Licence: MIT License
Some tips and command for my MacOS.

Projects that are alternatives of or similar to macbook

Unshaky
A software attempt to address the "double key press" issue on Apple's butterfly keyboard [not actively maintained]
Stars: ✭ 2,711 (+5322%)
Mutual labels:  macbook, macbook-pro
mbp-fedora-kernel
No description or website provided.
Stars: ✭ 57 (+14%)
Mutual labels:  macbook, macbook-pro
apple-bce-arch
Arch Linux package for the Apple BCE driver required for T2-equipped devices.
Stars: ✭ 24 (-52%)
Mutual labels:  macbook, macbook-pro
Mbp 2016 Linux
State of Linux on the MacBook Pro 2016 & 2017
Stars: ✭ 1,811 (+3522%)
Mutual labels:  macbook, macbook-pro
macbookpro-2015-config
My personal Gentoo config for MacBook Pro Retina 2015 13"
Stars: ✭ 40 (-20%)
Mutual labels:  macbook-pro
Lunar
Intelligent adaptive brightness for your external monitors
Stars: ✭ 2,712 (+5324%)
Mutual labels:  macbook
Chinese Lunar Calendar For Mac
Chinese Lunar Calendar for Mac
Stars: ✭ 150 (+200%)
Mutual labels:  macbook
purge-nvda
Optimize external graphics for macs with discrete NVIDIA GPUs.
Stars: ✭ 91 (+82%)
Mutual labels:  macbook-pro
writebar
Experimental distraction-free text editor, based on the Macbook pro TouchBar
Stars: ✭ 37 (-26%)
Mutual labels:  macbook-pro
Touch Bar Istats
Show CPU/GPU/MEM temperature on Touch Bar with BetterTouchTool!
Stars: ✭ 141 (+182%)
Mutual labels:  macbook
puppet-archlinux-macbookretina
UNSUPPORTED - Puppet module and accompanying documentation to install/setup Arch linux on a MacBook Pro Retina 11,4
Stars: ✭ 64 (+28%)
Mutual labels:  macbook
iOS-ARKit
Basic Concepts and Projects using ARKit on iOS.
Stars: ✭ 18 (-64%)
Mutual labels:  macbook-pro
react-device-frame
Preview website on a device
Stars: ✭ 24 (-52%)
Mutual labels:  macbook
Trackpad-Drummer
Drum with your trackpad.
Stars: ✭ 22 (-56%)
Mutual labels:  macbook
Goldenrabbit Btt
MacBook Pro touchbar custom. Perfectly Optimized BTT(Better Touch Tool) Preset.
Stars: ✭ 156 (+212%)
Mutual labels:  macbook
mbpfan
A simple daemon to control fan speed on all MacBook/MacBook Pros (probably all Apple computers) for Linux Kernel 3 and newer
Stars: ✭ 680 (+1260%)
Mutual labels:  macbook
Apple-Silicon-Guide
Apple Silicon Guide. Learn all about the M1, M1 Pro, M1 Max, and M1 Ultra chips.
Stars: ✭ 240 (+380%)
Mutual labels:  macbook-pro
TouchbarBBT
美化 Macbook Pro Touch Bar
Stars: ✭ 27 (-46%)
Mutual labels:  macbook
touch-bar
Launch the macOS Touch Bar simulator from the command-line
Stars: ✭ 43 (-14%)
Mutual labels:  macbook
gachi-touchbar
Use the Touch Bar to play Gachi sound effects
Stars: ✭ 26 (-48%)
Mutual labels:  macbook

Macbook tips

Some tips and command for MacOS.

macos

Command

Install Homebrew First

See the homepage.

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Install Bash git completion

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

How to Change Screenshot Save Location

create new folder in Desktop

mkdir ~/Desktop/screenshots/

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

Install jq command

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

Change default shell in terminal (iTerm2)

iterm2

chsh -s /bin/bash

See Use zsh as the default shell on your Mac

Tmux scrollback in terminal (iTerm2)

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

iterm2

Native Sierra-tabs on VSCode

See the issue comment

vscode 01

vscode 02

See Use tabs in windows on Mac

native tab

Change keyboard mapping for windows keyboard

See the solution.

keyboard

Change Hot keys in iTerm2

Go to iTerm Preferences → Profiles, select your profile, then the Keys tab. Click Presets... and choose Natural Text Editing. See tbe reference.

keyboard

Turn on three finger drag for your Mac trackpad

drag01 drag02

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].