Skip to content

Instantly share code, notes, and snippets.

View dimianstudio's full-sized avatar
🇺🇦
Слава Україні!

Dmytro Myrhorodskyi dimianstudio

🇺🇦
Слава Україні!
View GitHub Profile
# set your user tokens as enivornment variables, such as ~/.secrets
# See the README for examples.
[color]
ui = true
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
@dimianstudio
dimianstudio / gist:8869583
Last active August 29, 2015 13:56
Updating Virtual Box Guest Additions

The packaged vagrant box from Ubuntu contains outdated Virtual Box Guest Additions. Most of the time this shouldn't be a problem, but if you want to update them I recommend this procedure:

  1. Install the vagrant-vbguest plugin: vagrant plugin install vagrant-vbguest
  2. Boot the vm without provisioning: vagrant up --no-provision
  3. Login with vagrant ssh and run sudo apt-get -y -q purge virtualbox-guest-dkms virtualbox-guest-utils virtualbox-guest-x11
  4. Logout and vagrant halt
  5. vagrant up --provision

https://github.com/TryGhost/Ghost-Vagrant#updating-virtual-box-guest-additions

module Fetcher
module Base
class Processor
attr_reader :source
def initialize(source)
@source = source
@problems = []
end