HN user

LostCharacter

54 karma
Posts0
Comments7
View on HN
No posts found.

Nice site! I look forward to using it in the future. One thing - when using lastpass to generate a password, it fails to fill the first password and only fills the "repeat" portion. Likewise, it fails to fill the username field for login.

If an employee is coming to you with those offers instead of just leaving for the other job, shouldn't that indicate to you that they WANT to stay, but they also want to keep their career moving forward and earn more money? Why is that unreasonable? You're sending people out the door that want to continue working for your company just because they're telling you they have better opportunities and giving you a chance to give them one, too.

Explain Shell 9 years ago

I have a little bash script I picked up somewhere that uses mankier.com to a similar effect:

  explain () {
      if [ "$#" -eq 0 ]
      then
          while read -p "Command: " cmd
          do
              curl -Gs "https://www.mankier.com/api/explain/?cols="$(tput cols) --data-urlencode "q=$cmd"
          done
          echo "Bye!"
      elif [ "$#" -eq 1 ]
      then
          curl -Gs "https://www.mankier.com/api/explain/?cols="$(tput cols) --data-urlencode "q=$1"
      else
          echo "Usage"
          echo "explain                  interactive mode."
          echo "explain 'cmd -o | ...'   one quoted command to explain it."
      fi
  }

To prevent a new browser request and to get a formatted version of the raw source in Chrome, you can open up the dev tools, go to sources, find the name of the page, and then click the curly brackets in the bottom left corner of the tools. It's still missing a good cursor implementation, though.