- NTFS Support
- Install ntfs-3g-2010.10.2-macosx.dmg & Restart
- If it throws error, Install macfuse-core-10.5-2.1.9.dmg
- Hide Apps from Application Switcher
- Sometime you want to hide application e.g. torrent client activity when pressing Cmd+Tab
- Add the following in the respective Info file. E.g. In /Applications/uTorrent.app/Contents/Info.plist
- <key> LSUIElement </key> <string> 1 </string>
- Default Vim Syntax Highlight
- echo "syntax on" >> ~/.vimrc
- Default color Theme
- echo "colo desert" >> ~/.vimrc
- Default intend
- echo "filetype plugin indent on" >> ~/.vimrc
- ntfs support in mac
- Create /etc/fstab and write
- LABEL=DRIVE_NAME none ntfs rw,auto,nobrowse
- It is ready. However, If finder doesn't show in finder, use open DIR_NAME
Showing posts with label mac. Show all posts
Showing posts with label mac. Show all posts
Monday, September 7, 2015
Mac Tricks & Hacks
All Blogs :
http://timir126.blogspot.com
http://vishnu-agarwal.blogspot.com
http://jobkeeper.blogspot.com
http://gethouse.blogspot.com
http://vishnu-lamp.blogspot.com
Wednesday, January 2, 2013
Hacking Mac : Useful installations & shortcuts
Some of the software usually you'll love to have:
Mac Installers:
In Mac Terminal:
Some shorcuts:
Mac Installers:
- iSync (not available for Mountain Loin)
- Adobe Reader
- Adobe flash player
- Adobe Air
- Twhirl
- Evernote
- OneNote
- Picasa
- Adium
- Alfred
- Skype
- Chrome
- VLC
- Keepassx
- X11 and XQuartz (Macport)
- MySQL (mysql/php configuration)
- Skitch
- Sublime 2
- SilverLight
- ImageMagick
- Ntfs-3G
- Java & eclipse
- GreaseMonkey / TemperMonkey Script - firefox/chrome
- Install .dmg from Command Line : hdiutil mount cotvnc-20b4.dmg
In Mac Terminal:
- ls -lSr : list files (-S for sort by size)
- cd - : to swap directories to the previous working directory
- for f in *.txt;do echo $f;done : Looping over a set of files
- find . –name "*.txt" –mtime 5 : files & folders modified in the last 5 days
- rename –v 's/foo/bar/g' * : Rename files using regular expressions
- mv /path/to/file.{txt,xml} #rename just part of a filename
- cp /etc/rc.conf{,-old} #Backup of the file
- sudo !! #represent the last command you ran
- mkdir my{1,2,3} #will create my1,my2 & my3 folders
- Bash Shortcut
- Ctrl + U: Clears the line from the cursor point back to the beginning.
- Ctrl + A: Moves the cursor to the beginning of the line.
- Ctrl + E: Moves the cursor to the end of the line
- Ctrl + R: Allows you to search through the previous commands.
- Using Alias : Some useful examples
- alias agi='sudo apt-get install'
- alias emp='cd /usr/local/mysql/data/employee'
- alias grep='grep --color'
- alias ls='ls –l' # if you always wanted ls to actually do ls –l
Some shorcuts:
- Shift + Command + I : Compose outlook
- Shift + Command + N : New Folder
- Shift + Command + 4 : Screen Capture
- Command + Alt + D : Dock Hide / Unhide
- Command + Alt + Esc : Force Quit
- Command + M : Minimize
- Command + H : Hide
- Command + D : Clone in finder
- Command + Q : Quit
- Command + I : File Info
- Command + S/C/V : Save/Copy/Paste
- Command + Delete : Delete
- Enter / Return : Rename
- Space : Quick Info
- Command + Space : Spotlight
- Delete : Backspace
- Delete + fn : Delete
- Command + Z : Undo
- Command + Shift + Z : Undo
- Command + Left : beginning of line
- Command + Left : Ending of line
- Alt + arrow : jump by word
- Command + Alt + I : Inspector in Browser
- Shift + Ctrl + arrow: Word selection
- ctrl + arrow : Desktop switch
- Lock Screen : Enable Hot Corner
All Blogs :
http://timir126.blogspot.com
http://vishnu-agarwal.blogspot.com
http://jobkeeper.blogspot.com
http://gethouse.blogspot.com
http://vishnu-lamp.blogspot.com
Subscribe to:
Posts (Atom)