content top

My vim conf

These day take long time to configure my vim environment,  finally make my vim like IDE. Share my experience here. First, this is my .vimrc let $VIMRUNTIME='~/.vim' filetype plugin indent on syntax on " load plugin, need execute before load colorscheme execute pathogen#infect() " header buffer, change your name in *.hd autocmd BufNewFile *.* call CreateFile() autocmd BufWritePre,FileWritePre *.* ks|call LastMod()|'s autocmd...

Read More

Set some Terminal Environment

Since I used to set up terminal auto bash in /etc/rc.local file but not work. Like alias, export something. I try setup another file to overwrite some stuff make my work more comfortable. This time I set some alias and path in /etc/bashrc That means when I open my terminal(any user), it will auto execute all command from /etc/bashrc. What I add is that: alias ls='ls -G' alias la='ls -a' alias ll='ls -alG' alias grep='grep...

Read More

Pain with Bad Display Config Block, Finally Fixed

I’m using GTX 560 Ti for my Hackintosh. After upgrade to 10.8.2, I cannot load the system. Since I don’t think 10.8 is stable enough, I want to change back to 10.7.4 or 10.7.5 When I’m trying to install 10.7 again, the pain things happened again. Black screen with Bad display config block, Nvidia rom patched failed. I used to unplug my graphics card and battery for 12 hours. It fixed by itself, but this time, not luck...

Read More

VMware Fusion 5 released

OSX 10.8 upgraded to 10.8.1, more stable then before. VMware Fusion upgrade to 5, tried to install OSX 10.8.1 in my Hackintosh. With some problem, not stable as real machine. Use Fusion reinstall Windows 8, stable. Unity mode is good for some program must be used in Windows, also Windows 8 looks better if only need some apps from VMware. Main system must be OSX, I cannot leave this awesome operation system.

Read More

How to Use Ramdisk in Your Mac

You can simply use command to create a ramdisk. 1 diskutil erasevolume HFS+ "ramdisk" `hdiutil attach -nomount ram://512000` This is 250 MB ramdisk, you can change 512000 to change the volume of the ramdisk. If you want to use ramdisk for your safari cache You can close the safari and run these 1 2 3 rm -rf ~/Library/Caches/com.apple.Safari mkdir /Volumes/ramdisk/com.apple.Safari ln -s /Volumes/ramdisk/com.apple.Safari/...

Read More

Share my Mac’s Apps List

Last year I bought 2011 Mac Air for learning Objective-C. Now I’m using OSX for my main environment. Most of the people who never use OSX thought “Mac is over prices, only the hardware is good and not support a lot of apps”. But most of Mac users love Mac is because the OS. So apps I use to make me think Mac is awesome. 1st: Xcode Without Xcode, your Mac is not completed. Not because you need programing something, just...

Read More
content top