macOS: Show Hide File

Terakhir diperbaharui: Jumat, 25 November 2016 pukul 16:57
Tautan: http://darto.id/77

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

Show

defaults write com.apple.finder AppleShowAllFiles YES

killall Finder

Hide

defaults write com.apple.finder AppleShowAllFiles NO

killall Finder

sumber: ianlunn

Linux: How to Make File Cannot be Deleted

Terakhir diperbaharui: Kamis, 25 Agustus 2016 pukul 15:12
Tautan: http://darto.id/9

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.