macOS: Show Hide File

Terakhir diperbaharui: Jumat, 25 November 2016 pukul 16:57

To show hide file in mac, type command bellow in Terminal.


defaults write AppleShowAllFiles YES

killall Finder


defaults write AppleShowAllFiles NO

killall Finder

sumber: ianlunn

Linux: How to Make File Cannot be Deleted

Terakhir diperbaharui: Kamis, 25 Agustus 2016 pukul 15:12

The command is:

chattr +i filename

And to disable it:

chattr -i filename

From man chattr:

A file with the i attribute cannot be modified: it cannot be deleted or renamed, no link can be created to this file and no data can be written to the file. Only the superuser or a process possessing the CAP_LINUX_IMMUTABLE capability can set or clear this attribute.


source: serverfault

How to Fix File Association for Windows 7

If you ever happen all your shortcut on the desktop can not open instead open windows media player or other programs which this happened by accident, either your kids play games or another thing, you can fix this file association by download a reg file on this link.