Setup development environment on OSX

Posted by 4Aiur on 2015/01/21 in MacOSX |

Setup development environment on OSX Install Homebrew on your laptop ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)” Install some packages you like cat > Caskfile <<\EOF # Install Cask install caskroom/cask/brew-cask # Install Casks cask install alfred cask install caffeine cask install virtualbox cask install boot2docker cask install google-chrome cask install iterm2 cask install sequel-pro EOF export […]

Tags:

Mac OS X 贴士汇聚

Posted by 4Aiur on 2012/02/10 in MacOSX |

Mac OS X tips Find & Scan Wireless Networks from the Command Line in Mac OS X sudo ln -s /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport /usr/sbin/airport airport -s Reindexing Spotlight from the Command Line Reindexing Spotlight from the command line is done with the mdutil tool, first launch Terminal and then type: sudo mdutil -E / This will reindex […]

Tags: ,

Setup Workspace On Mac OS X Lion

Posted by 4Aiur on 2012/01/19 in MacOSX |

Setup Workspace On Mac OS X Lion Software Update Click Apple () menu, choose Software Update Change System Preferences Click Apple () menu, choose System Preferences Trackpad Tap to click Scroll direction: natural Mouse Adjust Tracking Speed to max Keyboard Keyboard Shortcuts Full Keyboard Access: In windows and dialogs, press Tab to move keybiard focus […]

Tags:

Binding Multiple IP Addresses on the Same Network Interface

Posted by 4Aiur on 2012/01/13 in MacOSX |

Binding Multiple IP Addresses on the Same Network Interface Add new address

Remove alias address

Tags:

MacOSX Services使用技巧

Posted by 4Aiur on 2011/02/23 in MacOSX |

MacOSX Services使用技巧 在MacOSX中利用Services快速完成某些工作,下面我举几个小例子演示一下。 简繁字转换 在文本编辑器中选中需要转换的文字后点击桌面左上角的编辑器名 -> Services -> Text -> Convert Selected Simplified Chinese Text 快速把文档当作附件发送 在Finder中选中文件后点击桌面左上角的Finder -> Services -> Messaging -> New Email With Attachment 使用Textmate打开文件夹 打开Automator新建Service,在Actions中搜索Open Finder Items,双击或者把“Open Finder Items”拖动到右边,在右边的Open with:中选中Textmate,保存为Open in TextMate。 之后有需要新项目需要用TextMate打开,就可以直接掉用Services了。 Finder -> Services -> Files and Folders -> Open in TextMate 附: Textmate官网提供了一个Finder中的Toolsopen in textmate from finder,用这个工具也挺方便的。 安装好后在Finder中选中要打开的Folder,点击OpenInTextMate即可。

Tags: , ,

Install GetBundles

Posted by 4Aiur on 2011/01/10 in MacOSX |

Install GetBundles 管理TextMate Bundle的工具,方便查找、安装、更新TextMate Bundle的工具。

Tags: ,

MacOSX使用opensnoop跟踪进程使用情况

Posted by 4Aiur on 2010/09/28 in MacOSX |

MacOSX使用opensnoop跟踪进程使用情况 opensnoop参数如下:

Tags:

清除本机dns缓存的方法

Posted by 4Aiur on 2010/04/06 in MacOSX, SysAdmin |

清除本机dns缓存的方法 Windows下使用ipconfig/release, ipconfig/renew命令 Mac OS X使用dscacheutil -flushcache命令

Tags:

防止Mac Os X使用dhcp时修改hostname的方法

Posted by 4Aiur on 2010/04/06 in MacOSX |

防止Mac Os X使用dhcp时修改hostname的方法 在/etc/hostconfig中增加HOSTNAME项,这样可以阻止使用dhcp时,hostname经常被更改的问题。 使用命令行的方式修改

或者直接编辑配置文件

在桌面上修改hostname的方法: Launch ‘System Preferences’ Click the ‘Sharing’ icon Type in what you want your Mac’s new computer name to be

Tags: ,

Copyright © 2010-2017 4Aiur All rights reserved.
This site is using the Desk Mess Mirrored theme, v2.5, from BuyNowShop.com.

.