Notes
  • Notes
  • JavaScript
    • URL processing
    • Numbers
  • Python
    • python random notes
    • Python Resources
  • Setup
    • Mac Setup
  • Command Line
    • Basics
    • Linux basics
    • Bash script
    • Create temp files
    • awk
    • sed
    • make
    • ssh
    • gzip
    • Command line tools
    • ffmpeg
    • at and crontab - scheduling commands
  • Web Developement
    • Chrome Dev Tools
    • HTML
    • Markdown
    • CSS
    • Rails
    • Hugo
    • REST APIs
  • Soft Skills
    • Listening Skills
    • Public Speaking
  • Containers
  • Career
    • Resume
    • Interview
    • Promotion
    • Keeping Track of Your Work
    • Decide What to Work On
  • Ergonomics
    • Work Env Setup
    • Pain Relieve
  • Digest / Writing Ideas
    • Books
      • Antifragile
      • Anti-Intellectualism in American Life 美国的反智传统
    • Economy / Society
    • How to spend your time
    • Life
    • Higher education
  • Misc
    • Regex
    • Don't Make Me Think
    • Microsoft Excel
    • AdTech 101
  • Resources
    • web
    • Vim
    • Tools
    • System Design
    • Design Pattern
    • Load Balancer
    • References
    • Hardware
    • Algorithm Resources
    • Command Line Resources
  • Git
    • Pro Git
  • Non-Tech
    • 化学科普 - 拿破仑的纽扣
    • 人生经验 - If I Knew Then
    • 哲学
      • Harvard - Justice
    • 宗教
      • Introduction to the New Testament History and Literature
      • 蔡志忠 - 漫画东方圣经
    • 人文
      • Open Yale Course - 心理学导论
  • Spark
  • VS Code
Powered by GitBook
On this page

Was this helpful?

  1. Resources

Tools

PreviousVimNextSystem Design

Last updated 5 years ago

Was this helpful?

Tmux

tmux: Peter Jang official endorsed: official endorsed: official endorse book: iTerms2 integration tmux 2 book

tmux外貌

tmux?? iTerms integration with tmux iTerms more windows in one tab, save window arrangement

iTerms2 autocomplete (input start of word, then)⌘;

iTerms 2 tricks

Notes

Vimium in page navigation: j/k go down / up d/u go down / up by half of page gg: go to top of page G: go to bottom of page f: open link in current tab F: open link in background tab H/L: go back and forth in history J/K: go left and right in tabs

o: quick open google/history O: open in new tab b: open bookmark B: open bookmark in new tab T: search in open tabs

?: help r: reload gs: read source i: insert mode yy: copy current url

/: find t: create tab x: close tab

Mac OS X Productivity Tips for Developers

ctrl +a/e: go to beginning/end of line. also works in MacOS. ctrl + u/k delete from cursor to beginning/end of line command + r: refresh terminal delete one line: first ctrl+a, then ctrl+k ctrl + w: erase word to left ctrl + t: transpose/exchange characters around cursor

iTerms 2: swiching tabs: commang + left/right GitHub tools: tig: text based graph for git; hub gem: create PR in command line Bash prompt: PS1

text file format: markdown, asciidoc for a book (.asc)

spotlight search: name: kind: date:today date: >1/1/08 AND NOT OR hold command key, it shows the directory. hold command + double click or enter: open the folder

Finder command+shift+n: new folder command+alt+v: moves file from pasteboard command+d: = make more copies tabs: show next tab: ctrl + tab. show previous tab: ctrl + shift + tab command + i: inspect

spotlight search: tag:github AND apple

special characters / emoji: ctrl + command + space

curl curl -I url #just show me the response header: send a Http GET in the header, X-attributes: non-standard extension. curl url # returns the body of response: send a http GET. can change the verb as well

wget for files: wget url

Shell tune-ups echo $SHELL /bin/bash

dotfiles on GitHub
    @pengwynn @holman
dotfiles.github.io
https://www.kawabangga.com/posts/2432

command + `: switch windows for the same application command + ,: go to setting of that app command + ?: search help app switcher: cmd + tab, then down: see all windows from that app. hit q: quit screenshot: command shift 3. add ctrl will copy the screenshot to clipboard screenshot selection: command shift 4. hit space bar to select between apps. after dragging, hold the spacebar to move the selection around.

annotate with preview. record video using quickplayer

applescript automation: script GUI applications, when the application expose the control to applescript

Automator: can add steps or just “record”

cd - : toggle between last two directories git checkout -: toggle between two branches

right click on icon: shows the path. can drag into terminal, “where” in the save dialog. in finder: type path: command + shift +g: type the path: auto-completion enabled

command + F1: toggle mirror display ctrl + alt + command + 8: invert color

search a recent command ctrl + r, then type

paste: cmd + alt + v command shift tab icons

hold alt, right click, see the files total size

Google doc: ⌘← Move to beginning of line (stops on whitespace) ⌘→ Move to end of line ⌘↑ Move to beginning of file ⌘↓ Move to end of file ⇧-move Select text ⌘F Find ⌥+⌫ and ⌘+⌫ are the shortcuts for deleting a word and deleting a line respectively.

Chrome: ⌘ + number: jump to tab

quicklook (space in Finder)

pasteboard command line pbcopy/pbpaste curl -I | pbcopy pbpaste # run the command

shells: fish (not POSIX)

oh my zsh switching to zsh

caffeine GUI set a screensaver for security reasons caffeinate: command line

window management: specticle (alternative slate )

z command (better cd): e.g. z Down smart complete: frecency: frequency and recency

https://segmentfault.com/a/1190000008188987
https://medium.com/actualize-network/a-minimalist-guide-to-tmux-13675fb160fa
https://github.com/tmux/tmux/wiki
https://www.hamvocke.com/blog/a-quick-and-easy-guide-to-tmux/
https://robots.thoughtbot.com/a-tmux-crash-course
https://leanpub.com/the-tao-of-tmux/read
https://www.iterm2.com/documentation-tmux-integration.html
https://hackernoon.com/a-gentle-introduction-to-tmux-8d784c404340
https://www.safaribooksonline.com/library/view/tmux-2/9781680502374/
https://www.kawabangga.com/posts/2557
http://louiszhai.github.io/2017/09/30/tmux/
https://www.kancloud.cn/kancloud/tmux/62459
https://linuxize.com/post/getting-started-with-tmux/
https://news.ycombinator.com/item?id=17998649
https://www.kawabangga.com/posts/2477
http://pmihaylov.com/tmux-terminal-multiplexer/
https://coderwall.com/p/h6yfda/use-and-to-jump-forwards-backwards-words-in-iterm-2-on-os-x
https://coderwall.com/t/iterm2/popular
https://github.com/philc/vimium/blob/master/README.md
https://github.com/matthewmccullough/MacOSXProductivityTips/blob/master/Resources.md
https://www.safaribooksonline.com/library/view/mac-os-x/9781491945476/
https://github.com/git/git/blob/master/contrib/completion/git-prompt.sh
https://github.com/sindresorhus/quick-look-plugins
http://www.google.com
https://fishshell.com/
https://github.com/robbyrussell/oh-my-zsh
http://zpalexander.com/switching-to-zsh/
http://lightheadsw.com/caffeine/
https://github.com/jigish/slate
https://github.com/rupa/z