Skip to content

Instantly share code, notes, and snippets.

View jibone's full-sized avatar
🧑‍💻
Locked In

J Shamsul Bahri jibone

🧑‍💻
Locked In
View GitHub Profile
@jibone
jibone / VBoxHeadless VBoxManage
Created March 5, 2012 11:21
Create, modify, start and stop a VBoxHeadless
# Create a VBox VM #
====================
VBoxManage createvm --name "Ubuntu 10.10 Server" --register
VBoxManage modifyvm "Ubuntu 10.10 Server" --memory 256 --acpi on --boot1 dvd --nic1 bridged --bridgeadapter1 eth0
VBoxManage createhd --filename Ubuntu_10_10_Server.vdi --size 10000
VBoxManage storagectl "Ubuntu 10.10 Server" --name "IDE Controller" --add ide
VBoxManage storageattach "Ubuntu 10.10 Server" --storagectl "IDE Controller" --port 0 --device 0 --type hdd --medium Ubuntu_10_10_Server.vdi
VBoxManage storageattach "Ubuntu 10.10 Server" --storagectl "IDE Controller" --port 1 --device 0 --type dvddrive --medium /home/ubuntu-10.10-server-amd64.iso
@jibone
jibone / .vimrc
Created March 5, 2012 03:29
My .vimrc file...
set tabstop=4
set softtabstop=4
set shiftwidth=4
" textmate like set invisibles.
" ctrl-v u25b8 for ▸ and ctrl-v u00ac for ¬
set listchars=tab:▸\ ,eol:¬
set list
set nohls