Skip to content

Instantly share code, notes, and snippets.

Ogredude ogredude

Block or report user

Report or block ogredude

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:5193977
aegir@aegir:~$ drush hostmaster-install aegir.DOMAIN.com --aegir_host="aegir.DOMAIN.com" --http_service_type="nginx" --aegir_db_user="root" --aegir_db_pass="DBPASSWD" --db_service_type="mysql" --db_port=3306 --aegir_db_host="192.168.0.14" --client_email="aegir@DOMAIN.com" --script_user="aegir" --web_group="www-data" --profile=hostmaster
Aegir 6.x-1.9 automated install script
==============================================================================
Some settings have not been provided and will now be prompted.
Don't worry: you will get to review those settings after the final install
This script will operate the following changes in your system:
1. Create server-level configuration directories
2. Download drush_make
View Install command
drush hostmaster-install aegir.MYDOMAIN.com --aegir_host="aegir.MYDOMAIN.com" --http_service_type="nginx" --aegir_db_user="root" --aegir_db_pass="MYPASSWORD" --db_service_type="mysql" --db_port=3306 --aegir_db_host="192.168.0.14" --client_email="aegir@MYDOMAIN.com" --script_user="aegir" --web_group="www-data" --profile=hostmaster
View index.html.erb
<%= form_tag offers_path, :method => :get, :class => "form-inline form-search" do %>
<fieldset>
<legend>Search Options</legend>
<label class="control-label" for="trip_type">Trip type: </label>
<select name="trip_type" class="input-small">
<option value="">Any</option>
<option value="single">Single</option>
<option value="multiple">Multiple</option>
</select>
<label class="control-label" for="nearby_radius">Within </label>
View crash-2013-03-12_21.23.11-client.txt
---- Minecraft Crash Report ----
// This doesn't make any sense!
Time: 3/12/13 9:23 PM
Description: Unexpected error
java.lang.IllegalStateException: Already tesselating!
at baz.b(Tessellator.java:504)
at baz.b(Tessellator.java:494)
at bau.renderItemIn2D(ItemRenderer.java:186)
@ogredude
ogredude / spec_helper.rb
Created Feb 21, 2013
in spec_helper.rb
View spec_helper.rb
VCR.configure do |c|
c.cassette_library_dir = 'spec/fixtures/cassettes'
c.hook_into :fakeweb
# c.default_cassette_options = {:match_requests_on => [:method, VCR.request_matchers.uri_without_params(:address, :language, :sensor)]}
c.default_cassette_options = {:record => :new_episodes}
c.configure_rspec_metadata!
c.ignore_localhost = true
end
@ogredude
ogredude / rake output
Created Feb 19, 2013
rake assets:precompile is made of fail.
View rake output
ogredude@ogredude.com [~/ogredude]# RAILS_ENV=production bundle exec rake assets:precompile
/usr/bin/ruby /home/ogredude/ogredude/vendor/bundle/ruby/1.8/bin/rake assets:precompile:all RAILS_ENV=production RAILS_GROUPS=assets
rake aborted!
0.3 is not a color for `alpha'
(in /home/ogredude/ogredude/vendor/bundle/ruby/1.8/gems/comfortable_mexican_sofa-1.6.0/app/assets/stylesheets/comfortable_mexican_sofa/application.css)
(sass):1483
/home/ogredude/ogredude/vendor/bundle/ruby/1.8/gems/sass-3.1.12/lib/sass/../sass/script/funcall.rb:97:in `_perform'
/home/ogredude/ogredude/vendor/bundle/ruby/1.8/gems/sass-3.1.12/lib/sass/../sass/script/node.rb:40:in `perform'
/home/ogredude/ogredude/vendor/bundle/ruby/1.8/gems/sass-3.1.12/lib/sass/../sass/tree/visitors/perform.rb:216:in `visit_prop'
/home/ogredude/ogredude/vendor/bundle/ruby/1.8/gems/sass-3.1.12/lib/sass/../sass/tree/visitors/base.rb:37:in `send'
View server-synergy.sgc
section: screens
Paradox:
halfDuplexCapsLock = false
halfDuplexNumLock = false
halfDuplexScrollLock = false
xtestIsXineramaUnaware = false
switchCorners = none
switchCornerSize = 0
Fish-n-Chips.local:
halfDuplexCapsLock = false
View invitations_spec.rb
require 'spec_helper'
feature "New invitation" do
let!(:user) { Fabricate(:user) }
background do
reset_mailer
user.activate!
activate_authlogic
sign_in user
View global.css
/* Let's color the menu now */
#block-system-main-menu ul.menu li a,
#block-system-main-menu ul.menu li + li + li + li + li + li + li + li a {
color: #da2128;
}
#block-system-main-menu ul.menu li + li a,
#block-system-main-menu ul.menu li + li + li + li + li + li + li + li + li a {
color: #70c5d0;
}
You can’t perform that action at this time.