转: 走出迷茫的方法

「走出迷茫的方法」1.先处理心情,再处理事情;2.最困难的时候,就是最接近成功的时候;3.不为模糊不清的未来担忧,只为清清楚楚的现在努力;4.宽容他人对你的误解;5.不要无缘无故的妒忌;6.只为成功找方法,不为失败找借口;7.不要看失去什么,只看还拥有什么;8.用最放松的心态对待一切艰难!

Linux Mint Problem with MergeList

Problem with MergeList /var/lib/apt/lists/packages.linuxmint.com_dists_olivia_main_i18n_Translation-en, E:The package lists or status file could not be parsed or opened.

Solution:

sudo rm /var/lib/apt/lists/* -vf

sudo apt-get update

Protect your SSD in Ubuntu

ref: https://sites.google.com/site/easylinuxtipsproject/ssd

sudo apt-get install leafpad

  • Change BIOS and UEFI: set it to AHCI instead of IDE (BIOS -> Advanced -> Integrated Peripherals)
  • Updated firmware.
  • Reserve 10 percent for overprovisioning (unused space)
  • Use EXT4
  • Automatic TRIM: by rc.local
    •  – In terminal, run sudo gedit /etc/rc.local
    •  – Above the line exit 0 in that file, add the TRIM command “fstrim -v” for every automatically mounted EXT4 partition.
    •  – for example: for trim root, add “fstrim -v /”. For trim seperate home partition, add “fstrim -v /home” and “fstrim -v /”
    •  – note: not for partitions that aren’t mounted by default. And also not for the swap partition.
    •  – save and reboot.
  • Limit Oracle Java the write actions of the Java plugin:
    • – launch the Java Control Panel – Tab General:
    • – Temporary Internet Files – Settings…
    • – Remove the tick for: Keep temporary files on my computer.
  • Do NOT enable hibernation