Thứ Tư, 17 tháng 6, 2015

Text Navigation Shortcuts

The first group of keyboard shortcuts allow for quickly moving around text:
  • Jump to beginning of a line – Command+Left Arrow
  • Jump to end of a line – Command+Right Arrow
  • Jump to beginning of current word – Option+Right Arrow
  • Jump to end of current word – Option+Right Arrow
  • Jump to beginning of all text – Command+Up Arrow
  • Jump to end of all text – Command+Down Arrow

Chọn văn bản và chữ trên mac os x

Có thể dùng các phím tắt sau để chọn văn bản chữ trên mac os x

Chọn văn từ vị trí chuột tới cuối dòng  (Shift + Command + mũi tên trái)
Chọn văn từ vị trí chuột tới đầu dòng  (Shift + Command + mũi tên bên phải)
Chọn kế tiếp từ  (Shift + Option + Mũi tên phải)
Chọn một từ bên trái  (Shift + Option + Mũi tên phải)
Chọn tất cả văn bản từ vị trí chuột lên trên (Shift + Command + mũi tên lên)
Chọn tất cả văn bản từ vị trí chuột lên xuống  (Shift + Command + mũi tên xuống)

Thứ Tư, 7 tháng 1, 2015

How can I install photoshop cs6 on ubuntu 14.04?

Step 1. Install the Wine Team Ubuntu PPA
First start by installing Wine btw it's a utility to install windows apps in linux :
open the Terminal and :
   sudo add-apt-repository ppa:ubuntu-wine/ppa     
   sudo apt-get update && sudo apt-get upgrade
   sudo apt-get install wine1.7 winetricks
Step 2. Using winetricks to get install dependencies for Photoshop CS6
Now that we have the most recent build of wine, we can get started on fetching the necessary build packages to run the Photoshop installer.
Here’s the command to issue and pull those dependencies
winetricks atmlib gdiplus msxml3 msxml6 vcrun2005 vcrun2005sp1 vcrun2008 ie6 fontsmooth-rgb gecko
If a few errors pop-up, don’t worry – chances are this install will still work.
Step 3. Running the Photoshop CS6 installer
Now that you have all dependencies required to run Photoshop CS6, you can now run the Adobe setup. Either right click Setup.exe, or from the terminal:
   cd /home/user/path/to/installer    
   wine Set-up.exe
If everything worked as intended, you are now done. Photoshop should install like any other program via wine – It should even automatically appear in your programs list!

Thứ Ba, 2 tháng 12, 2014

Tìm hiểu và bắt đầu với gruntjs

 Bắt đầu với GruntJS

Grunt và Grunt Plugin được cài đặt và quản lý thông qua npm (node packaged module), một trình quản lý gói của Node. Grunt 0.4.x yêu cầu phiên bản ổn định Node.js >=0.8.0. Phiên bản cũ hơn của Node.js được xem các bản phát triển không ổn định.

Trước khi cài đặt Grunt chắc chắn rằng npm được cập nhật phiên bản mới nhất với câu lệnh npm update -g npm (trên một số hệ thống bạn cần dùng câu lệnh sudo vào đầu.)

Cài đặt Grunt-cli