Skip to content

Instantly share code, notes, and snippets.

@juderosen
juderosen / debug.txt
Created February 26, 2014 00:46
Here's that debug log
Bringing machine 'default' up with 'virtualbox' provider...
[default] VirtualBox VM is already running.
Bringing machine 'default' up with 'virtualbox' provider...
[default] Importing base box 'precise32'...
[default] Matching MAC address for NAT networking...
[default] Setting the name of the VM...
[default] Clearing any previously set forwarded ports...
[default] Clearing any previously set network interfaces...
[default] Preparing network interfaces based on configuration...
@juderosen
juderosen / git-wars.md
Last active April 25, 2024 15:16
Git Wars: GitHub vs Bitbucket

Git Wars: GitHub vs Bitbucket

Introduction

Now, you might think the answer I'm going to give you is already obvious because I'm using GiHub right now, but it's not. Both GitHub and Bitbucket offer great Git services, but each has its own features and pricing plans. In the following... thing, I'm going to compare the two and then offer a final solution that should work for most people.

TL;DR: Both. Use GitHub for open source and public repos (you'll spend most of your time here) and Bitbucket for private repos. But, sign up for GitHub first, then import account into Bitbucket. Also, check comments for updates. P.S. I personally prefer GitHub.

Interface and Functionality

@juderosen
juderosen / loops.rb
Last active January 2, 2016 15:59
Various infinite loops in Ruby
# Loop
i = 0
loop do
i+=1
puts "To infinity and beyond! (#{i})"
end
# While
i = 0
while true do