Readit News logoReadit News
captainhat commented on Starting Sunday, cable companies can no longer ‘rent’ you the router you own   theverge.com/2020/12/19/2... · Posted by u/pseudolus
cronix · 5 years ago
I already got the email from Comcast last week that they were raising rates. Now I know why.
captainhat · 5 years ago
Many ISPs use limited-duration promotional rates to sign up new customers, after which a discounted rate returns to a higher rate. We can debate the pros/cons of that practice as a marketing tactic, but that's not the same as the unfair charging practice described in the article. As far as I know, Comcast does not engage in forcing customers to rent equipment.
captainhat commented on Mac keyboard shortcuts   support.apple.com/en-us/H... · Posted by u/tosh
Exuma · 5 years ago
I highly recommend everyone learn the readline keys. They apply everywhere, in chrome, messengers, etc. They're the most valuable hotkeys that I've learned other than learning vim.

I set them as the Message Of The Day in my .zshrc (or .bashrc if you don't use zsh) until I memorized them. <c-f> is genric formatting for hotkeys, where c stands for control and you type "f" at same time.

IMPORTANT: For these to be level extremely effective you MUST REMAP your caps lock key to a control key. System Prefs > Keyboard > Modifier Keys button at bottom right

    # MOTD
    function echo_color() {
      local color="$1"
      printf "${color}$2\033[0m\n"
    }
    echo_color "\033[0;90m" "c-f  Move forward"
    echo_color "\033[0;90m" "c-b  Move backward"
    echo_color "\033[0;90m" "c-p  Move up"
    echo_color "\033[0;90m" "c-n  Move down"
    echo_color "\033[0;90m" "c-a  Jump to beginning of line"
    echo_color "\033[0;90m" "c-e  Jump to end of line"
    echo_color "\033[0;90m" "c-d  Delete forward"
    echo_color "\033[0;90m" "c-h  Delete backward"
    echo_color "\033[0;90m" "c-k  Delete forward to end of line"
    echo_color "\033[0;90m" "c-u  Delete entire line"
Imagine you want to go up 2 lines to edit a HN comment. You could move your right hand to arrow key, or you can simply press caps with your pinky and type "p" with your other pinky. So much faster! Now you can see why these are so effective, and are really my favorite.

Note that as you start to use these you will be pleased to see they apply in a lot of applications. For example, type command+L in chrome to jump to the address bar and highlight it, now type "news" in the address bar. The autocomplete dropdown will pop up. Now type control+n (readline move down) and you can scroll through the list.

I'm obsessed with optimizations and efficiency and the 2 things mentioned above are the absolute gems. Also, I highly recommend: https://medium.com/vunamhung/set-a-blazingly-fast-keyboard-r...

`0` is a little to fast for me so I prefer speed `1` and it's perfect.

captainhat · 5 years ago
"c-u" only works in the terminal.

u/captainhat

KarmaCake day2July 21, 2020View Original