ก๊วนซอฟท์แวร์ </softganz> SoftGang (Gang Software)

Web &amp; Software Developer Gang.

Move to Mac Book Pro with OS X Yosemite

by Little Bear @17 เม.ย. 58 19:56 ( IP : 49...152 ) | Tags : OSX

เพิ่งได้ Mac Book Pro with Ratina 13" มาเมื่อ 8 เมษายน 2558 กำลังอยู่ในช่วงเรียนรู้ของใหม่ เลยเก็บบันทึกการติดตั้ง ปรับแต่ง และการลงโปรแกรม ไว้เพื่อเตือนความจำของตนเอง

เริ่มต้นด้วยการทำตัวให้เป็น server

ด้วย Get Apache, MySQL, PHP and phpMyAdmin working on OSX 10.13 High Sierra สำหรับ OSX 10.10 Yosemite Get Apache, MySQL, PHP and phpMyAdmin working on OSX 10.10 Yosemite

mysql data folder : /usr/local/mysql-5.6.24-osx10.8-x86_64/data/

ln -s /Users/mysql data

tar -xzf ../mysql.tar.gz mysql/data/folder

Homebrew โปรแกรมช่วยติดตั้งแบบ apt-get ของ Ubuntu

ติดตั้ง Homebrew เสียก่อน โดย Install Homebrew เพื่อจะได้ใช้คำสั่ง brew install สำหรับลงโปรแกรมพื้นฐานของตระกูล NIX

SubLime

Sublime เป็น Editor ที่ยังไม่ได้ซื้อ http://appnee.com/sublime-text-3-universal-license-keys-collection-for-win-mac-linux/

Key ถูกลบ ไม่แสดงให้เห็น

***

วิธี Print Screen เก็บเป็นไฟล์

  • Command+Shift+3: takes a screenshot of the full screen (or screens if multiple monitors), and save it as a file to the desktop
  • Command+Shift+4: brings up a selection box so you can specify an area to take a screenshot of, then save it as a file to the desktop
  • Command+Shift+4, then spacebar, then click a window: takes a screenshot of a window only and saves it as a file to the desktop
  • Command+Control+Shift+3: take a screenshot of the entire screen (screens if multiple monitors), and saves it to the clipboard for pasting elsewhere
  • Command+Control+Shift+4, then select an area: takes a screenshot of selection and saves it to the clipboard for pasting elsewhere
  • Command+Control+Shift+4, then space, then click a window: takes a screenshot of a window and saves it to the clipboard for pasting

เปลี่ยนนามสกุลของไฟล์

defaults write com.apple.screencapture type jpg
killall SystemUIServer

ที่มา theturninggate.net

Trick

  • ไม่ชอบเลยกับไฟล์ .DS_Store ก็ How to stop creating .DS_Store on Mac?
  • เกลียดนักดับไฟล์ .DS_Store ก็ย้ายมันออกไปเสีย อย่าให้มันโผล่หน้าออกมาอีกเลยด้วย Asepsis