Category: Technology

Remove Chrome autocomplete URL

  • Go to Chrome’s location bar (CTRL + L)
  • Type part of URL that you want to remove from autocomplete
  • Highlight entire URL (CTRL + A)
  • Press CTRL + DELETE to remove the entry

The Silver Searcher

A code searching tool similar to ack, with a focus on speed.

  • It is an order of magnitude faster than ack.
  • It ignores file patterns from your .gitignore and .hgignore.
  • If there are files in your source repo you don’t want to search, just add their patterns to a .ignore file. (*cough* *.min.js *cough*)
  • The command name is 33% shorter than ack, and all keys are on the home row!

Disable Linux proxy

View environment variables that contain ‘proxy’:
# env | grep -i proxy

This should display something as follows (if a proxy server is set)

Unset the variable that you found above (variable is case-sensitive)
# unset http_proxy

View environment variables again and ensure the proxy was successfully removed
# env | grep -i proxy

Hide Linux shell history

Sometimes you need to temporarily disable Linux shell history. This is particularly handy if you are typing in passwords. One method to disable history is: unset HISTFILE