Skip to content

Instantly share code, notes, and snippets.

Majority rule and assuring the common good is served are two important concepts to democratic decision making. Majority rule ensures that the majority of society's members support a decision. This follows the principle that society is more likely to be happy with the decision and will most likely serve the common good. If the common good is not being served it would mean a large portion of the community is unhappy with decisions being made and decision making is no longer "by the people." When a decision is made for the common good with a supporting majority, people believe that either their ideas matter or that they were at least taken into account and beaten by the numbers. For a democratic decision making process which makes it's members content, the common good must be served and majority rule implemented.
1 ~/Dropbox/Development/robotics$ cd app/assets/stylesheets/
2 ~/Dropbox/Development/robotics/app/assets/stylesheets$ wc -l *
45 active_admin.css.scss
74 albums.css.scss
296 application.css.scss
33 feedbacks.css.scss
75 general.css.scss
59 medium.css.scss
75 menu.css.scss
13 photos.css.scss
diff --git a/app/assets/javascripts/application.js b/app/assets/javascripts/application.js
index ab712a2..ab86687 100644
--- a/app/assets/javascripts/application.js
+++ b/app/assets/javascripts/application.js
@@ -59,6 +59,10 @@ $(function() {
hideLightbox();
});
+ $("#lightbox-alternate-close").click(function() {
+ hideLightbox();
43 ~/Dropbox/Development/robotics$ git c "Browser compatibility fixes and site improvements.
>
> Passed event object to certain callbacks.
> Explicitly parsed JSON from GET requests.
> Pulled jQuery from a CDN.
> Added a bold version of Droid Sans.
> Local version of the FRC logo (properly rasterized, anti-aliased)."
commit 4c4385126d39404ba7174a136b9573bd8c650abc
Author: Andrew Horsman <minirobotics@gmail.com>
Date: Sat Nov 5 17:32:59 2011 -0400
Design improvements and new features.
Increased word spacing on header (readability).
Increased right side padding on sidebar.
Added sitemap.
Added printer/reader friendly view.
authentication[:oauth_signature] = Base64.encode64(OpenSSL::HMAC.digest("sha1", @secret, signature_base)).strip
# Google Calendar access w/ Data API
# OAuth authentication.
require "sinatra"
require "excon"
require "cgi"
require "base64"
require "openssl"
require "digest/hmac"
require "json/pure"
require "pp"
require "oauth"
key = "secret"
secret = "secret"
consumer = OAuth::Consumer.new(key, secret, {
:site => "http://www.google.com",
:request_token_path => "/accounts/OAuthGetRequestToken",
:access_token_path => "/accounts/OAuthGetAccessToken",
Unit 1 Key Questions
1
(5x + 3)^2 - (4x + 1)(6 - x)
=25x^2 + 30x + 9 - (24x - 4x^2 + 6 - x)
=25x^2 + 30x + 9 - 24x + 4x^2 - 6 + x
= 29x^2 + 7x + 3
2
a
require "test/unit"
require "turn"
class Token < Struct.new(:value, :prec, :type); end
class Lexer
def initialize(string)
@string = string
parse
end