How do you set up your virtual machines?

Recently the buzz of virtualization has reached my workplace where developers trying out virtual machines on their computers. Earlier I've been hearing from several different developers about setting…


iphone - How to clear a dictionary?

I'm currently doing the following to clear out an NSMutableDictionary[myDictionary release]; myDictionary=[[NSMutableDictionary alloc] init]; The release line doesn't actually release any objects…


Prevent VirtualBox Guest from Delivering Cached Files

After editing files in my development environment and saving them to my guest OS(CentOS), the Guest delivers a cached version of the edited files(.css or.js). At first I thought this was a local b…


Telnet connection to Android-x86 through VirtualBox

I successfully installed "android-x86-2.2-generic" in a VirtualBox machine. I took the iso from here: http://code.google.com/p/android-x86/downloads/detail?name=android-x86-2.2-generic.iso Everythin…


How to get total additions and deletions on a given branch for an given author in git

Is there a way in git to count the total deletions and additions for a given user on a given branch? Something like that is on github, in the graph section there is a chart that shows you the total ad…


How to access a large preview of a headless VM in VirtualBox?

I'm trying to debug a vagrant/virtualbox situation, but that is beside the point here. Whilst in headless mode, it appears to never make it to the login screen(but is fine in GUI mode). The preview…



iOS: Custom permission alert view text

Anyway to custom permission alert view like: Contacts, Photo Album, Push Notifications... before they get access, they will pop up an alert view like this: How to custom Contacts, photo album, push n…


How to run Android-x86 4.2 iso on VM VirtualBox?

I want to use Android-x86 to test and debug my App.I tried other versions of Android-x86 before successfully,but there is an erroe in about android-x86-4.2.So I ask my question here because it may be…


virtualbox - Why does vagrant use vmdk disk format as its standard package format?

I have a MacBook Air and space is a premium. I have a vagrant instance which has been growing in size from 2 GB to 8 GB. I was looking at options for reducing the disk size found a few tutorials for V…


Git diff to show only lines that have been modified

When I do a git diff, it shows lines that have been added:+this line is added lines that have been removed:-this line is removed but it also shows many lines which are not modified: this line is…




virtualbox guest windows with ubuntu mac vagrant the linux usage