• Activity
  • Votes
  • Comments
  • New
  • All activity
  • Showing only topics in ~comp with the tag "ask.recommendations". Back to normal view / Search all groups
    1. Share your personal dotfile treats and Unix tool recommendations

      I am currently preparing for a new job and cleaning up my dotfile repository. During the process, I had the idea that it would be nice to create a list of amazing tools, aliases, functions, and...

      I am currently preparing for a new job and cleaning up my dotfile repository. During the process, I had the idea that it would be nice to create a list of amazing tools, aliases, functions, and recommendations together.

      I will start.

      First, here is a list of nice tools to apt-get install or brew install that I can wholeheartedly recommend:

      • nvim is just an amazing text editor.
      • fzf is a very good fuzzy finder util. For example, you can quickly find files with it.
      • eza is a good ls replacement (and the successor of exa).
      • bat is a great replacement for cat with nice integrations and many options.
      • stow is great for managing your dotfiles. Thanks to @TangibleLight for telling me about it some while ago. I really love it.
      • tmux is a terminal multiplexer, i.e. you can have many sessions in one single terminal window. It's easy to use and super helpful. (When on a mac, I prefer iTerm tabs, though.)
      • nvm is practically a must if you are working with Node.
      • glow is an excellent markdown reader.
      • tldr is a nice man replacement. (You must run tldr -u after installing it to update available texts.)
      • z, an amazing tool for switching directories quickly.

      Also, I can recommend Oh My ZSH! which I have been using for years.

      Here is a small list of aliases I enjoy (I have 100+ aliases and I tried to pick some others may enjoy as well):

      # Serve current dir
      alias serve="npx serve ."
      
      # What's my IP?
      alias ip="curl --silent --compressed --max-time 5 --url 'https://ipinfo.io/ip' && echo ''"
      
      # This should be the default
      alias mkdir="mkdir -p"
      
      # Nice git helpers
      alias amend="git add . && git commit --amend --no-edit"
      alias nuke="git clean -df && git reset --hard"
      
      # Make which more powerful
      which='(alias; declare -f) | /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot'
      
      # This saves so many keystrokes, honestly
      alias -- +x="chmod +x"
      
      # Turns your path into a nice list and prints it
      alias path='echo -e ${PATH//:/\\n}'
      
      # Map over arguments and run a command
      # Usage: map <command>
      # Example: ls | map cat
      alias map="xargs -n1"
      

      And, finally, here are some fun functions:

      # Get cheat sheets for almost anything!
      # https://github.com/chubin/cheat.sh
      cheat() {
          WITH_PLUS=$(echo $@ | sed 's/ /+/g')
          CAT_TOOL=$(command -v batcat || command -v bat || command -v cat)
          curl "cheat.sh/$WITH_PLUS" | $CAT_TOOL
      }
      
      # Send everything to /dev/null
      nullify() {
        "$@" >/dev/null 2>&1
      }
      
      # Create a new dir and enter it
      mk() {
        mkdir -p "$@" && cd "$_"
      }
      
      # Create a data URL from a file
      # Source: https://github.com/mathiasbynens/dotfiles/blob/master/.functions
      data-url() {
      	local mimeType=$(file -b --mime-type "$1");
      	if [[ $mimeType == text/* ]]; then
      		mimeType="${mimeType};charset=utf-8";
      	fi
      	echo "data:${mimeType};base64,$(openssl base64 -in "$1" | tr -d '\n')";
      }
      
      73 votes
    2. Looking for portable keyboard recommendations: must have USB-C connectivity, not just bluetooth

      TL;DR: recommendations for a small or folding keyboard that in addition to Bluetooth, also connects directly by USB C. Hello all. I'm a contractor who does a bunch of different stuff, and one of...

      TL;DR: recommendations for a small or folding keyboard that in addition to Bluetooth, also connects directly by USB C.

      Hello all. I'm a contractor who does a bunch of different stuff, and one of the areas I occasionally do is on-site IT work.

      I'm always looking for better tools, and while I can and do keep a standard full-size USB keyboard in my van, I'd like something more space efficient that I can fit in a small toolbag. There are tons of mini and/or folding Bluetooth keyboards out there, and some of them have USB-C or mini-USB ports, but so many of them are either only for charging, or just don't tell you if you can connect to a computer by USB. Since most rack servers aren't going to have Bluetooth and I want an option that involves the least number of steps (trying to avoid a bluetooth keyboard and having to use a USB bluetooth adapter), I'd really like a mini or folding keyboard that, while it can do Bluetooth, also can connect to a computer by standard USB. I specifically want a USB C port since I'm trying to standardize my gear on that.

      Thank you everyone!

      23 votes
    3. 3840x2160 120 Hz KVM

      Can someone recommend a KVM that works? I've been looking for a couple of years now. Requirements: 2-port, 1-monitor, DisplayPort 1.4 KVM Has a wired push button switch (and cable can be extended...

      Can someone recommend a KVM that works? I've been looking for a couple of years now.

      Requirements:

      • 2-port, 1-monitor, DisplayPort 1.4 KVM
      • Has a wired push button switch (and cable can be extended if needed)
      • Runs at 3840x2160 @ 120 Hz (or 60 Hz)
      • Works with HP docking station (HP USB-C Dock G5 for business)
      • Works with Classic 101 Black Buckling Spring USB keyboard
      • Works with Logitech TrackMan Marble Trackball
      • Works with HP laptop and custom desktop build (NVIDIA T1000 GPU)

      Anti-requirements:

      • Does not intercept keystrokes (or can be disabled)
      • Does not intercept mouse scrolling (or can be disabled)
      • Does not randomly repeat keys
      • Does not block certain keystrokes (e.g., ctrl+shift+t)
      • Does not let Windows laptop go to sleep
      • Does not require manually re-waking Windows laptop by pushing power button
      • Does not require switching back-and-forth to re-establish connectivity to both computers
      • Does not take more than 3 seconds to switch between computers
      • Does not randomly blank the screen for 1 second
      • Does not require unplugging and re-plugging the USB keyboard

      Here's the setup showing both computers and the push button switch:

      I have tried:

      • IOGEAR GCS62DP (almost perfect; kills keyboard after 60 swaps; RMA'd)
      • DiamondTiger KVM Switch EDID 8K@60Hz, 4K@144Hz, DP 1.4 (repeats keys, blanks screen, has screen tearing, and many other issues)
      • CanadaComputers iCAN HDMI USB KVM Switch 2x1 with Switch Extension 4K 60Hz (completely blocks certain keystrokes)

      Wendell's Level1Techs Store offers a highly recommended KVM, yet lacks a wired toggle button.

      What other KVM switches are available that "just work" and have a wired push button for switching?

      The next KVM I'm thinking about trying:

      ATEN also has a switch, which is on par with the IOGEAR (4K @ 60 Hz, no EDID):

      6 votes
    4. Web tech job sites?

      I'm looking for recommendations for good web tech job sites, ones which are most likely to lead to interviews. While I can always do a websearch myself, I haven't done a job search for many years,...

      I'm looking for recommendations for good web tech job sites, ones which are most likely to lead to interviews. While I can always do a websearch myself, I haven't done a job search for many years, so I don't know what job sites are trustworthy or not nowadays. Working remote is almost must-have, otherwise Canada would be the region of interest.

      9 votes