Pacific-Design.com

    
Home Index

1. Linux

2. Mac OS

+ 3rd-Party

+ Concurrency

+ Config

+ Install

+ MacPorts

+ MySQL

+ Screenshot

+ Sequel Pro

+ Terminal

+ iPhone

Linux / Mac OS /

Apple II

## Capture Screen File Type
$ defaults write com.apple.screencapture type jpg 
$ defaults write com.apple.screencapture type png
$ defaults write com.apple.screencapture type pdf

## Encryption / Decryption
$ openssl enc -aes-256-cbc -e -in /Users/kevinduraj/document.pdf -out /Users/kevinduraj/document-enc.pdf
$ openssl enc -aes-256-cbc -d -in /Users/kevinduraj/document-enc.pdf  -out /Users/kevinduraj/document.pdf

## Sleep
$ caffeinate
$ caffeinate -u -t 72000

## Update Locate
$ sudo /usr/libexec/locate.updatedb 

## Copy File To Clipboard
$ pbcopy < .gitrc