I hereby claim:
- I am slottermoser on github.
- I am slottermoser (https://keybase.io/slottermoser) on keybase.
- I have a public key whose fingerprint is 02A7 9A3F 7755 F070 BA9D 3DA1 8619 4243 4084 A3FA
To claim this, I am signing this object:
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env ruby | |
def load_json_gem | |
if `gem list json -i`.chomp! == "false" | |
puts "Installing json gem..." | |
`sudo gem install json` | |
load_json_gem | |
else | |
require 'rubygems' | |
require 'json' |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>KeepAlive</key> | |
<true/> | |
<key>Label</key> | |
<string>homebrew.mxcl.mysql</string> | |
<key>ProgramArguments</key> | |
<array> |
if status --is-interactive | |
set -gx PATH ~/bin /usr/local/bin ~/Applications/ $PATH; | |
end | |
# My colors | |
set -g fish_color_autosuggestion 444444 | |
set -g fish_color_command cyan | |
set -g fish_color_comment red | |
set -g fish_color_cwd cyan | |
set -g fish_color_cwd_root red |
# on-the-fly authentication: create the user if the user doesn't already exist. | |
self.authentication_methods << proc do |username, password| | |
user = find_by_username(username) | |
if user.nil? | |
user = User.create(:username => username, :password => password) | |
user.save | |
user | |
end | |
end |
After running vagrant up
and logging into the box with vagrant ssh
You'll want to edit /vagrant/gitlabhq/config/gitlab.yml
to your dedired settings for your dev environment, as well as change the default user to the vagrant
user as the default git
user does not exist:
# Uncomment and customize if you can't use the default user to run GitLab (default: 'git')
user: vagrant