Lovely music video, yes, life is wonderful.
分類彙整: 未分類
Flush local DNS cache on a browser and local system
Browser(application) level:
For Google Chrome/Chromium, open the link below:
chrome://net-internals/#dns
and click “Clear host cache“
For Firefox, open the link below:
about:config
then click “I’ll be careful, I promise!“,
and find network.dnsCacheExpiration, set its value to 0 (create one if it didn’t exist).
Now the cache should be flushed, and set network.dnsCacheExpiration back to 3600, or you the cache will not work at all.
Operating system level:
- Windows:
ipconfig /flushdns
- Linux:
Depends on the dns service you are using:sudo systemd-resolve --flush-caches
sudo /etc/init.d/dns-clean restart
sudo /etc/init.d/nscd restart
sudo /etc/init.d/dnsmasq restart
sudo /etc/init.d/named restart
- macOS (> v10.5):
dscacheutil -flushcache
apache2 RedirectMatch in .htaccess
It’s the most easiest way to redirect from old site to new site for me:
RedirectMatch 301 ^/(.*) http://host.name/$1
Manage iPod player on Linux
I have a 3rd generation iPod nano player, and I wonder if there is a solution for iPod, I but didn’t notice that the default media player on my notebook (LinuxMint mate 17.1) – Banshee has this feature, looks okay!
Some other tools to manage iPod on Linux can be found here:
How to Manage an iPod in Linux
http://www.wikihow.com/Manage-an-iPod-in-Linux